Skip to content

IP

Look up an autonomous system (ASN)

Find the organization, country and network type behind an ASN, and how many IP ranges it announces.

Try an example

How to read the result

The header shows the AS number, such as AS13335. You can type the number with or without the AS prefix, or an IP address, in which case the tool shows the AS that announces it.

Field What it means What to do with it
Organization The name registered for the AS. It can be a legal entity rather than a brand. Search by number to compare across tools.
Country The country our data associates with the network as a whole, with its ISO 3166-1 alpha-2 code. Not the location of every address: a network can operate in many countries. Use the IP lookup for one address.
Network type Our classification: Hosting or cloud, Internet service provider, Mobile network, Business, Education, Government or Unknown. The basis for network-level rules, such as rate limits for hosting networks. See the table below.
Announced ranges The number of IPv4 and IPv6 ranges our data attributes to the AS, shown as IPv4 n · IPv6 n. A sense of size. A large count with a hosting type suggests a cloud platform; a handful of ranges, a small network.
Sample prefixes A few of those ranges in CIDR notation. Pick an address inside one and run the IP lookup to see its location and flags.
Bulk CSV upload Locked. Runs the IP lookup over a CSV of up to 2,000,000 addresses; every row gets its ASN, organization and network type. Needs a free account. Useful to group past traffic by network.
API access Locked. POST /ip returns the asn object (number, organization, type) of any address, with the flags and the risk score, for 1 credit per address. Needs a free account, which includes 100 credits every month.

You can run 10 lookups a day without an account, and ten times as many once signed in.

How the check works

  1. The tool reads your input. AS13335, as13335 and 13335 are the same query. Numbers up to 4294967295, the largest 32-bit value, are accepted.
  2. If you typed an IP address, it first rejects private, loopback, documentation and other special-purpose addresses (RFC 6890), which belong to no public network. Otherwise it finds the range containing the address in IPinfo Lite and reads the ASN attributed to it.
  3. It reads the AS record: the registered organization, the associated country, our network type classification, the count of IPv4 and IPv6 ranges and a few sample prefixes.
  4. If the number has no record, it says so instead of returning an empty card.

What the lookup cannot show you:

  • Live routing. The data is a snapshot of which ranges belong to which AS, not a BGP table. It does not show paths, upstream providers, peers or whether a route is announced right now.
  • Who uses each range. An AS can lease or sub-allocate ranges to customers, and the record names the AS holder, not the end user.
  • Route security. Whether the AS signs its routes with RPKI is not part of this data.
  • The newest changes. A range that moved between networks appears under its new AS after the next data release.

What an AS announces, and why it matters

Autonomous systems exchange routes with BGP, the Border Gateway Protocol (RFC 4271). Each AS announces the address prefixes it can deliver traffic to, and its neighbors pass those announcements on, adding their own number to the path. That path of AS numbers is how traffic finds its way across the internet, and it is why a public address can be traced back to the AS that originates its prefix.

Announcements are claims, not proofs. An AS can announce a prefix it does not hold, by mistake or on purpose, and pull traffic away from the real owner. RPKI (RFC 6480) lets the holder of a prefix publish signed Route Origin Authorizations that name the AS allowed to originate it, and routers that perform origin validation (RFC 6811) can reject announcements that contradict them. The lookup does not show RPKI status, but the sample prefixes give you ranges to check in a routing tool if a network's announcements look wrong.

AS number ranges

IANA keeps the registry of AS numbers. Most numbers go to the regional internet registries, which assign them to networks; a few ranges are set aside.

Range Status Defined in
0 Reserved, must not appear in BGP RFC 7607
1 to 64495 Public 16-bit numbers, assigned by the regional registries, except 23456 IANA registry
23456 AS_TRANS, the placeholder old routers see for 32-bit numbers RFC 6793
64496 to 64511 Documentation and sample code RFC 5398
64512 to 65534 Private use RFC 6996
65535 Reserved RFC 7300
65536 to 65551 Documentation and sample code, 32-bit RFC 5398
65552 to 131071 Reserved by IANA IANA registry
131072 to 4199999999 Public 32-bit numbers, handed to the regional registries in blocks as they need them IANA registry
4200000000 to 4294967294 Private use, 32-bit RFC 6996
4294967295 Reserved RFC 7300

The five regional internet registries are AFRINIC, APNIC, ARIN, LACNIC and the RIPE NCC. Numbers in the documentation ranges, such as AS64500, are safe to use in examples because no real network holds them.

Writing AS numbers

Form Example Notes
Plain number 13335 Accepted.
With prefix AS13335 or as13335 Accepted. The prefix is the usual way to write an ASN in text.
Asplain, 32-bit 65551 Accepted. RFC 5396 recommends this form for every AS number.
Asdot, 32-bit 1.15 for 65551 Not accepted. Convert it: the part before the dot times 65536, plus the part after it.
An IP address 8.8.8.8 Accepted. The tool shows the AS that the address belongs to.

