Products
IP Geolocation Anonymity Detection Blocklists IP Reputation Scores ASN & Company Network Classification Mobile Carriers Extended ASN API ipdata.free
Resources
Documentation API Reference SDKs & Libraries Research Tool Datacenter networks Mobile carriers
Pricing Log in
Sign up
[ ADVANCED ASN API ]

Every network,
by its ASN

A dedicated endpoint for any autonomous system: the organization behind it, every IPv4 and IPv6 prefix it announces, and the upstreams, peers and downstreams it connects to. Around 100,000 ASNs.

1 / 9GitHub, a business network

the ASN endpoint's response — api.ipdata.co/AS<number>, as captured on 2026-10-09

AS36459 GitHub
AS13335 Cloudflare
AS32934 Meta
AS2906 Netflix
AS54113 Fastly
Networks
▸ AS36459 — GitHub, Inc. — usage: business 24 IPv4 prefixes · 5 upstreams · 43 peers · ARIN · since 2012
[ 01 — WHAT YOU GET ]

The full record for any ASN

One call to api.ipdata.co/AS<number> returns the organization behind an autonomous system, its registration, the address space it announces and the networks it connects to.

01

Organization

Who runs the network, with the website and the usage type, in the same categories as the asn object: hosting, isp, business, education, government.

name domain usage country
02

Registration

The regional registry that administers the number, the date it was assigned and whether it is still assigned.

registry date status
03

Address space

Every IPv4 and IPv6 prefix the network announces, and the number of addresses they add up to.

ipv4_prefixes ipv6_prefixes num_ips
04

Topology

The networks it buys transit from, the ones it exchanges traffic with directly, and the ones that buy transit from it.

upstream peers downstream
[ 02 — TOPOLOGY ]

Who carries whom

Each list holds autonomous system numbers, ready to look up with the same endpoint.

01

upstream

The networks this ASN buys transit from. Its routes reach the rest of the internet through them, so they are the providers it depends on.

02

peers

Networks it exchanges traffic with directly, typically at an internet exchange and without either side paying the other.

03

downstream

The networks that buy transit from this one: its customers, in BGP terms. A transit provider lists hundreds; a content network often lists none.

[ 03 — Attributes ]

One ASN, one response

The thirteen fields the ASN endpoint returns for any of ~100K networks, by number: api.ipdata.co/AS<number>.

Identity7 fields

stringname

The name of the organization that holds the ASN.

stringdomain

The organization’s website.

stringusage

The usage type: hosting, isp, cdn, business, edu, gov or mil.

stringcountry

The country the ASN is associated with, as a two-letter code.

stringregistry

The regional registry that administers the ASN: ARIN, RIPE, APNIC, LACNIC or AFRINIC.

stringdate

The date the ASN was assigned.

stringstatus

The ASN’s status with its registry.

Address space3 fields

arrayipv4_prefixes

Every IPv4 prefix the ASN announces, in CIDR.

arrayipv6_prefixes

Every IPv6 prefix the ASN announces.

stringnum_ips

The number of addresses the ASN announces, as a string.

Topology3 fields

arrayupstream

The ASNs that carry this network’s traffic: its transit providers.

arraydownstream

The ASNs this network provides transit to.

arraypeers

The ASNs it exchanges traffic with as equals.

[ 04 — USE CASES ]

What you can build with ASN data

01

Allow and block lists by network

Pull every prefix a provider announces and keep firewall or WAF rules current without hand-maintained CIDR lists.

02

Attack surface mapping

Enumerate an organization's address space, including the IPv6 it rarely documents, from its ASN alone.

03

Routing and dependency analysis

See which transit providers a network depends on, and which networks depend on it in turn.

04

Vendor and partner due diligence

Check who really operates a network, where it is registered and since when, before trusting its traffic.

05

Enrichment at scale

Join the records to your own logs by number: one call per ASN rather than one per address.

[ 05 — PLANS ]

On every plan

The ASN endpoint answers on every plan, with the same thirteen fields for each of the ~100K networks it covers.

Free$0Included
Startup$50 / moIncluded
Business$120 / moIncluded
EnterpriseCustomIncluded

Monthly prices; yearly billing is 20% less. Compare every plan