Skip to content

Every IP range, placed on the map.

Continent, country, region and city for every IPv4 and IPv6 range, with coordinates and an IANA timezone where they're known. City resolves for a minority of addresses; the rest stops at country.

Request evaluation

Schema at a glance.

See documentation →

The database's schema and metadata are documented carefully. It is published as CSVGZ and MMDB.

start_ipend_ipcontinentcountrycountry_nameregion_coderegioncitylatitudelongitudetimezonegeoname_id
2003:40:4094::2003:40:4094:ffff:ffff:ffff:ffff:ffffEUDEGermanyDE-NWNorth Rhine-WestphaliaBonn50.734387.09549Europe/Berlin2946447
193.240.187.224193.240.187.239EUDEGermanyDE-BEState of BerlinBerlin52.5243713.41053Europe/Berlin2950159
50.93.255.050.93.255.255NAUSUnited StatesUS-MNMinnesotaMinnetonka44.9133-93.50329America/Chicago5037784
2a02:26f7:bbc4:4224::2a02:26f7:bbc4:4224:ffff:ffff:ffff:ffffNACACanadaCA-SKSaskatchewanOnion Lake53.71688-110.00158America/Edmonton6093911
37.119.136.037.119.138.255EUITItalyEurope/Rome
ID
ip_geolocation_v1
Entries
2,151,889
Refresh
Daily
CSVGZ
26.69 MB
MMDB
13.32 MB

Downloading it from code.

Database API reference →

One call gets you the current IP Geolocation build. Every official client wraps it three ways: straight to disk, a time-limited link you hand to your own runner, or bytes in memory. A file written to disk lands only once the whole transfer has arrived, and checksums() returns the published digests to verify it against.

download()
Streams the current build to a file, which lands only once the whole transfer has arrived, so a failed one never leaves a truncated file behind.
downloadUrl()
The time-limited link the API redirects to, for your own downloader, a job runner or a CDN pull.
downloadBytes()
The build in memory, for a small database or a pipeline that never touches a filesystem.
metadata()
Row count, file sizes and when the build last updated. Poll it and fetch only when a new one has landed.
checksums()
The md5, sha1, sha256 and sha512 digests of one file, to verify it once it lands.
import os
from internetdata import InternetData
client = InternetData(os.environ["INTERNETDATA_API_KEY"])
# what is in today's build, without moving the file
meta = 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"])
load.pypip install internetdata
Also available for .NET, Ruby, Rust, Swift, Erlang, Perl and Zig. See all on GitHub →

Getting your hands on it.

The file is the product. 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 do not line up.

Analytics

Break down traffic and usage by country, region or city without sending addresses anywhere to resolve them.

License the full database
Sales will quote on volume, term and whether you need redistribution rights.
Checksums published per file — md5, sha1, sha256 and sha512.
The id fixes the schema, so a new build never changes the columns your parser reads.
Samples are cut from the current build, not a synthetic extract.

An official client for every major language.

All SDKs on GitHub →

Twelve official clients for the languages you ship in, each wrapping the database endpoints — list what you are licensed for, poll a build, follow the download redirect, verify what landed. Install commands are in the docs.

On this page

How often does this database rebuild?

Daily. The metadata call answers when the current build landed and how many rows it holds, before you fetch it.

00 · Evaluate

Test the real build first.

An evaluation license puts a full current build in your hands — every row, every column, no sampling — so you can measure it against your own traffic before anyone talks about terms.

Request evaluation
01 · License

Then license what you use.

Standard, for detection and decisions inside your own product and operations.
Redistribution, when the data ships onward inside what you sell — priced by scope, not by seat.
Annual terms, a named contact, and flexible payment terms — monthly, quarterly or yearly.