Get top ASes by announced IP space
radar.bgp.ips.top.ases(TopAsesParams**kwargs) -> TopAsesResponse
GET/radar/bgp/ips/top/ases
Returns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as anchor_ts.
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 top ASes by announced IP space
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
response = client.radar.bgp.ips.top.ases()
print(response.anchor_ts){
"result": {
"anchorTs": "2026-04-18T16:00:00.000Z",
"asns": [
{
"asn": 749,
"v4_24s": 875649,
"v6_48s": 0
}
],
"country": "US",
"metric": "v4_24s"
},
"success": true
}Returns Examples
{
"result": {
"anchorTs": "2026-04-18T16:00:00.000Z",
"asns": [
{
"asn": 749,
"v4_24s": 875649,
"v6_48s": 0
}
],
"country": "US",
"metric": "v4_24s"
},
"success": true
}