On this page
IP ASN is now one of our Open databases, every column included: free to download with any account under CC BY-SA 4.0. It's every range in the global routing table, split so that each address belongs to the most specific prefix announcing it, with the AS originating that prefix, the network's name, domain, type and country, and the route's RPKI status.
One origin per range
| Prefix | AS | Name | Domain | Type | Country | RPKI |
|---|---|---|---|---|---|---|
1.1.1.0/24 | 13335 | Cloudflare, Inc. | cloudflare.com | hosting | US | valid |
13.35.201.0/24 | 16509 | Amazon.com, Inc. | amazon.com | hosting | US | valid |
37.99.10.0/24 | 21299 | Kar-Tel LLC | beeline.kz | isp | KZ | not_found |
102.135.34.0/24 | 9009 | M247 Europe SRL | m247global.com | hosting | RO | invalid:origin |
2a01:4f8::/32 | 24940 | Hetzner Online GmbH | hetzner.com | hosting | DE | valid |
Where more than one AS originates a prefix, the row keeps the one most of the routing table sees. country is where the AS is registered, which isn't always where an address is used: IP Country has that. rpki_status is the route checked against the published RPKI data (RFC 6811): valid, not_found where no ROA covers it, and invalid:origin or invalid:length where one contradicts it.
What's in it
The October 15 build holds 1,468,057 ranges, 1,168,584 IPv4 and 299,473 IPv6, covering 3,127,523,472 announced IPv4 addresses from 86,443 origin networks. Routes that RPKI validates cover 65.1% of those addresses and routes no ROA covers 34.9%, with 1,929,928 under an invalid route.
The origin AS's type | IPv4 addresses |
|---|---|
isp | 1,989,816,745 (63.6%) |
hosting | 456,405,863 (14.6%) |
government | 314,997,776 (10.1%) |
education | 203,939,828 (6.5%) |
business | 162,363,260 (5.2%) |
name, domain, type and country are the origin AS's as the free ASN database publishes them, so the two join on asn.
Getting access
Sign up, and IP ASN is in the console with a download button, already licensed to your organization: nothing to request. With an API key, the CLI and the client libraries download it as they do any database:
internetdata db download ip_asn_v1In BigQuery, subscribe to the free InternetData Open listing, or InternetData Open EU, and look addresses up inline (BigQuery has the details):
SELECT
l.ip,
internetdata_open.ip_asn_v1(l.ip).asn AS asn,
internetdata_open.ip_asn_v1(l.ip).name AS network,
internetdata_open.ip_asn_v1(l.ip).type AS type
FROM mydataset.logins AS lCC BY-SA 4.0 asks two things: credit InternetData with a link to internetdata.io, and share what you build from the data under the same license. Building it into something you sell without sharing alike takes a redistribution license. Its docs page has the schema.


