Every AS number, free with an account.
Each allocated AS number, and each other one announced in global BGP, with its holder, country, registry, allocation date, domain, network type, the space it announces and its RPKI counts.
Look up one address free with the ASN lookup.
- ASNMassachusetts Institute of TechnologyUSAS3
- ASNDeutsche Telekom AGDEAS3320
- ASNCloudflare, Inc.USAS13335
- ASNSoftBank Corp.JPAS17676
- Entries
- 123,912
- Refresh
- Daily
Real rows, with what each column means.
See documentation βThe schema and metadata are in the docs. It is published as CSVGZ. For each AS number's upstreams, peers, downstreams and customer cone, see ASN Extended.
| 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 |
Put it to work in your own systems.
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.
Use cases and industries
Each is a job or an industry and the fields its check reads, all of them in our databases, so the check runs on your own servers with no call per address.
- Threat intelligenceAn address's network, abuse contact, services and anonymity flags, for alerts and logs.asnhostnameis_tor, is_relay
- Fraud preventionVPN, proxy, Tor and hosting checks at sign-up, log-in and checkout.is_vpnis_resproxyis_mobproxy
- IP geolocationCountry, timezone and currency free, with the city and coordinates on the Data plan.location.countrylocation.continentlocation.timezone
- Domain intelligenceWhether a domain is registered, its DNS records, its organization's ranges and disposable email.is_registeredhas_a, has_aaaa, has_mxdns
Download it from your code in one call.
Database API reference βEvery official client fetches the current ASN build to disk, as a link for your own runner or into memory, and checks it against its published checksums.
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"])
Trusted by
Data protection, ad tech, telecom and software companies on three continents.
- Assured Data Protection
- ASTRAD
- TAMradar
- Influentials
- Ross-Tech
- Solar Communications
- Paraty.com
- zepi
Common questions
Ten answers on ASN: what's in it, how often it's rebuilt and how to get it.
The data
5 questions
What does a row tell me?
One AS number, allocated by a registry or announced in global BGP: its holder, country, registry and allocation date, the holder's own domain, the kind of network it runs, the IPv4 space and prefixes it announces, and how its announcements fare under RPKI.
What do the type values mean?
isp, hosting, education, government or business: the kind of network the AS runs. business is also the default when no signal says otherwise.
What do the RPKI counts mean?
rpki_valid counts announcements a ROA authorizes, rpki_invalid those ROAs contradict with a wrong origin or a longer prefix than allowed, and rpki_not_found those no ROA covers.
Does num_ips include IPv6?
No. It counts the IPv4 addresses the AS originates in global BGP. IPv6 is counted in prefixes, as num_prefixes6.
What does ASN Extended add?
Fifteen columns more: each AS number's upstreams, peers and downstreams, its customer cone, its rank, its transit degree, whether it is Tier 1, and its siblings.
Updates and access
5 questions
How often is it rebuilt?
Daily. The metadata call answers when the current build landed and how many rows it holds, before you fetch it.
Which formats does it come in?
Gzipped CSV. It's keyed by AS number, so there is no address lookup to build.
Is it really free?
Yes. Create an account and download it from the console, or with your API key from the database API or any official client. It's licensed under CC BY-SA 4.0: credit InternetData and share what you build from it under the same license.
Is there a lookup API?
Yes. An AS lookup answers its name, country, registry, allocation date and domain on every plan, free included, and its type, num_ips and RPKI counts on the Data plan.
What if a row looks wrong?
Send it to us and we'll tell you what we hold on it and when it was last seen. Corrections land in the next build.
Free lookups, no sign-up.
Paste it into a terminal. Any address answers with its country, network and hostname. ASNs and domains answer too.
{"ip": "8.8.8.8","is_bogon": false,"is_tor": false,"is_relay": false,"is_anycast": true,"hostname": "dns.google","location": {"continent": "NA","continent_name": "North America","country": "US","country_name": "United States","timezone": "America/Los_Angeles","currency_code": "USD","currency_name": "Dollar","currency_symbol": "$","flag_emoji": "πΊπΈ","flag_unicode": "U+1F1FA U+1F1F8"},"asn": {"asn": 15169,"name": "Google LLC","domain": "google.com","prefix": "8.8.8.0/24","country": "US","rpki_status": "valid"},"tor": {},"relay": {}}
Every field on the Data plan.
A free API key answers every field on a daily allowance of lookups, with no card.