What is an ASN

An ASN is the number of an ISP's or carrier's network on the internet; it shows who an IP address belongs to.

Updated · Prokso editorial team

Key takeaways
  • An ASN is an autonomous system number: the number of an ISP's, carrier's or data center's network on the internet.
  • Numbers are issued by regional registries: RIPE NCC for Ukraine and Europe, ARIN for the USA.
  • In Prokso the network is set in the username, for example LOGIN__cr.de;asn.3209; traffic with an ASN choice counts double.
  • The ASN of an address is shown by My IP, a request to prokso.com/ip through the proxy, whois and RIPEstat.

The internet is made of tens of thousands of separate networks: home ISPs, mobile carriers, data centers, clouds, universities and large companies. A network with a common routing policy is called an autonomous system, and its number is an ASN (Autonomous System Number), for example AS15895 for Kyivstar.

From the ASN a website understands who an IP address belongs to and what type it is. A site treats an address from a mobile carrier's network and an address from a data center network differently. In proxies, choosing an ASN lets you get an address of a specific ISP or carrier. You need this when an account is "used to" one network and a sudden change of provider raises questions.

In Prokso the ASN is set in the advanced mode of the generator. Traffic with an ASN choice counts double, and whether addresses of the network are found depends on the pool. Below: how the numbers work, who issues them, how to find the ASN of any address and how to request the network you need.

Autonomous systems and BGP in plain words

Each autonomous system announces to its neighbors which blocks of IP addresses (prefixes) belong to it. It does so with BGP (Border Gateway Protocol, RFC 4271). Routers exchange these announcements and build a packet's path as a chain of AS numbers: from the network where the site sits to the network of your ISP.

So an ASN is not just "the provider's name". It is the number under which a network is visible to the rest of the internet. Geolocation databases and IP lookup services take from routing data which number announces a prefix, and from the registry the organization's name. That is how a line like "AS3320 Deutsche Telekom AG" appears.

Who issues the numbers and what kinds exist

IANA distributes the numbers among five regional internet registries (RIRs), which issue them to networks in their region.

RegistryRegionExample countries
RIPE NCCEurope, the Middle East, part of Central AsiaUkraine, Poland, Germany, the UK, France, Turkey
ARINNorth America and part of the CaribbeanUSA, Canada
APNICAsia-PacificJapan, Australia, India
LACNICLatin America and part of the CaribbeanBrazil, Mexico, Argentina
AFRINICAfricaSouth Africa, Nigeria, Kenya

At first a number took 2 bytes, that is, it ran from 1 to 65535. When numbers started to run out, 4-byte ASNs appeared (RFC 6793) with more than four billion values, which is why you see both five-digit and ten-digit numbers. Some ranges are reserved: numbers 64512-65534 and 4200000000-4294967294 are meant for private networks (RFC 6996) and are not announced on the internet.

How to read the ISP line on the My IP page

On the My IP page the ISP line shows the network number and the organization name, for example AS3320 and the operator's name. The name usually reveals the type of network. Words such as hosting, cloud or datacenter point to servers, while a known home ISP or mobile carrier points to ordinary users.

Sites read the same field from their own databases. So if you bought residential proxies and the ISP line shows a hosting company, something in the chain is wrong: perhaps the program sends traffic through a different proxy or goes direct.

How to request a specific network in the login

In advanced mode the ASN is added to the login after the country: LOGIN__cr.de;asn.3209. The country and the network must match: the ASN of a German ISP returns no addresses if the login says Poland. You can combine an ASN with a city, but every extra condition narrows the choice, and sometimes no address fits at all.

Set an ASN only where it really matters, for example when an account has always worked from one carrier's network. For price monitoring or checking ads by country, the country alone is enough, and it costs nothing above the regular rate. Prices per GB are on the pricing page.

How to check the ASN of an address: three ways

The first way is the My IP page mentioned above. The second is a request to https://prokso.com/ip through the proxy. The response comes as JSON with the fields ip, country, city, asn and org:

curl -x http://gw.prokso.com:823 --proxy-user "LOGIN__cr.de;asn.3209:PASSWORD" https://prokso.com/ip

The quotes are needed because of the semicolon in the username: without them the shell cuts the username short. If the asn field shows a different number from the one you requested, check the country in the username and see the article "The proxy shows a different city": the geo databases of websites also disagree.

