IP Geolocation API

ipbase.com fuels companies with IP address data to enhance intelligent, programmatic and data driven decisions.

Just one address? Look up any IP for free, no sign-up.

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",

Join the leading tech companies from around the globe

logo cloud

IP data for every use-case

From SMB to enterprise: Our IP Geolocation API serves any use-case and company size. For details, read our documentation.

IP API

IP address geolocation lookup is the identification of an IP address' geographic location in the real world. Look up one address or up to 100 per request.

IP API

ASN API

Retrieve ASN information for any IP address: ranges, related domains and much more.

ASN API

Hosted Domains API

Returns a full list of domains that are hosted on a single IP address. These domains are ordered based on host.io domain ranking.

Hosted Domains API

Easy to use and built with developers in mind!

Our IP data lookup 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
integrations
breatheilo

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

Image of Wernhard Berger
Wernhard Berger CEO Breatheilo GmbH

Why use ipbase.com?

database

Global coverage

We continuously update our dataset through various sources to provide the most accurate IP data possible.

fast

Lightning fast

Our robust server infrastructure is designed to deal with millions of daily API requests. We provide industry-leading uptime.

reliable

Simple & reliable

Our API is built on an intuitive REST standard, and our extensive documentation makes integrations a breeze.

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?

An API that returns the location of an IP address, such as its country, region, city and coordinates, usually together with the network that owns it. ipbase also returns the time zone and, on the Medium plan and above, VPN, proxy and Tor flags.

How do I look up the location of an IP address?

Send GET https://api.ipbase.com/v2/info?ip=1.1.1.1 with your API key in the apikey header. Leave out the ip parameter to look up the address the request comes from.

Does the API support IPv6?

Yes. /v2/info accepts IPv4 and IPv6 addresses.

Can I look up many IP addresses at once?

Yes. POST /v2/batch looks up to 100 IP addresses per request; each address counts as one request of your quota.

Is there a free plan?

Yes. The free plan includes 150 requests a month with location data and batch lookups, limited to 10 requests a minute. No credit card is required.

Get started for free

We provide 150 free API requests per month. Sign up for a free API key and get started for free. No credit card details required.