Advanced ASN API
We offer a dedicated endpoint to query detailed ASN information, with coverage of ~100K ASNs.
Example Request
curl "https://api.ipdata.co/AS2/?api-key=<<apiKey>>"
https api.ipdata.co/AS2/ api-key==test
ipdata AS2
Sample Response
{
"domain": "udel.edu",
"usage": "edu",
"name": "University of Delaware",
"ipv4_prefixes": [
"128.4.0.0/16",
"91.143.144.0/20",
"177.55.80.0/22",
"12.35.70.0/23",
"170.244.24.0/23",
"45.229.70.0/24",
"45.163.227.0/24",
"45.163.224.0/24",
"31.129.245.0/24",
"103.250.31.0/24",
"103.29.28.0/24",
"50.236.231.0/24"
],
"ipv6_prefixes": [
"2001:df4:200::/47"
],
"num_ips": "73472",
"registry": "arin",
"country": "US",
"date": "1991-01-10",
"status": "assigned",
"upstream": [
34,
3356,
37628,
41837,
55257,
56720,
135216,
207422,
265007,
266489,
267222,
270289
],
"downstream": [
24556,
394717
],
"peers": [
21954,
28591,
59445,
137704
]
}
Data Fields
Field | Description |
---|---|
domain | The website of the organization |
usage | Usage Type (same categories as ASN) |
name | The name of the organization that owns the ASN |
ipv4_prefixes | The ipv4 network prefixes associated with the ASN |
ipv6_prefixes | The ipv6 network prefixes associated with the ASN |
num_ips | The number of IP addresses associated with the ASN |
registry | Registry/Administrator of the ASN |
country | Country associated with the ASN |
date | Date ASN was assigned |
status | ASN status |
upstream | Upstream providers for the ASN in question |
downstream | Downstream ASN providers for the ASN in question |
peers | Peer ASN providers for the ASN in question |
Updated about 2 years ago