Network types

The type is our classification of each AS, from its registered name and a curated list of hosting and cloud networks. It describes the network as a whole, which is what network-level rules act on.

Type What runs there What it means for your traffic
Hosting or cloud Servers: websites, APIs, VPN endpoints, scrapers, cloud desktops, CI runners. Requests come from machines. Authenticate API clients with keys; add verification for consumer signups. Sets the data center flag.
Internet service provider Home and office broadband. Ordinary users. Residential proxies hide here too, without any flag.
Mobile network Phones and mobile hotspots. Many users share addresses that change. Never block a single mobile address for long.
Business A company's own network: offices, corporate VPN exits. Several employees behind few addresses. Rate limits per address hit the whole company.
Education Universities and schools. Large populations behind few addresses. Per-address limits must allow for that.
Government Public administration networks. Ordinary staff traffic, which can arrive through shared gateways.
Unknown Not classified, or no conclusive signal in the name. Treat as neutral. Look at the organization to decide.

Choosing the key for a network rule

The same rule can be written against a single address, a prefix, an AS or a network type. Each key trades precision for stability.

Rule key Stays valid Collateral damage Good for
One IP address Until the address is reassigned, which on mobile and dynamic lines can be soon Everyone sharing it behind carrier-grade NAT or a company gateway A single abusive server with a static address
A prefix, such as a /24 or a /64 Until the network renumbers Every host in that block A known segment, such as one hosting customer's range
An AS number As long as the network exists Every customer of that network A network whose traffic to you has no legitimate users
A network type Always, as a category Every network of that kind Defaults, such as stricter limits for all hosting networks

Start broad with network types for default limits, then add specific AS numbers and prefixes as exceptions in either direction. A single IP address is the weakest key: it is the one most likely to belong to someone else next week.

Look up your own network

Other services judge your traffic with these same fields. Open What is my IP to get the ASN you browse from, then look it up here:

  • From an office, expect Business or Internet service provider. If you see Hosting or cloud, your company routes traffic through a cloud gateway, and sites that are strict with data centers will be strict with you too.
  • From your production servers, expect Hosting or cloud. Partners that rate-limit hosting networks apply those limits to your API calls; ask them to allowlist your AS or your prefixes rather than single addresses, which change when you redeploy.
  • If the network type of your own AS looks wrong, write to support@qelka.com with the number.

Rate-limit or allow by network

Network-level rules need less upkeep than per-address rules, because a network keeps its AS number while the addresses inside it are added, moved and reused. Set them up in this order:

  1. Group your traffic by AS. Run the addresses from your logs through the IP endpoint, or the bulk upload, and count requests per ASN and network type.
  2. Allowlist what you know. Your own hosting providers, monitoring services and partners' networks should never hit your abuse rules. Look up their AS here to get the exact number.
  3. Apply rate limits by type. Hosting networks get limits suited to automated clients; mobile, business and education networks get generous per-address limits, since many people share each address.
  4. Add verification rather than blocks. Send signups from hosting networks through an extra step, and keep hard blocks for a specific AS whose traffic to you is abusive and has no legitimate users.
  5. Recheck allowlists when a provider announces new ranges: the AS number stays the same, so rules written by AS keep working.

The VPN and data center guide shows how to combine the network type with the Tor, VPN and proxy flags, and the IP endpoint reference documents the asn object returned for every address.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/ip \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/ip", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    ip: "8.8.8.8",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M84QZDZHEMMVZCGDFD9ZD53H",
  "object": "ip",
  "input": "8.8.8.8",
  "version": 4,
  "country": {
    "code": "US",
    "name": "United States"
  },
  "region": "California",
  "city": "Mountain View",
  "asn": {
    "number": 15169,
    "org": "Google LLC",
    "type": "hosting"
  },
  "flags": {
    "tor": false,
    "vpn": false,
    "proxy": false,
    "datacenter": true
  },
  "risk": {
    "score": 35,
    "level": "medium"
  },
  "credits_used": 1,
  "cached": false
}

Bulk and pricing

  • Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
  • Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
  • The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.

Frequently asked questions

