IP tools

ASN Lookup

Look up public autonomous system registration data from its authoritative RDAP registry.

What is asn lookup?

An autonomous system number identifies a network participating in internet routing. IANA bootstrap data directs this lookup to the responsible registry.

How to find who an AS number belongs to

  1. Enter the asn you want to check and review any options.
  2. Select Look up to submit your request.
  3. Read the result, inspect its source and copy or download the response if needed.

Understanding the results

Name and handle
The network name and identifier recorded by the registry.
Start ASN and end ASN
The block of AS numbers covered by the record. Often it is a single number.
Organization and contacts
The organization that holds the AS number and its published contacts, including the abuse contact.
Events
When the registration was created and last changed.

Supported features and common uses

Registration data may include the ASN range, network name, country and events. This is registration information, not a live BGP routing table.

Troubleshooting

Check the input format if validation fails. Public data may be missing or redacted, and upstream services can time out or rate limit requests. A failed lookup is not proof that a domain or website is unavailable.

What an autonomous system is

The internet is a collection of independent networks that agree to carry each other’s traffic. Each of those networks is an autonomous system. Internet providers, cloud platforms, universities and large companies all run them. An autonomous system decides for itself which other networks it connects to and how traffic should flow through it.

Each one is identified by an autonomous system number, or ASN. Networks use these numbers when they announce which IP address ranges they can reach, using a protocol called BGP.

How AS numbers are written

An ASN is written as a plain number or with the letters AS in front, as in AS15169. The original numbers were 16 bits long, which allowed values up to 65535. That space ran short, and since 2007 AS numbers can be 32 bits long, with values up to 4294967295.

Some ranges are set aside for private use and never appear in a registry: 64512 to 65534, and 4200000000 to 4294967294. Networks use them internally, in the same way that home networks use private IP addresses.

Some well-known AS numbers

  • AS15169: Google.
  • AS13335: Cloudflare.
  • AS16509: Amazon.
  • AS8075: Microsoft.
  • AS32934: Meta.

Looking up one of these is a quick way to see what a complete record contains.

Who assigns AS numbers

AS numbers come from the same organizations that hand out IP addresses. IANA allocates ranges of numbers to the five regional registries, and each registry assigns individual numbers to networks in its region. A network normally qualifies when it connects to more than one upstream provider or needs a routing policy of its own.

Registration data and live routing are different things

This lookup tells you who holds an AS number and how to contact them. It does not show which IP address ranges the network announces or which networks it connects to. That information lives in the global routing table and changes from minute to minute.

To see live routing, use a BGP looking glass or a routing data service such as RIPEstat or Hurricane Electric’s BGP Toolkit. Those services show the address ranges an AS announces and the networks next to it.

When an ASN lookup is useful

  • Tracing unwanted traffic back to the network responsible, so you can contact its abuse desk.
  • Checking that a server really belongs to the provider it claims to be with.
  • Reading traceroute output, where each stretch of the path belongs to a different AS.
  • Writing firewall or routing rules that apply to a whole network.
  • Researching a provider before you connect to it or buy service from it.

Finding the AS number for an IP address

This tool takes an AS number as its input. If you are starting from an IP address, run an IP lookup first to see which organization holds the block. Many routing data services also accept an IP address and return the AS that announces it.

A worked example

Look up AS13335. The record names Cloudflare as the holder and shows which regional registry assigned the number. It lists contacts, including one for abuse reports, and the dates when the registration was created and last changed. The start and end ASN are the same, because the record covers one number.

Nothing in the result lists IP addresses. To learn which address ranges AS13335 announces, you would take the number to a routing data service.

How networks connect to each other

Autonomous systems exchange traffic under two kinds of arrangement. In a transit arrangement, a network pays a larger one to carry its traffic to the rest of the internet. In a peering arrangement, two networks agree to exchange traffic between their own customers, usually without payment. Many of these connections are made at internet exchange points, where hundreds of networks meet in one building.

The mix of transit and peering decides the route your traffic takes, and it is why a path between two nearby cities can pass through a third.

Terms used on this page

  • Autonomous system: a network that manages its own routing.
  • ASN: the number that identifies an autonomous system.
  • BGP: the protocol networks use to tell each other which addresses they can reach.
  • Prefix: a block of IP addresses announced by a network.
  • Peering: an agreement between two networks to exchange traffic directly.
  • Transit: a paid service in which one network carries another’s traffic to the whole internet.
  • Regional registry: one of the five organizations that assign AS numbers and IP addresses.

When the record looks thin

Registries publish different amounts of detail. Some records include a full organization entry with several contacts, and others show little more than a name and a handle. Older registrations, made before current rules, can be especially sparse. A thin record is normal and does not mean the lookup failed.

Learn more: WHOIS vs RDAP: what changed and why it matters.

Frequently asked questions

Good questions. Clear answers.
What format should I enter?

Enter a number such as 15169 or its AS-prefixed form, AS15169.

Does this show live routes?

No. It retrieves registration records rather than current BGP announcements.

What is the difference between an ASN and an IP address?

An IP address identifies a single connection point. An ASN identifies a whole network that manages many address ranges and decides how traffic reaches them.

How do I find which ASN an IP address belongs to?

Routing data services such as RIPEstat accept an IP address and return the AS that announces it. The IP lookup on this site shows the organization that holds the address block.

Why do some companies have several AS numbers?

Mergers, separate regional networks and different business units all lead to more than one. Each number can have its own routing policy.

What are private AS numbers?

Numbers reserved for use inside a network or between a customer and a provider. They are removed before routes reach the wider internet, and they have no registry record.

What is BGP?

The Border Gateway Protocol. Networks use it to tell each other which IP address ranges they can deliver traffic to, and routers use that information to choose paths.

Can I get my own AS number?

Yes, if you run a network that needs one. You apply to your regional registry, usually through a provider that sponsors the request, and show that you connect to more than one network.

Why does the record list a different country from where the network operates?

The record shows where the holder is registered. A network can operate in many countries under a single AS number.

Is an ASN the same as an ISP?

Not quite. An internet provider usually runs one or more autonomous systems, but so do cloud platforms, universities and large companies that are not providers.

How many AS numbers are in use?

Many tens of thousands appear in the global routing table, and the number grows each year. The 32-bit number space has room for billions.

Do I need to type the AS prefix?

No. Both 13335 and AS13335 work.

What does the handle in the record mean?

It is the registry’s own identifier for the record or for a contact. Registries use handles to link an AS number to its organization and contacts, and you can quote one when you write to the registry.

Can two networks share one AS number?

No. Each AS number is assigned to one holder. A company can run several networks under the same number, but two unrelated organizations cannot use the same one on the public internet.