Skip to content
InternetData
Open

Every IP range, resolved to its timezone.

An IANA timezone for every IPv4 and IPv6 range, with its country: the zone of the city IP Geolocation places it in, neighbors in the same zone merged into one row.

ip_timezone_v1
  • 1.0.16.0/20
    TimezoneAsia/TokyoJP
  • 5.196.42.160/27
    TimezoneEurope/WarsawPL
  • 17.30.12.0/23
    TimezoneEurope/BerlinDE
  • 23.192.190.0/24
    TimezoneAmerica/Sao_PauloBR
Entries
2,614,081
Refresh
Daily

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_iptimezonecountry
1.0.16.01.0.31.255Asia/TokyoJP
5.196.42.1605.196.42.191Europe/WarsawPL
17.30.12.017.30.13.255Europe/BerlinDE
23.192.190.023.192.190.255America/Sao_PauloBR
2a02:26f7:f7c0:e121::2a02:26f7:f7c0:e121:ffff:ffff:ffff:ffffAmerica/BogotaCO
ID
ip_timezone_v1
Entries
2,614,081
Refresh
Daily
CSVGZ
17.91 MB
MMDB
8.51 MB

Put it to work in your own systems.

Free with an account, and the file is yours: teams join IP Timezone against the traffic, logs and routing data they already hold, inside their own infrastructure.

Scheduling and delivery

Send a notification, a report or a campaign at the right local hour.

Log and analytics context

Read activity timestamps against the visitor's own clock instead of your server's.

Free with an account
Sign up, then download it from the console, or with your API key from the database API or any official client.
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.

Download it from your code in one call.

Database API reference β†’

Every official client fetches the current IP Timezone 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_timezone_v1")
client.database.download("ip_timezone_v1", "mmdb", "./ip_timezone_v1.mmdb")
sums = client.database.checksums("ip_timezone_v1", "mmdb")
print(meta.updated, meta.entries, sums["sha256"])
load.pypip install internetdata

Official clients in twelve languages.

All SDKs on GitHub β†’

Each wraps the database endpoints: list what you're licensed for, poll for a new build and follow the download redirect. Install commands are in the docs.

Trusted by

Data protection, ad tech, telecom and software companies on three continents.

  • Assured Data Protection
  • ASTRAD
  • TAMradar
  • Influentials
  • Ross-Tech
  • Solar Communications
  • Paraty.com
  • zepi

Common questions

Eight answers on IP Timezone: what's in it, how often it's rebuilt and how to get it.

The data

3 questions

What is in a row?

One range, both ends inclusive, its IANA timezone and its country. IPv4 and IPv6 are in the same file.

Does every range have a timezone?

Every range IP Geolocation places in a city: all but the few in Bouvet Island (BV) and Heard Island (HM), which the file leaves out.

Does it agree with IP Geolocation?

Yes. A range's zone is the one IP Geolocation gives it, its city's, with neighbors in the same zone merged into one row.

Updates and access

5 questions

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 it come in?

Gzipped CSV and MMDB, both cut from the same build. The MMDB opens in any MaxMind DB reader.

Is it really free?

Yes. Create an account and download it from the console, or with your API key from the database API or any official client. It's licensed under CC BY-SA 4.0: credit InternetData and share what you build from it under the same license.

Is there a lookup API?

Yes. An address lookup answers location.timezone on every plan, free included.

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.

00 Β· No key

Free lookups, no sign-up.

Paste it into a terminal. Any address answers with its country, network and hostname. ASNs 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,
"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",
"prefix": "8.8.8.0/24",
"country": "US",
"rpki_status": "valid"
},
"tor": {},
"relay": {}
}
01 Β· Every field

Every field on the Data plan.

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

A free API key answers every field on a daily allowance of lookups, with no card.