Skip to content
InternetData

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.

Request evaluation

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_ipend_ipcontinentcountrycountry_nameregion_coderegioncitylatitudelongitudetimezonepostal_codegeoname_idaccuracy_radiuslast_changeddma_code
74.42.24.17074.42.24.170NAUSUnited StatesUS-VAVirginiaAshburn39.04372-77.48749America/New_York20147474487020002026-10-02511
2600:141b:e800:30::2600:141b:e800:32:ffff:ffff:ffff:ffffNAUSUnited StatesUS-NJNew JerseyPiscataway40.49927-74.39904America/New_York088545102713102026-10-01501
206.172.98.37206.172.98.39NACACanadaCA-ONOntarioToronto43.70643-79.39864America/TorontoM5A6167865102026-10-07
129.148.12.0129.148.26.255SABRBrazilBR-SPSão PauloSão Paulo-23.5475-46.63611America/Sao_Paulo01000-00034484395002026-10-01
1.0.0.01.0.0.255OCAUAustraliaAU-NSWNew South WalesSydney-33.86785151.20732Australia/Sydney10012147714200002026-10-07
ID
ip_geolocation_v1
Entries
12,407,657
Refresh
Daily
CSVGZ
149 MB
MMDB
84.82 MB

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()
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 →

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.

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.

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.

On this page

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.

00 · Unlimited

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.

curl https://api.internetdata.io/8.8.8.8
{
"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"
}
}
01 · Every field

All of the data on a paid plan.

VPN, proxy, hosting and CDN flags, each naming the operator.
Location to the city, with coordinates and an accuracy radius.
WHOIS records, the whole abuse contact and the services an address runs.
Up to 1,000 addresses, ASes and domains in one request.

A free API key answers every field for its first 100 lookups each day, with no card.