Skip to content

Anycast ranges, where one address has many locations.

Address ranges reachable from many physical locations at once, a start and an end address per range, so an address with no single place can be handled on its own in geolocation, latency and abuse attribution.

Schema at a glance.

See documentation →

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

start_ipend_ip
1.1.1.01.1.1.255
8.8.8.08.8.8.255
9.9.9.09.9.9.255
198.41.0.0198.41.0.255
2606:4700:100::2606:4700:100:ffff:ffff:ffff:ffff:ffff
ID
anycast_ip_v1
Entries
6,024
Refresh
Daily
CSVGZ
35 KB
MMDB
98 KB

Downloading it from code.

Database API reference →

One call gets you the current Anycast IP 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("anycast_ip_v1")
client.database.download("anycast_ip_v1", "mmdb", "./anycast_ip_v1.mmdb")
sums = client.database.checksums("anycast_ip_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 Anycast IP against traffic they already log, inside their own infrastructure, and never send an address anywhere to get an answer.

Geolocation

An anycast address is reachable from many places, so treat its location as unknown rather than pin it to one city.

Latency

A different instance answers from each place, so round-trip times from two vantage points can both be right.

Abuse attribution

One address can front many machines in many places, so attribute its traffic to the network, not to a host.

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.

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.