Geolocation Icon

IP Lookup API

Look up any IPv4 or IPv6 address with one call: the ipbase IP API returns its country, city, ISP, ASN, time zone and, on the Small plan and above, VPN, proxy and Tor flags. ipbase.com provides a reliable & scalable IP API for software developers. It uses a database of IP addresses associated with cities and other relevant information like time zone, latitude & longitude.

Feature Complete IP API

Our global data coverage enables developers to make data-driven and programmatic decisions.

The data you need

Do you want to personalize your content based on the location of your users or enforce IP-based restrictions? These are just two of many common use cases of our customers.

See all data fields
Hostname
Connection details
Continent
Country
Region
City
Postal code
Timezone
Location Coordinates
etc.

1,000 IPs in one request

Enriching logs, sign-up lists or analytics exports? POST up to 1,000 IPv4 or IPv6 addresses to the batch endpoint (100 in a GET query string) and get every result in one response. Each address counts as one request, duplicates only once.

Batch lookup documentation
Up to 1,000 addresses per POST request
Same data as the single lookup
Pick only the fields you need with fields=
Private ranges never fail the batch
Customer logos: SAP, Accenture, Heineken, Oracle, Microsoft and Volkswagen

Easy to use and built with developers in mind!

Plain REST and JSON, code examples, client libraries and an OpenAPI spec. Load the spec into your API client to try every endpoint before you write a line of code.

Integration Documentation

Get started for free. No credit card details required.

Frequently asked questions

What is an IP API? How accurate is an IP API? How does IP geolocation work? Is there any free IP lookup API?