All terms

ASN (Autonomous System Number)

The number identifying a single network on the internet, which tells you who operates the network an IP address belongs to.

The internet is a collection of independently operated networks that agree to carry each other's traffic. Each of those networks is an autonomous system, and each has a number assigned by a regional registry.

An ASN answers a question that country-level geolocation cannot: who actually runs this network. That is usually the more useful question.

What the ASN tells you

  • Consumer ISP — a home or mobile connection, which is what a retail customer looks like
  • Hosting or cloud provider — a server, unexpected on a consumer signup form
  • Business or corporate network — an office, often many real people behind one address
  • Mobile carrier — shared among many subscribers by design, so address sharing is normal here

Why the mobile carrier case matters

Carriers put large numbers of subscribers behind a small pool of public addresses, a practice called carrier-grade NAT. A rule that flags any address seen on more than a few accounts will generate constant false positives on carrier networks, because that is how those networks are built.

Knowing the ASN lets you apply a different threshold to carrier traffic than to consumer broadband, which is the difference between a rule that works and a rule that annoys your customers.

Check this yourself

Put this into your signup flow

24Scan checks an IP for VPN, proxy, Tor and datacentre signals in one API call. Free plan covers 1,000 requests a month.