Get announced IP address space time series
client.radar.bgp.ips.timeseries(IPTimeseriesParams { asn, dateEnd, dateRange, 6 more } query?, RequestOptionsoptions?): IPTimeseriesResponse { meta, serie_0 }
GET/radar/bgp/ips/timeseries
Retrieves time series data for the announced IP space count, represented as the number of IPv4 /24s and IPv6 /48s, for a given 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)
Get announced IP address space time series
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
const response = await client.radar.bgp.ips.timeseries();
console.log(response.meta);{
"result": {
"meta": {
"aggInterval": "FIFTEEN_MINUTES",
"confidenceInfo": {
"annotations": [
{
"dataSource": "ALL",
"description": "Cable cut in Tonga",
"endDate": "2019-12-27T18:11:19.117Z",
"eventType": "EVENT",
"isInstantaneous": true,
"linkedUrl": "https://example.com",
"startDate": "2019-12-27T18:11:19.117Z"
}
],
"level": 0
},
"dateRange": [
{
"endTime": "2022-09-17T10:22:57.555Z",
"startTime": "2022-09-16T10:22:57.555Z"
}
],
"lastUpdated": "2019-12-27T18:11:19.117Z",
"normalization": "PERCENTAGE",
"units": [
{
"name": "*",
"value": "requests"
}
],
"delay": {
"asn_data": {
"delaySecs": 0,
"delayStr": "delayStr",
"healthy": true,
"latest": {
"entries_count": 0,
"path": "path",
"timestamp": 0
}
},
"country_data": {
"delaySecs": 0,
"delayStr": "delayStr",
"healthy": true,
"latest": {
"count": 0,
"timestamp": 0
}
},
"healthy": true,
"nowTs": 0
}
},
"serie_0": {
"ipv4": [
"10"
],
"ipv6": [
"10"
],
"timestamps": [
"2019-12-27T18:11:19.117Z"
]
}
},
"success": true
}Returns Examples
{
"result": {
"meta": {
"aggInterval": "FIFTEEN_MINUTES",
"confidenceInfo": {
"annotations": [
{
"dataSource": "ALL",
"description": "Cable cut in Tonga",
"endDate": "2019-12-27T18:11:19.117Z",
"eventType": "EVENT",
"isInstantaneous": true,
"linkedUrl": "https://example.com",
"startDate": "2019-12-27T18:11:19.117Z"
}
],
"level": 0
},
"dateRange": [
{
"endTime": "2022-09-17T10:22:57.555Z",
"startTime": "2022-09-16T10:22:57.555Z"
}
],
"lastUpdated": "2019-12-27T18:11:19.117Z",
"normalization": "PERCENTAGE",
"units": [
{
"name": "*",
"value": "requests"
}
],
"delay": {
"asn_data": {
"delaySecs": 0,
"delayStr": "delayStr",
"healthy": true,
"latest": {
"entries_count": 0,
"path": "path",
"timestamp": 0
}
},
"country_data": {
"delaySecs": 0,
"delayStr": "delayStr",
"healthy": true,
"latest": {
"count": 0,
"timestamp": 0
}
},
"healthy": true,
"nowTs": 0
}
},
"serie_0": {
"ipv4": [
"10"
],
"ipv6": [
"10"
],
"timestamps": [
"2019-12-27T18:11:19.117Z"
]
}
},
"success": true
}