Look up one autonomous system by its number.
GET/restful/asns/{asn}
- Passive: the target is not contacted
Returns the record for one ASN. The docs' example adds populate=1 to get the full record.
Path parameters
asnAS number, digits only
Query parameters
populateThe docs' example uses populate=1 to return the full record
Response fields · 9ShowHide
asn
AS number
asnName
Name of the AS
rank
AS Rank position
orgId
Organization identifier
numberAsns
ASNs in the customer cone
numberPrefixes
Prefixes in the cone
numberAddresses
Addresses in the cone
iso
Country code
total
Total neighbors
curl 'https://api.asrank.caida.org/v2/restful/asns/64496'{
"data": {
"asn": {
"asn": "64496",
"asnName": "EXAMPLE-AS",
"rank": 1234,
"organization": {
"orgId": "0000000000"
},
"cone": {
"numberAsns": 12,
"numberPrefixes": 40,
"numberAddresses": 10240
},
"country": {
"iso": "ZZ"
},
"asnDegree": {
"total": 8
}
}
}
}