---
title: Get BGP time series
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api)

[Radar](https://developers.cloudflare.com/api/resources/radar)

[BGP](https://developers.cloudflare.com/api/resources/radar/subresources/bgp)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Get BGP time series

GET/radar/bgp/timeseries

Retrieves BGP updates over time. When requesting updates for an autonomous system, only BGP updates of type announcement are returned.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`User Details Write``User Details Read`

##### Q uery ParametersExpand Collapse

<details>

<summary>

aggInterval: optional "15m"or "1h"or "1d"or "1w"

Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to <a href="https://developers.cloudflare.com/radar/concepts/aggregation-intervals/">Aggregation intervals</a>. When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.

</summary>

One of the following:

"15m"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20aggInterval%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"1h"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20aggInterval%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

"1d"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20aggInterval%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

"1w"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20aggInterval%20%3E%20(schema)%20%3E%20(member)%203">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20aggInterval%20%3E%20(schema)>)

asn: optional array of string

Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20asn%20%3E%20(schema)>)

dateEnd: optional array of string

End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20dateEnd%20%3E%20(schema)>)

dateRange: optional array of string

Filters results by relative date range ending at the current time, with each value producing a separate series. Use `<n>d` for days (up to `364d`) or `<n>w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window’s length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20dateRange%20%3E%20(schema)>)

dateStart: optional array of string

Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20dateStart%20%3E%20(schema)>)

<details>

<summary>

format: optional "JSON"or "CSV"

Format in which results will be returned.

</summary>

One of the following:

"JSON"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

"CSV"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20format%20%3E%20(schema)>)

name: optional array of string

Array of names used to label the series in the response.

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20name%20%3E%20(schema)>)

prefix: optional array of string

Filters results by BGP network prefix.

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20prefix%20%3E%20(schema)>)

<details>

<summary>

updateType: optional array of "ANNOUNCEMENT"or "WITHDRAWAL"

Filters results by BGP update type.

</summary>

One of the following:

"ANNOUNCEMENT"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20updateType%20%3E%20(schema)%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

"WITHDRAWAL"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20updateType%20%3E%20(schema)%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(params)%20default%20%3E%20(param)%20updateType%20%3E%20(schema)>)

##### ReturnsExpand Collapse

<details>

<summary>

result: object {meta, serie\_0 }

</summary>

<details>

<summary>

meta: object {aggInterval, confidenceInfo, dateRange, lastUpdated }

</summary>

<details>

<summary>

aggInterval: "15m"or "1h"or "1d"or "1w"

</summary>

One of the following:

"15m"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20aggInterval%20%3E%20(member)%200">Link to this property</a>

"1h"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20aggInterval%20%3E%20(member)%201">Link to this property</a>

"1d"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20aggInterval%20%3E%20(member)%202">Link to this property</a>

"1w"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20aggInterval%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20aggInterval">Link to this property</a>

<details>

<summary>

confidenceInfo: object {annotations, level }

</summary>

<details>

<summary>

annotations: array of object {dataSource, description, endDate, 5 more }

</summary>

<details>

<summary>

dataSource: "ALL"or "AI\_BOTS"or "AI\_GATEWAY"or 22 more

Data source for annotations.

</summary>

One of the following:

"ALL"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%200">Link to this property</a>

"AI\_BOTS"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%201">Link to this property</a>

"AI\_GATEWAY"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%202">Link to this property</a>

"BGP"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%203">Link to this property</a>

"BOTS"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%204">Link to this property</a>

"CONNECTION\_ANOMALY"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%205">Link to this property</a>

"CT"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%206">Link to this property</a>

"DNS"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%207">Link to this property</a>

"DNS\_MAGNITUDE"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%208">Link to this property</a>

"DNS\_AS112"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%209">Link to this property</a>

"DOS"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2010">Link to this property</a>

"EMAIL\_ROUTING"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2011">Link to this property</a>

"EMAIL\_SECURITY"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2012">Link to this property</a>

"FW"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2013">Link to this property</a>

"FW\_PG"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2014">Link to this property</a>

"HTTP"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2015">Link to this property</a>

"HTTP\_CONTROL"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2016">Link to this property</a>

"HTTP\_CRAWLER\_REFERER"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2017">Link to this property</a>

"HTTP\_ORIGINS"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2018">Link to this property</a>

"IQI"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2019">Link to this property</a>

"LEAKED\_CREDENTIALS"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2020">Link to this property</a>

"NET"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2021">Link to this property</a>

"ROBOTS\_TXT"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2022">Link to this property</a>

"SPEED"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2023">Link to this property</a>

"WORKERS\_AI"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource%20%3E%20(member)%2024">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20dataSource">Link to this property</a>

description: string

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20description">Link to this property</a>

endDate: string

formatdate-time

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20endDate">Link to this property</a>

<details>

<summary>

eventType: "GENERAL"or "OUTAGE"or "PARTIAL\_PROJECTION"or 2 more

Event type for annotations.

</summary>

One of the following:

"GENERAL"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%200">Link to this property</a>

"OUTAGE"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%201">Link to this property</a>

"PARTIAL\_PROJECTION"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%202">Link to this property</a>

"PIPELINE"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%203">Link to this property</a>

"TRAFFIC\_ANOMALY"

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20eventType">Link to this property</a>

isInstantaneous: boolean

Whether event is a single point in time or a time range.

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20isInstantaneous">Link to this property</a>

linkedUrl: string

formaturi

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20linkedUrl">Link to this property</a>

startDate: string

formatdate-time

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20startDate">Link to this property</a>

tags: optional array of string

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations%20%3E%20(items)%20%3E%20(property)%20tags">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20annotations">Link to this property</a>

level: number

Provides an indication of how much confidence Cloudflare has in the data.

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo%20%3E%20(property)%20level">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20confidenceInfo">Link to this property</a>

<details>

<summary>

dateRange: array of object {endTime, startTime }

</summary>

endTime: string

Adjusted end of date range.

formatdate-time

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dateRange%20%3E%20(items)%20%3E%20(property)%20endTime">Link to this property</a>

startTime: string

Adjusted start of date range.

formatdate-time

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dateRange%20%3E%20(items)%20%3E%20(property)%20startTime">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dateRange">Link to this property</a>

lastUpdated: string

formatdate-time

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20lastUpdated">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta">Link to this property</a>

<details>

<summary>

serie\_0: object {timestamps, values }

</summary>

timestamps: array of string

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20serie_0%20%3E%20(property)%20timestamps">Link to this property</a>

values: array of string

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20serie_0%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result%20%2B%20(resource)%20radar.bgp%20%3E%20(model)%20bgp_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20serie_0">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20result>)

success: boolean

[Link to this property](<#(resource)%20radar.bgp%20%3E%20(method)%20timeseries%20%3E%20(network%20schema)%20%3E%20(property)%20success>)

### Get BGP time series

HTTP

HTTPTypeScriptPythonGoTerraform

```
curl https://api.cloudflare.com/client/v4/radar/bgp/timeseries \
    -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
