Get RPKI ROA deployment time series
Retrieves RPKI ROA (Route Origin Authorization) validation ratios over time. Returns the selected metric as a time series. Supports filtering by ASN or location (country code) — multiple values of the same filter type produce one series per value. If no ASN or location is specified, returns the global aggregate.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Accepted Permissions (at least one required)
Query Parameters
Filters results by Autonomous System Number. Specify one or more ASNs. Multiple values generate one series per ASN.
End of the date range (inclusive). Alternative to dateRange; provide together with dateStart.
Start of the date range (inclusive). Alternative to dateRange; provide together with dateEnd.
Get RPKI ROA deployment time series
curl https://api.cloudflare.com/client/v4/radar/bgp/rpki/roas/timeseries \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"result": {
"meta": {
"dataTime": "2019-12-27T18:11:19.117Z",
"queryTime": "2019-12-27T18:11:19.117Z"
},
"serie_0": {
"timestamps": [
"2019-12-27T18:11:19.117Z"
],
"values": [
"10"
]
}
},
"success": true
}Returns Examples
{
"result": {
"meta": {
"dataTime": "2019-12-27T18:11:19.117Z",
"queryTime": "2019-12-27T18:11:19.117Z"
},
"serie_0": {
"timestamps": [
"2019-12-27T18:11:19.117Z"
],
"values": [
"10"
]
}
},
"success": true
}