Get AS details by IP address
GET/radar/entities/asns/ip
Retrieves the requested autonomous system information based on IP address. Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
Get AS details by IP address
curl https://api.cloudflare.com/client/v4/radar/entities/asns/ip \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {
"asn": {
"asn": 714,
"country": "GB",
"countryName": "United Kingdom",
"estimatedUsers": {
"locations": [
{
"locationAlpha2": "US",
"locationName": "United States",
"estimatedUsers": 16710
}
],
"estimatedUsers": 86099
},
"name": "Apple Inc.",
"orgName": "orgName",
"related": [
{
"asn": 0,
"name": "name",
"aka": "aka",
"estimatedUsers": 65345
}
],
"source": "RIPE",
"website": "https://www.apple.com/support/systemstatus/",
"aka": "aka"
}
},
"success": true
}Returns Examples
{
"result": {
"asn": {
"asn": 714,
"country": "GB",
"countryName": "United Kingdom",
"estimatedUsers": {
"locations": [
{
"locationAlpha2": "US",
"locationName": "United States",
"estimatedUsers": 16710
}
],
"estimatedUsers": 86099
},
"name": "Apple Inc.",
"orgName": "orgName",
"related": [
{
"asn": 0,
"name": "name",
"aka": "aka",
"estimatedUsers": 65345
}
],
"source": "RIPE",
"website": "https://www.apple.com/support/systemstatus/",
"aka": "aka"
}
},
"success": true
}