For Agents
Resolve any IPv4 or IPv6 address to country, region, city, timezone, currency, and language using a single Abstract endpoint authenticated by an api_key query parameter.
Get started with IP geolocation API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"look up country from ip address"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with IP geolocation API API.
Resolve a visitor IP to country, region, and city for personalization
Detect the user's currency and language from their IP for localized pricing
Look up the timezone of an IP for scheduling and timestamp display
Identify the ISP and connection type behind an IP
GET STARTED
Use for: I want to find the country and city behind a given IP address, Get the timezone for a visitor's IP, Look up the currency associated with an IP, Detect the language of a user from their IP
Not supported: Does not handle physical address geocoding, routing, or places search — use for IP-to-location resolution only.
Jentic publishes the only available OpenAPI document for IP geolocation API, keeping it validated and agent-ready.
Jentic publishes the only available OpenAPI specification for IP geolocation API, keeping it validated and agent-ready. Abstract's IP geolocation API resolves any IPv4 or IPv6 address to a region, country, and city across 180+ countries, with optional fields for currency, flag, language, timezone, and ISP. The whole API is a single GET endpoint, keyed by an api_key query parameter, returning JSON. It is designed for inline lookups in onboarding, fraud, and personalization flows where a heavier MaxMind or IPinfo install is overkill.
Cross-check user-submitted country with the country derived from IP
Patterns agents use IP geolocation API API for, with concrete tasks.
★ Localize pricing by visitor IP
Call the geolocation endpoint on every page load to derive the visitor's country and currency, then show prices in the local currency. Returns within a few hundred milliseconds and covers 180+ countries, so it works as a drop-in replacement for heavier on-prem GeoIP databases.
Call GET /v1/ with ip_address=8.8.8.8 and return country_code and currency.currency_code
Fraud signal for signups
Compare the country derived from the signup IP with the user-supplied billing country, and flag mismatches for review. The geolocation response includes country_code, region, and ISP fields useful for stacking with other fraud signals.
Call GET /v1/ with the signup IP and compare country_code with user-supplied country, returning a mismatch boolean
Timezone-aware scheduling
When a user creates a meeting or schedules a notification, call the geolocation endpoint to derive their timezone from their IP and pre-fill the timezone selector. Avoids forcing users to pick from a dropdown.
Call GET /v1/ with the request IP and return timezone.name and timezone.gmt_offset
AI agent visitor profiling
An agent enriching website visitor records calls the geolocation endpoint to attach country, city, and ISP to each session, all via Jentic so the api_key never enters the agent context. The response shape is small and stable, so the enriched record can be passed straight to a CRM or analytics pipeline.
For each visitor session, call /v1/ with the session IP and append country, city, and connection.connection_type to the visitor record
1 endpoints — jentic publishes the only available openapi specification for ip geolocation api, keeping it validated and agent-ready.
METHOD
PATH
DESCRIPTION
/v1/
Resolve an IP address to country, region, city, timezone, and ISP
/v1/
Resolve an IP address to country, region, city, timezone, and ISP
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Abstract api_key is stored encrypted in the Jentic vault. When an agent executes the geolocation lookup, Jentic injects the key as the api_key query parameter at runtime, so the secret never enters the agent's prompt or memory.
Intent-based discovery
Agents search Jentic by intent (e.g. 'find country from ip address') and Jentic returns the matching Abstract operation with its input schema, so the agent calls the endpoint without reading docs.
Time to first call
Direct integration: 2-4 hours for auth, retries, and error handling. Through Jentic: under 15 minutes — search, load, execute.
Alternatives and complements available in the Jentic catalogue.
IPInfoDB
Free IP-to-country and IP-to-city lookups
Choose IPInfoDB when cost matters more than freshness — it offers a free tier with similar IP-to-city resolution.
ipstack
IP geolocation with optional security and currency modules
Choose ipstack when you need bundled fraud-risk fields (proxy, tor, threat level) alongside the geolocation lookup.
MaxMind
GeoIP2 web service and downloadable databases
Choose MaxMind when you need offline lookups via a downloadable database, or when you need MaxMind-grade accuracy for fraud scoring.
Specific to using IP geolocation API API through Jentic.
Why is there no official OpenAPI spec for IP geolocation API?
Abstract API does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call IP geolocation API via structured tooling. It is validated against the live API and kept up to date. Get started at https://app.jentic.com/sign-up.
What authentication does the IP geolocation API use?
The endpoint requires an api_key query parameter — there is no header-based auth. Through Jentic the api_key is held encrypted in the vault and injected at execution time, so the agent never sees the raw secret.
Can I look up an IPv6 address with this API?
Yes. GET /v1/ accepts both IPv4 and IPv6 in the ip_address query parameter and returns the same response shape. If ip_address is omitted the endpoint defaults to the requester's own IP.
What are the rate limits for the IP geolocation API?
Limits are tied to your Abstract plan, not to the spec. The free tier is 20,000 requests/month with 1 request/second; paid tiers raise both quota and concurrency. Check your Abstract dashboard for current numbers.
How do I look up a country from an IP through Jentic?
Search Jentic for 'look up country from ip address', load the operation that maps to GET /v1/ on ipgeolocation.abstractapi.com, then execute with ip_address. Install with pip install jentic and use the async pattern.
Is the Abstract IP geolocation API free?
Yes, the free tier covers up to 20,000 lookups per month at 1 request per second. Paid tiers add HTTPS-only options, higher concurrency, and SLA, but the response schema is the same across tiers.