Get ASPA objects snapshot
GET/radar/bgp/rpki/aspa/snapshot
Retrieves current or historical ASPA (Autonomous System Provider Authorization) objects. ASPA objects define which ASNs are authorized upstream providers for a customer ASN.
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)
Query Parameters
Get ASPA objects snapshot
curl https://api.cloudflare.com/client/v4/radar/bgp/rpki/aspa/snapshot \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {
"asnInfo": {
"13335": {
"asn": 0,
"country": "country",
"name": "name"
}
},
"aspaObjects": [
{
"customerAsn": 0,
"providers": [
0
]
}
],
"meta": {
"dataTime": "2019-12-27T18:11:19.117Z",
"queryTime": "2019-12-27T18:11:19.117Z",
"totalCount": 0
}
},
"success": true
}Returns Examples
{
"result": {
"asnInfo": {
"13335": {
"asn": 0,
"country": "country",
"name": "name"
}
},
"aspaObjects": [
{
"customerAsn": 0,
"providers": [
0
]
}
],
"meta": {
"dataTime": "2019-12-27T18:11:19.117Z",
"queryTime": "2019-12-27T18:11:19.117Z",
"totalCount": 0
}
},
"success": true
}