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 Medium 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.

ip: "8.8.4.4", country_code: "US", country_name: "United States", city: "Mountain View", latitude: "48.1936", longitude: "16.3726", connection: asn: "15169", organization: "Google LLC", isp: "Google LLC", range: "8.8.4.0/24", security: is_bot: "null", is_known_attacker: "null", is_proxy: "null", is_tor: "null", proxy_type: "null", threat_score: "null", timezone: id: "America/New_York", current_time: "2023-02-21T11:57:12-05:00", code: "EST", is_daylight_saving: "false", gmt_offset: "-18000",

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
Postalcode
Timezone
Location Coordinates
etc.

100 IPs in one request

Enriching logs, sign-up lists or analytics exports? Send up to 100 IPv4 or IPv6 addresses to the batch endpoint and get every result in one response. Each address counts as one request, duplicates only once.

Batch lookup documentation
Up to 100 addresses per call
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
userwell

"We recently implemented ipbase.com and were very impressed with their IP API. The API was easy to integrate into my application and provided accurate location data for the IP addresses that we submitted. Additionally, their customer support team was responsive and helpful when I had questions. Overall, I highly recommend ipbase.com for anyone in need of reliable IP geolocation data."

Clemens Ehrenreich
Clemens Ehrenreich CEO @ Userwell

Easy to use and built with developers in mind!

Our IP data API is not only easy to integrate but comes along with an entire suite of REST-Clients and pre-built integrations. Additionally, we provide a Postman-Collection.

Integration Documentation

Get started for free. No credit card details required.

Frequently asked questions

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