Every IP range, placed on the map.
Continent, country, region and city for every IPv4 and IPv6 range, with the city's coordinates, timezone, postal code, an accuracy radius and the date its location last changed.
In the lookup API: location's continent, country and timezone on every plan, and its region, city, postal code and coordinates on a paid plan.
Real rows, with what each column means.
See documentation →The schema and metadata are in the docs. It is published as CSVGZ and MMDB.
| start_ip | end_ip | continent | country | country_name | region_code | region | city | latitude | longitude | timezone | postal_code | geoname_id | accuracy_radius | last_changed | dma_code |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 74.42.24.170 | 74.42.24.170 | NA | US | United States | US-VA | Virginia | Ashburn | 39.04372 | -77.48749 | America/New_York | 20147 | 4744870 | 2000 | 2026-10-02 | 511 |
| 2600:141b:e800:30:: | 2600:141b:e800:32:ffff:ffff:ffff:ffff | NA | US | United States | US-NJ | New Jersey | Piscataway | 40.49927 | -74.39904 | America/New_York | 08854 | 5102713 | 10 | 2026-10-01 | 501 |
| 206.172.98.37 | 206.172.98.39 | NA | CA | Canada | CA-ON | Ontario | Toronto | 43.70643 | -79.39864 | America/Toronto | M5A | 6167865 | 10 | 2026-10-07 | |
| 129.148.12.0 | 129.148.26.255 | SA | BR | Brazil | BR-SP | São Paulo | São Paulo | -23.5475 | -46.63611 | America/Sao_Paulo | 01000-000 | 3448439 | 500 | 2026-10-01 | |
| 1.0.0.0 | 1.0.0.255 | OC | AU | Australia | AU-NSW | New South Wales | Sydney | -33.86785 | 151.20732 | Australia/Sydney | 1001 | 2147714 | 20000 | 2026-10-07 |
Download it from your code in one call.
Database API reference →Every official client fetches the current IP Geolocation build to disk, as a link for your own runner or into memory, and checks it against its published checksums.
download()downloadUrl()downloadBytes()metadata()checksums()import osfrom internetdata import InternetDataclient = InternetData(os.environ["INTERNETDATA_API_KEY"])# what is in today's build, without moving the filemeta = client.database.metadata("ip_geolocation_v1")client.database.download("ip_geolocation_v1", "mmdb", "./ip_geolocation_v1.mmdb")sums = client.database.checksums("ip_geolocation_v1", "mmdb")print(meta.updated, meta.entries, sums["sha256"])
Put it to work in your own systems.
Teams join IP Geolocation against traffic they already log, inside their own infrastructure, and never send an address anywhere to get an answer.
Localization and routing
Serve the right language, currency or regional endpoint based on where a request comes from, without a per-request lookup.
Fraud and compliance context
Flag a checkout or signup whose claimed address and billing country don't line up.
Analytics
Break down traffic and usage by country, region or city without sending addresses anywhere to resolve them.
Call the API in your language, with an official client.
All SDKs on GitHub →Thirteen official clients, one for each language you ship in and one for the browser, plus middleware for seven web frameworks. Each answers private addresses without a request, caches what it looks up and splits big batches for you.
Common questions
How precise is it?
Every range carries a country, and all but a handful a city: one placed only to its region or country names that area's most likely city. accuracy_radius is the kilometers around the coordinates that hold the true location with 67% confidence.
Whose coordinates are they?
The city's, not the device's: the latitude and longitude of the city the range is placed in, whose GeoNames ID is geoname_id.
What does last_changed mean?
The date the range's location (its country, region, city or coordinates) last changed. The earliest date in the file means on or before that day.
Why does an address's country differ from its AS's?
IP ASN's country is where the registry assigned the AS; geolocation is where the address is used. A network registered in one country often serves several.
How often is it rebuilt?
Daily. The metadata call answers when the current build landed and how many rows it holds, before you fetch it.
Which formats does a build ship in?
Gzipped CSV and MMDB, both cut from the same build. The MMDB opens in any MaxMind DB reader.
How do we get it?
Under a Standard or Redistribution license, quoted per database. Get a quote names IP Geolocation to us, and Request evaluation puts the full current build in your hands to test first. Download sample gets you rows from it now.
Is there a lookup API?
Yes. An address lookup answers location's continent, country and timezone on every plan, free included, and its region, city, postal code and coordinates on a paid plan.
What if a row looks wrong?
Send it to us and we'll tell you what we hold on it and when it was last seen. Corrections land in the next build.
Unlimited lookups, no sign-up.
Paste it into a terminal. Any address answers with its country, network, company and hostname, with no key and no daily or monthly cap. ASes and domains answer too.
{"ip": "8.8.8.8","is_bogon": false,"is_tor": false,"is_relay": false,"is_anycast": true,"is_carrier": false,"is_satellite": false,"is_ssh": false,"is_smtp": false,"is_web": true,"is_dns_resolver": true,"is_bittorrent": false,"hostname": "dns.google","location": {"continent": "NA","continent_name": "North America","country": "US","country_name": "United States","timezone": "America/Los_Angeles","currency_code": "USD","currency_name": "Dollar","currency_symbol": "$","flag_emoji": "🇺🇸","flag_unicode": "U+1F1FA U+1F1F8"},"asn": {"asn": 15169,"name": "Google LLC","domain": "google.com","type": "hosting","prefix": "8.8.8.0/24"},"company": {"name": "Google LLC","domain": "google.com"},"tor": {},"relay": {},"abuse": {"email": "network-abuse@google.com"}}
All of the data on a paid plan.
A free API key answers every field for its first 100 lookups each day, with no card.