What is an ASN?
An autonomous system number identifies a network with its own routing policy on the internet: an internet provider, a cloud platform, a university or a large company. RFC 1930 describes an autonomous system as a connected group of IP prefixes with a single, clearly defined routing policy. Networks use their AS numbers in BGP to announce which address ranges they deliver traffic to.
How do I find the ASN of an IP address?
Type the address into this tool instead of an AS number. It finds the range that contains the address, reads the ASN that IPinfo Lite attributes to that range, then shows the network's details. The IP lookup shows the same ASN next to the location and the flags. Private and documentation addresses have no ASN and are rejected.
Who assigns AS numbers?
IANA allocates blocks of AS numbers to the five regional internet registries: AFRINIC, APNIC, ARIN, LACNIC and the RIPE NCC. Each registry assigns numbers to networks in its region under its own policy, and its registration records name the holder. That is why one organization can hold numbers from several registries if it operates on several continents.
What is the difference between 16-bit and 32-bit ASNs?
The original AS numbers were 16 bits, from 0 to 65535. RFC 6793 extended BGP to 32-bit numbers, up to 4294967295, as the 16-bit space ran out. Both kinds work the same way. An old router that only understands 16-bit numbers sees AS23456 in place of any 32-bit number. This tool accepts both kinds, written as plain decimal numbers.
What are private AS numbers?
RFC 6996 reserves 64512 to 65534 and 4200000000 to 4294967294 for private use, the AS counterpart of private IP addresses. Networks use them internally, for example between a customer and its provider, and strip them before routes reach the public internet. They never identify one organization, so the lookup has no record for them.
What do AS0 and AS23456 mean?
AS0 is reserved by RFC 7607 and must not appear in BGP announcements. AS23456, called AS_TRANS in RFC 6793, stands in for a 32-bit AS number when a route passes through a router that only understands 16-bit numbers. Neither one belongs to a real network, so seeing them in a log means a placeholder, not an organization.
Can one company have several ASNs?
Yes. A company can run separate autonomous systems for different regions, for acquired businesses that kept their own networks, or for separate products such as a cloud platform and a consumer service. The lookup shows one AS at a time, so a single company's addresses can be spread across several entries with similar organization names.
Why does the ASN's country differ from where its addresses are used?
The country shown is the one our data associates with the network as a whole. A network registered in one country can announce ranges used on several continents, as global carriers and cloud platforms do. For the location of one particular address, use the IP lookup, which reads per-range data.
What does "Announced ranges" count?
It counts the IPv4 and IPv6 ranges that our copy of IPinfo Lite attributes to this AS. That approximates what the network announces in BGP, but it is not read from a live routing table: ranges are counted as the database splits them, and recent changes appear after the next data release. Read it as a sense of size, not as an exact prefix count.
How is the network type decided?
From two inputs: the network's registered name and a curated list of hosting and cloud networks. A name that identifies a university points to education, a mobile carrier's name to mobile, and so on. When neither input is conclusive, the type stays Unknown rather than becoming a guess. If a classification looks wrong, write to support@qelka.com with the AS number.
Should I block hosting ASNs?
Not across the board. Hosting networks carry VPN servers, scrapers and fraud tools, but also company proxies, cloud desktops, uptime monitors and your partners' integrations. Use the type to choose a treatment: rate limits and extra verification for consumer flows, normal access for API clients that authenticate with keys. Block one specific AS only when its traffic to you is consistently abusive.
Why is the organization name not the brand I know?
The organization is the name registered for the AS, which can be a legal entity, a parent company or an older name kept after a rebrand. A brand can also run on someone else's network, such as a reseller on a wholesale carrier's AS. When you need to recognize a network across tools and logs, search by its number, which does not change with the name.
What is asdot notation?
RFC 5396 defines two ways to write 32-bit AS numbers. Asplain is the plain decimal number, such as 65551. Asdot splits it into two 16-bit halves joined by a dot, so 65551 becomes 1.15. RFC 5396 recommends asplain, and this tool only accepts it: to convert, multiply the part before the dot by 65536 and add the part after it.
Can the API look up an AS number?
Not by number. The API's IP endpoint takes an address and returns its ASN, organization and network type with the rest of the IP result, for 1 credit. Looking up an autonomous system by its number is what this free tool does, with 10 checks a day without an account. The IP endpoint reference describes the asn object.
Can I search for an AS by company name?
Not in this tool: it looks up an AS number or an IP address. To find a company's AS, take an address you know belongs to its own network, such as one of its mail servers from an MX lookup, and enter it here. A website's address is a weaker clue, since it can belong to a hosting provider or a content delivery network rather than to the company.
What is BGP?
BGP, the Border Gateway Protocol (RFC 4271), is how autonomous systems tell each other which address prefixes they can reach. Each AS announces its own prefixes and passes on routes learned from its neighbors, adding its number to the path. Routers choose among the paths they receive. When no AS announces a prefix any more, traffic to it has nowhere to go.
Why does the lookup say the AS is not in the dataset?
The number is well formed, but our data holds no record for it. That is the case for private and documentation numbers, reserved values such as AS0, numbers assigned very recently and networks that announce no ranges. For an IP address, the similar message means the range has no ASN in IPinfo Lite, for example because no network announces it.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.