IP geolocation API — country, city, timezone and ISP from any IP
Resolve any IPv4 or IPv6 address to country, city, timezone, ISP, and coordinates in a single JSON call — sub-50ms median latency, free tier forever.
No credit card · Free tier forever · X-API-Key header auth
What's included in /ip
Country & city
ISO country code, full country name, region, city, and postal code from any IP address.
Timezone
IANA timezone identifier and UTC offset — pair with the /timezone namespace for full time zone tooling.
ISP & ASN
Internet service provider name, autonomous system number, and connection type (broadband, mobile, VPN).
Coordinates
Latitude and longitude for map rendering or distance calculations.
Threat intelligence
VPN, proxy, Tor exit node, and datacenter flags — useful for fraud detection and content localisation.
Start using the IP geolocation API free today
Free tier — 500 calls/month, no credit card. Upgrade when you need more.
Frequently asked questions
Does it work with IPv6?
Yes. Pass any valid IPv4 or IPv6 address to the ip= parameter.
How accurate is the city-level data?
City accuracy is ~85% globally, 95%+ for US/EU. Country accuracy is 99.8%.
Can I look up my own IP?
Pass ip=self and the API returns the geolocation of the caller's IP address automatically.
Is this GDPR compliant to use?
IP geolocation is generally considered non-personal data under GDPR. We do not store or log queried IPs.
Related API guides
Currency Conversion API — Live Rates, 170 Currencies, Free
Live currency exchange rates, historical rates, and conversion endpoints for 170…
Read guideFree Weather API — Current, Forecast & Historical Data
Get live weather data, 7-day forecasts, historical records and severe weather al…
Read guideFinance API for Developers — Stock Quotes, SIP, Tax, Forex
REST API for stock quotes, SIP calculators, compound interest, forex rates, tax …
Read guideOne key unlocks all 34 namespaces — weather, finance, fitness, astrology, and more.
View all plans and pricing →