IP Geolocation API

IP Geolocation API

Around the globe, industry-leading organizations use IPinfo's geolocation data to create efficient, enjoyable, and secure online experiences for their users. These IP geolocation insights lead to better conversion rates, improved customer satisfaction, and much more with our API that's built for low latency responses.

  • ip:"8.8.8.8",
  • city:"Mountain View",
  • region:"California",
  • country:"US",
  • loc:"37.3860,-122.0838",
  • postal:"94035",
  • timezone:"America/Los_Angeles",
Anthony Jaggs

Before IPinfo, we didn't personalize the site. If people landed on it, they would have to identify which country they were coming from, or the country wouldn't even be displayed. The visitor often ended up navigating through the site or going back to Google to find what they were looking for. This resulted in an unsatisfactory experience for our users.

Anthony Jaggs Digital Product Owner, Bupa

Billion API requests last month

Accurate & low-latency
IP geolocation lookup

IPinfo specializes in providing accurate IP to location data. We take it so seriously that we build and maintain our own proprietary IP geolocation database. Our GeoAPI provides a response that includes these datasets for every IP:

  • Hostname
  • Location coordinates
  • Region
  • Postal/zip code
  • Country
  • City

Ways to use our
IP Geolocation API

  • Optimize web personalization
  • Pre-populate sign-up forms
  • Personalize content based on location
  • Localize language, pricing, and currency
  • Gather statistics and demographics
  • Enforce IP-based restrictions

Want to leverage the power of raw datasets? Try our Downloadable Database.

Our database downloads contain the same accurate IP address information available with our APIs. These downloads are available in any format (eg. CSV, JSON, MMBD) with additional options to customize the fields.

Read about data downloads

Made for developers
Trusted by enterprises

Our database is built, maintained, and supported by our in-house team of developers and engineers. These data experts are ready to troubleshoot problems, build unique use cases, and create additional enterprise solutions.

  • Zapier
  • Snowflake
  • Wordpress
  • Maltego
  • Splunk
  • Palo Alto Networks
  • Heroku
  • Polarity

Supports integrations

Our API integrations merge the power of IPinfo’s proprietary IP address database with other industry-leading platforms. Use your IP geolocation data at scale with our supported integrations, such as Snowflake, Splunk, Maltego, and beyond.

  • PHP
  • Python
  • Ruby
  • Java
  • Spring
  • Node.js
  • C#
  • Rust

Official libraries

We offer libraries for the most commonly used programming languages and frameworks. Check out our documentation to facilitate easier setup.

Industry-leading companies
around the world trust our APIs

Get started for free

We offer 50,000 free IP geolocation lookups per month. Sign up for free to test our data. No gimmicks or credit cards required.