```

200 example

```
{
  "result": {
    "meta": {
      "aggInterval": "15m",
      "confidenceInfo": {
        "annotations": [
          {
            "dataSource": "ALL",
            "description": "Cable cut in Tonga",
            "endDate": "2019-12-27T18:11:19.117Z",
            "eventType": "GENERAL",
            "isInstantaneous": true,
            "linkedUrl": "https://example.com",
            "startDate": "2019-12-27T18:11:19.117Z",
            "tags": [
              "BOT_CLASS"
            ]
          }
        ],
        "level": 0
      },
      "dateRange": [
        {
          "endTime": "2022-09-17T10:22:57.555Z",
          "startTime": "2022-09-16T10:22:57.555Z"
        }
      ],
      "lastUpdated": "2019-12-27T18:11:19.117Z"
    },
    "serie_0": {
      "timestamps": [
        "2019-12-27T18:11:19.117Z"
      ],
      "values": [
        "10"
      ]
    }
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "result": {
    "meta": {
      "aggInterval": "15m",
      "confidenceInfo": {
        "annotations": [
          {
            "dataSource": "ALL",
            "description": "Cable cut in Tonga",
            "endDate": "2019-12-27T18:11:19.117Z",
            "eventType": "GENERAL",
            "isInstantaneous": true,
            "linkedUrl": "https://example.com",
            "startDate": "2019-12-27T18:11:19.117Z",
            "tags": [
              "BOT_CLASS"
            ]
          }
        ],
        "level": 0
      },
      "dateRange": [
        {
          "endTime": "2022-09-17T10:22:57.555Z",
          "startTime": "2022-09-16T10:22:57.555Z"
        }
      ],
      "lastUpdated": "2019-12-27T18:11:19.117Z"
    },
    "serie_0": {
      "timestamps": [
        "2019-12-27T18:11:19.117Z"
      ],
      "values": [
        "10"
      ]
    }
  },
  "success": true
}
```