ASN Lookup |
An ASN lookup shows who runs an autonomous system, the network that routes a set of IP addresses, such as AS15169 for Google. Enter an AS number or an IP to see the owner, its registry record, its IPv4 and IPv6 prefixes and its upstream providers.
What Is an Autonomous System Number (ASN)?
An ASN (autonomous system number) identifies a network that routes its own IP addresses on the internet, such as an ISP, a cloud provider or a large company: AS15169 is Google, AS7922 is Comcast. Networks use it in BGP, the internet's routing protocol, to announce which IP ranges they carry. Almost every public IP address in use sits in a range announced by an ASN, which is why an IP lookup shows an "ASN" line: it names the network your traffic comes from.
(ASN also stands for Associate of Science in Nursing and Advance Shipping Notice; this page is about internet networks.)
This ASN lookup queries the Regional Internet Registry (RIR) database via RDAP (RFC 7480) or legacy WHOIS (port 43, RFC 3912) to return the registered organization, network name, and registry handle for any Autonomous System Number. An ASN is a globally unique 16-bit or 32-bit identifier assigned by IANA and delegated to one of five RIRs — ARIN, RIPE NCC, APNIC, LACNIC, or AFRINIC — to identify a network that participates in BGP routing on the public internet.
| Fact | Detail |
|---|---|
| Primary protocol | RDAP (RFC 7480) via rdap.org/autnum/ |
| Fallback protocol | Port 43 WHOIS at whois.iana.org (RFC 3912): names the responsible registry only |
| Data source | ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC |
| Accepted input formats | AS15169, ASN15169, 15169, or an IPv4/IPv6 address (matched to its ASN with MaxMind GeoLite2) |
| 16-bit ASN range | 0–65,535 — private use reserved: 64,512–65,534 (RFC 6996) |
| 32-bit ASN range | 0–4,294,967,295 — private use reserved: 4,200,000,000–4,294,967,294 (RFC 6996) |
| What we keep | Nothing: lookups aren't logged or stored by this tool |
How to Find the ASN of an IP Address
Type the IP address in the box above: the tool finds the network that announces it, then shows that network's registry details. For many IP addresses at once, or just the AS number and operator, use our IP to ASN lookup. From a terminal:
whois -h whois.cymru.com " -v 8.8.8.8"
Well-Known ASNs
The AS numbers you meet most often in IP lookups, traceroutes and server logs. Click one to see its live registry record and the prefixes it announces today.
| ASN | Network name | Operator | Type |
|---|---|---|---|
| AS15169 | Content, cloud, public DNS 8.8.8.8 | ||
| AS13335 | CLOUDFLARENET | Cloudflare | CDN, public DNS 1.1.1.1, WARP |
| AS16509 | AMAZON-02 | Amazon | Cloud (AWS) |
| AS8075 | MICROSOFT-CORP-MSN-AS-BLOCK | Microsoft | Cloud (Azure), Microsoft 365 |
| AS32934 | Meta | Content (Facebook, Instagram, WhatsApp) | |
| AS20940 | AKAMAI-ASN1 | Akamai | CDN |
| AS7922 | COMCAST-7922 | Comcast (Xfinity) | Home ISP, US |
| AS7018 | ATT-INTERNET4 | AT&T | ISP and transit, US |
| AS701 | UUNET | Verizon Business | Transit, US |
| AS3356 | LEVEL3 | Lumen | Transit (tier 1) |
Large companies run more than one: Amazon also uses AS14618, Microsoft AS8068 and others, so an IP of the same company can show a different ASN.
Free ASN Databases and APIs
No single source has everything: registries know who holds an AS number, routing data shows what it announces today. These are the free sources network teams use, including the three this page is built on.
| Source | What it gives | How to use it |
|---|---|---|
| RDAP (the five registries, via rdap.org) | Holder, network name, country, contacts: the official record | JSON over HTTPS: https://rdap.org/autnum/15169. Used on this page |
| RIPEstat Data API (RIPE NCC) | Announced prefixes, upstreams and neighbours, from the RIS route collectors | Free JSON API, no key. Used on this page |
| MaxMind GeoLite2 ASN | IP range to ASN and organization, as a downloadable database | Free with an account (MMDB or CSV). Used on this page for IP to ASN |
| Team Cymru IP to ASN | IP to ASN, prefix, country and registry | WHOIS and DNS, many IPs at once (commands below) |
| PeeringDB | What the network says about itself: type, traffic level, peering policy, exchange points | Website and free API, for networks that registered |
| Hurricane Electric BGP Toolkit (bgp.he.net) | Prefixes, peers and graphs; search by company name | Website |
What the ASN Lookup Results Mean
| Field | What It Means | Example |
|---|---|---|
| ASN | The Autonomous System Number in AS-prefixed format, normalized from your input | AS15169 |
| Network Name | Short identifier for the AS registered at the RIR — the AS handle | |
| Legal Name | Full legal name of the organization that controls the AS, from the RDAP entity vCard | Google LLC |
| Handle / Org ID | Registry-assigned identifier for the organization record at the RIR | GOGL |
| HQ Address | Mailing address on file with the RIR — may be a legal address, not operational location | 1600 Amphitheatre Pkwy, Mountain View, CA, US |
| Announced prefixes | The IP ranges this AS announces in BGP right now, and how many IPv4 addresses they cover (RIPEstat) | 8.8.8.0/24 · 2001:4860::/32 |
| Upstream providers | Networks seen just before this AS in BGP paths: who it buys transit from. Strength = how many RIPE route collectors see the link | AS3356 Lumen · strength 120 |
| Customers (downstream) | Networks seen just after this AS in BGP paths: who it provides transit to | 1,234 |
| Registry Routing Record | Full RDAP JSON response from the RIR — the raw autnum object with all entities | JSON object, copy-ready |
How This ASN Lookup Works
The tool sends an HTTPS GET request to
rdap.org/autnum/{asn}. The rdap.org proxy routes the query
to the authoritative RIR RDAP endpoint — ARIN for North American ASNs,
RIPE NCC for European and Middle Eastern ASNs, APNIC for Asia-Pacific,
LACNIC for Latin America, and AFRINIC for Africa — and returns a structured
JSON response conforming to RFC 9083 (RDAP JSON responses).
If the RDAP endpoint returns an error or is unreachable, the tool falls back
to a port 43 WHOIS query at whois.iana.org using the
AS{number} query format. IANA's answer names the regional registry
that holds the AS number, not its owner; the raw text is shown as-is in the
Registry Routing Record panel, and the registry's own WHOIS server (see the
commands below) gives the full record.
The routing section comes from RIPEstat, run by the RIPE NCC: it shows what the AS announces and which networks it connects to, as seen by the RIPE RIS route collectors around the world. We ask RIPEstat only when you look an AS up, and keep its answer for 24 hours.
ASN numbers exist in two formats per RFC 5396: 2-byte (16-bit, AS0–AS65535, introduced with BGP-4) and 4-byte (32-bit, AS0–AS4294967295, standardized in 2007 per RFC 4893 to address exhaustion of the 65,536-ASN pool). Private-use ASNs are reserved per RFC 6996: 64512–65534 for 16-bit and 4200000000–4294967294 for 32-bit. Private ASNs are not announced on the public internet and will return no RIR RDAP record.
Command line
How to Look Up an ASN From the Command Line
The whois command performs ASN lookups natively on
Linux and macOS. dig and nslookup don't query
registry databases, but Team Cymru's free IP-to-ASN service answers over
both WHOIS and DNS (see the last block).
Mac / Linux whois
whois AS15169
The system whois client routes automatically to the correct RIR.
To query a specific RIR's port 43 server directly:
whois -h whois.arin.net AS15169 # ARIN — North America
whois -h whois.ripe.net AS3333 # RIPE NCC — Europe, Middle East
whois -h whois.apnic.net AS4608 # APNIC — Asia-Pacific
whois -h whois.lacnic.net AS28573 # LACNIC — Latin America
whois -h whois.afrinic.net AS37153 # AFRINIC — Africa
Windows PowerShell (RDAP — no install required)
Invoke-RestMethod "https://rdap.org/autnum/15169" | ConvertTo-Json -Depth 10
Returns the same structured RDAP JSON that the online tool displays.
Pipe to Out-File asn15169.json to save the result locally.
Windows Command Prompt with Sysinternals whois.exe
Windows has no built-in whois command. Download
whois.exe from the Microsoft Sysinternals suite, then:
whois AS15169
The online tool queries via RDAP at rdap.org/autnum/ — results may
differ from a local whois client if registration data
has changed since your client last resolved the RIR endpoint.
Mac / Linux Team Cymru: IP to ASN over WHOIS or DNS
whois -h whois.cymru.com " -v 8.8.8.8" # IP to ASN, prefix, country, registry
whois -h whois.cymru.com " -v AS15169" # AS name, country, registry, allocation date
dig +short 8.8.8.8.origin.asn.cymru.com TXT # same over DNS: write the IP's octets in reverse
dig +short AS15169.asn.cymru.com TXT # AS name over DNS
The DNS form needs the IP's four numbers reversed: 216.90.108.31 is queried as
31.108.90.216.origin.asn.cymru.com. The answer is one line:
"ASN | prefix | country | registry | date". On Windows, use
nslookup -type=TXT 8.8.8.8.origin.asn.cymru.com.
What Is an ASN Lookup Used For?
A security analyst receives alerts showing repeated unauthorized access attempts from multiple IP addresses. Routing all source IPs through IP to ASN Lookup reveals they originate from a single ASN. The ASN lookup returns the registered organization, and the raw registry record usually lists its abuse contact, letting the analyst file one abuse report with the network operator rather than reporting individual IPs one at a time.
A network engineer preparing to establish a BGP peering session with an upstream provider needs to confirm the organization behind the remote ASN before adding it to the router configuration. The ASN lookup confirms the legal entity, registry handle, and RIR of record, verifying the AS is operated by the expected organization before any routing policy is applied.
A threat intelligence analyst tracking a botnet campaign identifies multiple C2 servers across different IP addresses. IP to ASN Lookup maps all of them to the same two ASNs. The ASN lookup names the company behind both networks, and the routing section lists every prefix they announce, so the analyst can block those ranges at once rather than chasing individual IPs.
Frequently Asked Questions
How do I look up an ASN?
What is my ASN?
What is the difference between an ASN and an IP address?
Who assigns AS numbers?
Can one company have several ASNs?
How do I find all IP ranges (prefixes) of an ASN?
Can I look up an ASN by company name?
What is the ASN in an IP address lookup?
What is a private ASN?
Next steps