Skip to content

Announced address space, by origin AS.

Every IPv4 and IPv6 range in the global routing table, attributed to the AS that originates it, with that network's name, domain and type, and whether RPKI validates the route.

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_ipprefixasnnamedomaintypecountryrpki_status
1.1.1.01.1.1.2551.1.1.0/2413335Cloudflare, Inc.cloudflare.comhostingUSvalid
13.35.201.013.35.201.25513.35.201.0/2416509Amazon.com, Inc.amazon.comhostingUSvalid
37.99.10.037.99.10.25537.99.10.0/2421299Kar-Tel LLCbeeline.kzispKZnot_found
102.135.34.0102.135.34.255102.135.34.0/249009M247 Europe SRLm247global.comhostingROinvalid:origin
2a01:4f8::2a01:4f8:ffff:ffff:ffff:ffff:ffff:ffff2a01:4f8::/3224940Hetzner Online GmbHhetzner.comhostingDEvalid
ID
ip_asn_v1
Entries
1,463,770
Refresh
Daily
CSVGZ
19.88 MB
MMDB
81.24 MB

Downloading it from code.

Database API reference →

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

Traffic attribution

Group requests, flows and logs by the network they come from, down to the announced prefix.

Route security

Flag traffic from a range whose announcement RPKI marks invalid, the mark of a misconfiguration or a hijack.

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, except IP RDNS and IP RWHOIS, which change weekly. 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.