Skip to content

Every AS number, free with an account.

Each allocated AS number with its holder, country, registry and allocation date, the holder's domain, the kind of network it runs, how much address space it announces, and how many of its routes RPKI validates. The file is rebuilt daily.

Schema at a glance.

See documentation →

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

asnnamecountryregistrydomaintypenum_ipsrpki_valid
3Massachusetts Institute of TechnologyUSarinmit.edueducation18362880
3320Deutsche Telekom AGDEripetelekom.comisp34157312485
13335Cloudflare, Inc.USarincloudflare.comhosting13859845274
17676SoftBank Corp.JPapnicsoftbank.jpisp38445056417
24940Hetzner Online GmbHDEripehetzner.comhosting323712067
ID
asn_v1
Entries
123,029
Refresh
Daily
CSVGZ
2.86 MB

Downloading it from code.

Database API reference →

One call gets you the current 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("asn_v1")
client.database.download("asn_v1", "csvgz", "./asn_v1.csv.gz")
sums = client.database.checksums("asn_v1", "csvgz")
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.

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

Network attribution

Name the organization behind an AS number, and the domain it goes by.

Classification

Tell hosting, ISP, education, government and business networks apart.

Routing hygiene

See how much of a network's announced space RPKI covers.

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

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

Is it really free?

Yes. Create an account and download it with your API key, from the API or any official client.