IP
Look up an autonomous system (ASN)
Find the organization, country and network type behind an ASN, and how many IP ranges it announces.
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
- The tool reads your input.
AS13335,as13335and13335are the same query. Numbers up to 4294967295, the largest 32-bit value, are accepted. - 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.
- 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.
- 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:
- 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.
- 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.
- 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.
- 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.
- 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 https://api.qelka.com/v1/ip \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"ip":"8.8.8.8"}'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?
How do I find the ASN of an IP address?
Who assigns AS numbers?
What is the difference between 16-bit and 32-bit ASNs?
What are private AS numbers?
What do AS0 and AS23456 mean?
Can one company have several ASNs?
Why does the ASN's country differ from where its addresses are used?
What does "Announced ranges" count?
How is the network type decided?
Should I block hosting ASNs?
Why is the organization name not the brand I know?
What is asdot notation?
Can the API look up an AS number?
asn object.Can I search for an AS by company name?
What is BGP?
Why does the lookup say the AS is not in the dataset?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.