IP Geolocation API

IP geolocation lookup is the identification of an IP address' geographic location in the real world. IPinfo builds and maintains our own proprietary IP geolocation database, which can be used to generate various forms of geographic information for your IP traffic.

Try it out

Enter an IP address, and we’ll display the geolocation information for it.

City
Mountain View
Country
US
Postal Code
94043

Accurate detailed geolocation information

Our IP geolocation API provides a response that includes every IP’s latitude and longitude coordinates, region, country, postal/ZIP code, and city. Using our IP address geolocation data, customers can resolve their web traffic to meaningful locations as specific as a street address.

Use Cases for IP Geolocation API

  • With IPinfo as your IP-to-location data provider, you will be able to provide users with a customized experience based on their location at many different levels. For example, you can pre-populate sign-up form fields that request users’ location with data from our API response. Similarly, you can display pricing figures in their local currency.
  • Our IP address geolocation API also allows for the internal tracking of statistics to help your business better understand the demographics that it is reaching. Similar to how Google Analytics serves reports, your business can maintain in-house geographic data for your traffic.
Contact Sales

Efficient & low-latency geolocation data

These implementations of our API can lead to a more efficient and enjoyable experience for your website’s users, thus increasing conversion rates and customer satisfaction. Check out the list of our official libraries (PHP, Python, Javascript and not only) for smooth geoIP API implementation!

Our APIs are trusted by industry leaders all across the world

  • SecurityTrials
  • BlueVoyant
  • SecurityScorecard
  • craigslist

Getting started is easy

To access the full geolocation details, please consider trialing our IP Geolocation API or you can reach out to our sales team for more information. Start with our 7-day no-risk free trial!

Contact Sales
  • #IP Geolocation API sample response
  • $ curl ipinfo.io/8.8.8.8/geo?token=$TOKEN
  • { "ip": "8.8.8.8", "city": "Mountain View", "region": "California", "country": "US", "loc": "37.3860,-122.0838", "postal": "94035", "timezone": "America/Los_Angeles" }