IP Geolocation API
Turn any IP address into a location, an internet provider and a risk signal. One JSON call returns country, city, time zone, ISP, ASN and VPN, proxy and Tor flags.
Just one address? Look up any IP for free, no sign-up.
Trusted by tech companies around the world
IP data for every use case
From a single sign-up form to enterprise fraud checks, the same IP geolocation API scales with you. Every endpoint and field is in our documentation.
IP API
Find the country, city, time zone and network of any IP address. Look up one address or up to 100 per request.
IP APIASN API
Get the autonomous system behind an IP: the organization that runs it, its IP ranges and related domains.
ASN APIHosted Domains API
List the domains hosted on an IP address, ranked by host.io domain rank.
Hosted Domains APIBuilt for developers
Plain REST and JSON, code examples, client libraries and a Postman collection, so you can test every endpoint before you write a line of code.
Integration Documentation"ipbase.com's clear documentation, easy-to-use API, and great support team made it a no-brainer. It has given us the confidence to build our platform on top of their IP lookup API."
Why use ipbase.com?
Global coverage
We update our IP data continuously from many sources, for every IPv4 and IPv6 address.
Fast at any scale
Our infrastructure serves millions of requests a day with industry-leading uptime.
Quick to integrate
A plain REST API with thorough documentation, so integration takes minutes, not days.
What the IP geolocation API returns
One call to /v2/info returns these objects for an IPv4 or IPv6 address. Try it on any address with the free IP lookup.
- location.country
- Country name, ISO alpha-2 and alpha-3 codes, calling codes, flag emoji and EU membership.
- location.region, location.city, location.zip
- Region (with ISO code), city and postal code.
- location.latitude, location.longitude
- Coordinates of the location.
- location.continent
- Continent code and name.
- connection
- ASN, organization, ISP and the network range of the address.
- timezone
- Time zone ID, current local time, abbreviation, UTC offset and daylight saving.
- security
- VPN, proxy, Tor, data center and abuse flags with a threat score (Medium plan and above).
Related APIs: IP lookup API · VPN & proxy detection API · ASN API · Reverse IP API
IP geolocation API: FAQ
What is an IP geolocation API?
How do I look up the location of an IP address?
Does the API support IPv6?
Can I look up many IP addresses at once?
Is there a free plan?
Get started for free
150 free requests every month. Sign up, copy your API key and make your first call in a minute. No credit card required.