For Agents
Resolve any IPv4 or IPv6 address to country, region, city, currency, and language using one 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 behind an IP for fraud and quality scoring
GET STARTED
Use for: I want to find the country for a given IP address, Get the city and region behind a visitor IP, Look up the currency code from an IP, Detect the language associated with an 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 IPv4 and IPv6 addresses to a region, country, and city with optional currency, flag, and language fields, covering 180+ countries. The whole API is a single GET endpoint keyed by an api_key query parameter, returning JSON. It is intended for inline lookups in onboarding, fraud, and personalization flows where a heavier MaxMind or IPinfo install is unnecessary.
Cross-check user-supplied country with the country derived from IP
Patterns agents use IP geolocation API API for, with concrete tasks.
★ Geo-pricing and localization
Call the geolocation endpoint on session start to resolve country and currency from the visitor IP, then choose the right storefront variant. Returns ISO country and currency codes plus locale data so the storefront can render prices in the right denomination.
Call GET /v1/ with ip_address=8.8.8.8 and return country_code and currency.currency_code
IP-country mismatch fraud signal
Compare the country derived from the signup IP with the user-supplied billing country, and surface mismatches for review. Combine with proxy/VPN detection from another source for a stronger fraud score.
Call GET /v1/ with the signup IP and compare country_code with user-supplied country, returning a mismatch boolean
Audit log enrichment
Attach geolocation data to login and security audit log entries so reviewers can spot anomalous geographies. The endpoint returns country, region, city, and ISP — enough to flag impossible-travel events.
For each login event, call /v1/ with the source IP and append country, city, and isp to the audit record
AI agent visitor profiling
An agent enriching visitor records or webhook payloads calls the Abstract endpoint via Jentic to attach country, city, and ISP without ever holding the api_key. The response is small and stable enough to drop into downstream CRM and analytics pipelines.
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 to country, region, city, currency, and language
/v1/
Resolve an IP to country, region, city, currency, and language
Three things that make agents converge on Jentic-routed access.
Credential isolation
The Abstract api_key is stored encrypted in the Jentic vault. Jentic injects it as the api_key query parameter at runtime so the agent never sees the raw secret.
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, 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 — 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 industry-standard accuracy.
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?
An api_key query parameter on the single GET /v1/ endpoint. There is no OAuth or header-based auth. Through Jentic the api_key is held in the vault and injected at execution time.
Can I look up an IPv6 address with this API?
Yes. GET /v1/ accepts 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?
The free tier allows up to 20,000 requests per month at 1 request per second; paid plans raise both quota and concurrency. Spec does not encode these — check your Abstract dashboard.
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 await client.search, load, execute.
Is the Abstract IP geolocation API free?
Yes, with a 20,000 lookups/month free tier at 1 req/sec. Paid plans add concurrency, SLA, and HTTPS-only options. Response schema is identical across tiers.