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.
{
"domain": "github.com",
"usage": "business",
"name": "GitHub, Inc.",
"ipv4_prefixes": [
"140.82.112.0/20",
"140.82.112.0/24",
"140.82.113.0/24",
"140.82.114.0/24",
"140.82.115.0/24",
"140.82.116.0/24",
"140.82.117.0/24",
"140.82.120.0/23",
"140.82.120.0/24",
"140.82.121.0/24",
"140.82.122.0/24",
"140.82.123.0/24",
"140.82.124.0/24",
"140.82.125.0/24",
"140.82.126.0/24",
"143.55.64.0/20",
"143.55.64.0/24",
"192.30.252.0/22",
"192.30.252.0/23",
"192.30.252.0/24",
"192.30.253.0/24",
"192.30.254.0/23",
"192.30.254.0/24",
"192.30.255.0/24"
],
"ipv6_prefixes": [
"2620:112:3000::/44",
"2a0a:a440::/29"
],
"num_ips": "15360",
"registry": "arin",
"country": "US",
"date": "2012-11-13",
"status": "assigned",
"upstream": [
1299,
2914,
3257,
5405,
6461
],
"downstream": [],
"peers": [
559,
3216,
4181,
6667,
11039,
11164,
13030,
14537,
33891,
35280,
1764,
1828,
4775,
6939,
7195,
7713,
8218,
8220,
8359,
8455,
12779,
18106,
19653,
20055,
21320,
24940,
34549,
34927,
37468,
39351,
42708,
47147,
49544,
52320,
53828,
57777,
63927,
132337,
137409,
199938,
212483,
394256,
39120
]
}the ASN endpoint's response — api.ipdata.co/AS<number>, as captured on 2026-10-09
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.
Who runs the network, with the website and the usage type, in the same categories as the asn object: hosting, isp, business, education, government.
The regional registry that administers the number, the date it was assigned and whether it is still assigned.
Every IPv4 and IPv6 prefix the network announces, and the number of addresses they add up to.
The networks it buys transit from, the ones it exchanges traffic with directly, and the ones that buy transit from it.
Each list holds autonomous system numbers, ready to look up with the same endpoint.
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.
Networks it exchanges traffic with directly, typically at an internet exchange and without either side paying the other.
The networks that buy transit from this one: its customers, in BGP terms. A transit provider lists hundreds; a content network often lists none.
The thirteen fields the ASN endpoint returns for any of ~100K networks, by number: api.ipdata.co/AS<number>.
nameThe name of the organization that holds the ASN.
domainThe organization’s website.
usageThe usage type: hosting, isp, cdn, business, edu, gov or mil.
countryThe country the ASN is associated with, as a two-letter code.
registryThe regional registry that administers the ASN: ARIN, RIPE, APNIC, LACNIC or AFRINIC.
dateThe date the ASN was assigned.
statusThe ASN’s status with its registry.
ipv4_prefixesEvery IPv4 prefix the ASN announces, in CIDR.
ipv6_prefixesEvery IPv6 prefix the ASN announces.
num_ipsThe number of addresses the ASN announces, as a string.
upstreamThe ASNs that carry this network’s traffic: its transit providers.
downstreamThe ASNs this network provides transit to.
peersThe ASNs it exchanges traffic with as equals.
Pull every prefix a provider announces and keep firewall or WAF rules current without hand-maintained CIDR lists.
Enumerate an organization's address space, including the IPv6 it rarely documents, from its ASN alone.
See which transit providers a network depends on, and which networks depend on it in turn.
Check who really operates a network, where it is registered and since when, before trusting its traffic.
Join the records to your own logs by number: one call per ASN rather than one per address.
The ASN endpoint answers on every plan, with the same thirteen fields for each of the ~100K networks it covers.
Monthly prices; yearly billing is 20% less. Compare every plan