IPdidi
English

ASN lookup

Enter an AS number, IP address or domain to see which organization runs the network, where it's registered and every IP range it announces to the internet.

Result

AS number
—
Organization
—
AS name
—
Registered in
—
Registry
—
Network type
—Based on the network's name and a list of known hosting providers. A match is a strong hint; no match proves nothing.
IPv4 addresses
—Unique IPv4 addresses in the announced prefixes, counting overlapping prefixes once.
Announced prefixes
—
BGP neighbors
—
Main upstream providers
—

Look up an ASN from the command line

Add an AS number, IP address or domain after /api/asn/ to get the same details, including the full prefix lists, as JSON.

$ curl https://ipdidi.com/api/asn/13335

$ curl https://ipdidi.com/api/asn/8.8.8.8

What is an ASN?

The internet is made of tens of thousands of separate networks run by internet providers, mobile carriers, cloud companies, universities and large businesses. Each one is called an autonomous system (AS) and gets a unique number, the ASN, from a regional internet registry such as ARIN, RIPE NCC or APNIC.

Networks use BGP, the Border Gateway Protocol, to tell each other which IP ranges they can deliver traffic to. Every route on the internet carries the AS numbers it passes through, so the ASN is how the internet knows who is responsible for an IP address. Cloudflare is AS13335, Google is AS15169 and China Telecom's backbone is AS4134.

What this lookup shows

Find the ASN of an IP address

Enter an IP address and the lookup first finds which AS announces it and the exact prefix it sits in, then shows that network's details. A domain name works too: it's resolved to its IP address first. Leave the box empty and the page shows the network you're connected through right now.

This is useful for blocking or allowing a whole network in a firewall, checking who hosts a website, reporting abuse to the right provider, or finding out whether a VPN or proxy IP really belongs to the provider it claims.

Is this IP from a datacenter or a home connection?

The AS tells you what kind of network an IP belongs to. Addresses from Amazon, Google Cloud, DigitalOcean, OVH or Hetzner are datacenter IPs, which streaming services, banks and websites with bot protection often treat with suspicion. Addresses from consumer internet providers and mobile carriers are residential IPs.

The network type row gives a quick answer based on the AS name. For a closer look at one address, including proxy, VPN and Tor lists, use the IP fraud score check.

Questions

What does ASN stand for?

ASN stands for autonomous system number: a unique number that identifies one network, or a group of networks run by one organization, on the internet. Numbers up to 65535 are 2-byte ASNs; newer ones go up to 4294967295.

How do I find my own ASN?

Open this page with the search box empty, or press My network. It shows the AS number of the internet provider or VPN your connection goes through right now.

How do I get all IP ranges of an AS number?

Enter the AS number, for example AS13335, and the announced prefixes section lists every IPv4 and IPv6 range the network routes. Use Copy all to copy a list, or call /api/asn/13335 to get it as JSON.

Why does one company have several AS numbers?

Large companies often use separate ASNs for different regions, acquired businesses or services, such as a cloud platform and an office network. Amazon, Microsoft and Google each run many.

Why is the registered country different from where the IP is used?

The country shows where the AS number was registered, usually the company's headquarters. Global networks announce IP ranges used in many countries, so use the IP lookup to see where a single address is located.

Guides