The third way is lookup services that work for any address, not only yours. The Team Cymru whois server returns the AS number, prefix, country, registry and network name. The same service also answers over DNS to a TXT query in which the parts of the address are written in reverse order (for 8.8.4.4 it is 4.4.8.8):

whois -h whois.cymru.com " -v 8.8.4.4"
dig +short TXT 4.4.8.8.origin.asn.cymru.com
whois -h whois.ripe.net AS15895

The last command shows the record of the number itself in the RIPE NCC database: name, organization and contacts. RIPEstat gives the same in a browser: for a number it shows the prefixes it announces and the neighboring networks. For US networks, look at the ARIN database.

Example networks from the Prokso provider list

The dashboard generator has "Carrier (ASN)" hints for several countries. Here are some of them; each provider's page has details and examples.

NetworkCountryASNTypeUsername string
KyivstarUkraineAS15895mobile carrierLOGIN__cr.ua;asn.15895
PlayPolandAS39603mobile carrierLOGIN__cr.pl;asn.39603
Orange PolskaPolandAS5617mobile and home networkLOGIN__cr.pl;asn.5617
Deutsche TelekomGermanyAS3320mobile and home networkno addresses in the pool right now (08.11.2026)
EEUKAS12576mobile carrierno addresses in the pool right now (08.11.2026)
VerizonUSAAS6167mobile carrierLOGIN__cr.us;asn.6167
ComcastUSAAS7922home ISPLOGIN__cr.us;asn.7922

The full list is on the proxies by provider page. The availability of a specific network's addresses in the pool changes during the day, so before a large task check with one or two requests that addresses are being issued.

One carrier can have several ASNs

Large companies often have several numbers: separate ones for the mobile and fixed networks, for different countries, or ones left over after mergers. So the carrier's name in the ISP line does not yet mean it is the network you requested. Compare the number, not the name.

To find all of a company's numbers, search for its name in the registry database (RIPE Database, ARIN Whois) or in RIPEstat. In a Prokso username you can list several ASNs separated by commas, for example to get addresses from both networks of one carrier.

Network type and how sites react

Network typeName in the ASNHow sites usually treat it
Home ISPA broadband providerAs an ordinary visitor
Mobile carrierA 4G/5G operatorAs a phone user; one address is often shared by many people
DatacenterHosting or cloudChecked more closely where real people are expected

Common misconceptions about ASNs

  • "The ASN sets the city." No. The number describes the network, while geolocation databases determine the city separately and approximately, especially for mobile carriers. The city is set in the username as a separate condition.
  • "Same ASN, same address." One network has thousands of addresses. The ASN narrows the choice to a carrier, while the mode decides whether you keep one address: "Rotating (new IP per request)" or "Sticky session".
  • "A mobile carrier always means a mobile address." In mixed networks such as Deutsche Telekom or Orange Polska, one number can cover both home and mobile subscribers.
  • "Setting an ASN is always better." Each condition narrows the pool, and traffic with an ASN choice counts double. If only the country matters for the task, you do not need an ASN.

How to check the carrier and city of a mobile proxy in practice is covered in the article "How to check a mobile proxy's carrier, ASN and city".

FAQ

How do I find the ASN of an address?

Open My IP in the program that uses the proxy, or send a request to https://prokso.com/ip through the proxy: the response contains the network number and the organization's name. For any other address, whois and RIPEstat will do.

Do I have to set an ASN?

No. For most tasks a country or city is enough. An ASN is needed when a specific carrier's or ISP's network matters, for example for an account that has always worked from one network.

How much does choosing an ASN cost?

There is no separate fee, but traffic with precise geo - city, region, ZIP or ASN - counts double. Choosing a country does not affect the price.

Why does the ISP line show a different ASN from the one I requested?

Most often the proxy is set in a different program, or the traffic goes direct. Another cause is a country in the username that does not match the network. It also happens that a site's geolocation database has not yet been updated after the addresses moved to another network.

Who issues ASNs?

IANA distributes them among five regional registries. For Ukraine, Poland, Germany and other European countries it is RIPE NCC, for the USA and Canada it is ARIN.

Can I set several ASNs at once?

Yes, in advanced mode several numbers are written separated by commas. The networks must belong to the country in the username, otherwise no addresses will be found.

Residential $1.59, mobile $2.50, datacenter $0.65 per GB

Sign up in a minute, get access right after payment.

Create account

Install the Prokso app