Skip to content

Latest commit

 

History

History

IP Geolocation

IP Geolocation Database

Get location data such as zipcode, city, region, country, location, timezone etc. of IP addresses.

Our IP geolocation data is our primary data product and is considered one of the best in the industry. We operate a large scale network infrastructure consisting of hundreds of servers around the world through which we take active network measurements over the entire internet ecosystem. Through our active measurement, we produce reliable and accurate IP geolocation data. You can learn more about our network from this article:Probe network - how we make sure our data is accurate.

Database Schema & Description

[data updated as of May, 2024]

The following database schema represents the CSV database. We also provide JSON and MMDB format data.

Field Name Example Data Type Notes
start_ip 1.253.242.0 TEXT Starting IP address of an IP address range
end_ip 1.253.242.255 TEXT Ending IP address of an IP address range
join_key 1.253.0.0 TEXT Special variable to facilitate database join operation
city Yangsan TEXT City of the IP address
region Gyeongsangnam-do TEXT Region of the IP address
country KR TEXT ISO 3166 country code of the IP address
latitude 35.34199 FLOAT Latitude value of the IP address
longitude 129.03358 FLOAT Longitude value of the IP address
postal_code 50593 TEXT Postal code or zip code of the IP address
timezone Asia/Seoul TEXT Local timezone of the IP address

join_key represents the Class C network each IP address is part of, allowing you to filter the result set significantly before joining. Learn more about join_key here.

Please refer to "How to choose the best file format for your IPinfo database?" article to select the best format possible for your use case.

The usage of the IP data downloads relies on the software or application of the data. Check out our documentation, community, and our integrations pages to find the best path forward.

API Response

IPinfo also provides a robust IP to Geolocation API service. Please visit the IPinfo Documentation portal to learn more. IP to Geolocation is our IP data available from tier to enterprise tier API access.

API Query:

$ curl ipinfo.io/$IP_ADDRESS?token=$TOKEN

Response:

{
    "ip": "77.224.89.172",
    "hostname": "static-172-89-224-77.ipcom.comunitel.net",
    "city": "Vigo",
    "region": "Galicia",
    "country": "ES",
    "loc": "42.2328,-8.7226",
    "postal": "36201",
    "timezone": "Europe/Madrid"
}

IP Geolocation API.png

Samples

Guides, Resources & Links

Links

🔗 IP Geolocation Database Page

🔗 IP Geolocation Data Downloads Documentation

🔗 IP Geolocation API Page

🔗 IP Geolocation Data Type Documentation

Articles & Guides


Interested in more?

Currently, we are limiting the sample datasets to only 100 rows. If you would like to request a larger sample or would like to get a quote on the database products, feel free to reach to us.

Follow us on Twitter and LinkedIn to learn more about IP Address data and it’s fascinating potential.

About IPinfo

Founded in 2013, IPinfo prides itself on being the most reliable, accurate, and in-depth source of IP address data available anywhere. We process terabytes of data to produce our custom IP geolocation, company, carrier, VPN detection, hosted domains, and IP type data sets. Our API handles over 40 billion requests a month for 100,000 businesses and developers.

image