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.
| asn | name | country | registry | domain | type | num_ips | rpki_valid |
|---|---|---|---|---|---|---|---|
| 3 | Massachusetts Institute of Technology | US | arin | mit.edu | education | 1836288 | 0 |
| 3320 | Deutsche Telekom AG | DE | ripe | telekom.com | isp | 34157312 | 485 |
| 13335 | Cloudflare, Inc. | US | arin | cloudflare.com | hosting | 1385984 | 5274 |
| 17676 | SoftBank Corp. | JP | apnic | softbank.jp | isp | 38445056 | 417 |
| 24940 | Hetzner Online GmbH | DE | ripe | hetzner.com | hosting | 3237120 | 67 |
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()downloadUrl()downloadBytes()metadata()checksums()import osfrom internetdata import InternetDataclient = InternetData(os.environ["INTERNETDATA_API_KEY"])# what is in today's build, without moving the filemeta = 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"])
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.
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.
No loose ends.
Is it really free?
Yes. Create an account and download it with your API key, from the API or any official client.
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.
Which formats does a build ship in?
Gzipped CSV for all three open databases, and MMDB for Bogon IP as well. The schema section above names this one's.