---
title: RPKI
---

[Skip to content](#_top)

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

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

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

Copy Markdown

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

---

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

# RPKI

#### RPKIASPA

##### [Get ASPA objects snapshot](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/bgp/subresources/rpki/subresources/aspa/methods/snapshot)

client.radar.bgp.rpki.aspa.snapshot(ASPASnapshotParams {customerAsn, date, format, 2 more } query?, RequestOptionsoptions?): [ASPASnapshotResponse](<https://developers.cloudflare.com/api/typescript/resources/radar#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)>) {asnInfo, aspaObjects, meta }

GET/radar/bgp/rpki/aspa/snapshot

##### [Get ASPA changes over time](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/bgp/subresources/rpki/subresources/aspa/methods/changes)

client.radar.bgp.rpki.aspa.changes(ASPAChangesParams {asn, dateEnd, dateStart, 2 more } query?, RequestOptionsoptions?): [ASPAChangesResponse](<https://developers.cloudflare.com/api/typescript/resources/radar#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)>) {asnInfo, changes, meta }

GET/radar/bgp/rpki/aspa/changes

##### [Get ASPA count time series](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/bgp/subresources/rpki/subresources/aspa/methods/timeseries)

client.radar.bgp.rpki.aspa.timeseries(ASPATimeseriesParams {dateEnd, dateStart, format, 3 more } query?, RequestOptionsoptions?): [ASPATimeseriesResponse](<https://developers.cloudflare.com/api/typescript/resources/radar#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_timeseries_response%20%3E%20(schema)>) {meta, serie\_0 }

GET/radar/bgp/rpki/aspa/timeseries

##### ModelsExpand Collapse

<details>

<summary>

ASPASnapshotResponse {asnInfo, aspaObjects, meta }

</summary>

<details>

<summary>

asnInfo: ASNInfo {13335 }

</summary>

<details>

<summary>

"13335": \_13335 {asn, country, name }

</summary>

asn: number

ASN number.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335%20%3E%20(property)%20asn">Link to this property</a>

country: string

Alpha-2 country code.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335%20%3E%20(property)%20country">Link to this property</a>

name: string

AS name.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo">Link to this property</a>

<details>

<summary>

aspaObjects: Array&lt;ASPAObject&gt;

</summary>

customerAsn: number

The customer ASN publishing the ASPA object.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20aspaObjects%20%3E%20(items)%20%3E%20(property)%20customerAsn">Link to this property</a>

providers: Array&lt;number&gt;

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20aspaObjects%20%3E%20(items)%20%3E%20(property)%20providers">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20aspaObjects">Link to this property</a>

<details>

<summary>

meta: Meta {dataTime, queryTime, totalCount }

</summary>

dataTime: string

Timestamp of the underlying data.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dataTime">Link to this property</a>

queryTime: string

Timestamp when the query was executed.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20queryTime">Link to this property</a>

totalCount: number

Total number of ASPA objects.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20totalCount">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)%20%3E%20(property)%20meta">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_snapshot_response%20%3E%20(schema)>)

<details>

<summary>

ASPAChangesResponse {asnInfo, changes, meta }

</summary>

<details>

<summary>

asnInfo: ASNInfo {13335 }

</summary>

<details>

<summary>

"13335": \_13335 {asn, country, name }

</summary>

asn: number

ASN number.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335%20%3E%20(property)%20asn">Link to this property</a>

country: string

Alpha-2 country code.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335%20%3E%20(property)%20country">Link to this property</a>

name: string

AS name.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335%20%3E%20(property)%20name">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo%20%3E%20(property)%2013335">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20asnInfo">Link to this property</a>

<details>

<summary>

changes: Array&lt;Change&gt;

</summary>

customersAdded: number

Number of new ASPA objects created.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20customersAdded">Link to this property</a>

customersRemoved: number

Number of ASPA objects deleted.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20customersRemoved">Link to this property</a>

date: string

Date of the changes in ISO 8601 format.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20date">Link to this property</a>

<details>

<summary>

entries: Array&lt;Entry&gt;

</summary>

customerAsn: number

The customer ASN affected.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20customerAsn">Link to this property</a>

providers: Array&lt;number&gt;

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20providers">Link to this property</a>

<details>

<summary>

type: "CustomerAdded"| "CustomerRemoved"| "ProvidersAdded"| "ProvidersRemoved"

</summary>

One of the following:

"CustomerAdded"

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20type%20%3E%20(member)%200">Link to this property</a>

"CustomerRemoved"

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20type%20%3E%20(member)%201">Link to this property</a>

"ProvidersAdded"

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20type%20%3E%20(member)%202">Link to this property</a>

"ProvidersRemoved"

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20type%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries%20%3E%20(items)%20%3E%20(property)%20type">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20entries">Link to this property</a>

providersAdded: number

Number of providers added to existing objects.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20providersAdded">Link to this property</a>

providersRemoved: number

Number of providers removed from existing objects.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20providersRemoved">Link to this property</a>

totalCount: number

Running total of active ASPA objects after this day.

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes%20%3E%20(items)%20%3E%20(property)%20totalCount">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20changes">Link to this property</a>

<details>

<summary>

meta: Meta {dataTime, queryTime }

</summary>

dataTime: string

Timestamp of the underlying data.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dataTime">Link to this property</a>

queryTime: string

Timestamp when the query was executed.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20queryTime">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)%20%3E%20(property)%20meta">Link to this property</a>

</details>

[Link to this property](<#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_changes_response%20%3E%20(schema)>)

<details>

<summary>

ASPATimeseriesResponse {meta, serie\_0 }

</summary>

<details>

<summary>

meta: Meta {dataTime, queryTime }

</summary>

dataTime: string

Timestamp of the underlying data.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dataTime">Link to this property</a>

queryTime: string

Timestamp when the query was executed.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20queryTime">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta">Link to this property</a>

<details>

<summary>

serie\_0: Serie0 {timestamps, values }

</summary>

timestamps: Array&lt;string&gt;

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20serie_0%20%3E%20(property)%20timestamps">Link to this property</a>

values: Array&lt;string&gt;

<a href="#(resource)%20radar.bgp.rpki.aspa%20%3E%20(model)%20aspa_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.rpki.aspa%20%3E%20(model)%20aspa_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.rpki.aspa%20%3E%20(model)%20aspa_timeseries_response%20%3E%20(schema)>)

#### RPKIRoas

##### [Get RPKI ROA deployment time series](https://developers.cloudflare.com/api/typescript/resources/radar/subresources/bgp/subresources/rpki/subresources/roas/methods/timeseries)

client.radar.bgp.rpki.roas.timeseries(RoaTimeseriesParams {asn, dateEnd, dateStart, 4 more } query?, RequestOptionsoptions?): [RoaTimeseriesResponse](<https://developers.cloudflare.com/api/typescript/resources/radar#(resource)%20radar.bgp.rpki.roas%20%3E%20(model)%20roa_timeseries_response%20%3E%20(schema)>) {meta, serie\_0 }

GET/radar/bgp/rpki/roas/timeseries

##### ModelsExpand Collapse

<details>

<summary>

RoaTimeseriesResponse {meta, serie\_0 }

</summary>

<details>

<summary>

meta: Meta {dataTime, queryTime }

</summary>

dataTime: string

Timestamp of the underlying data.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.roas%20%3E%20(model)%20roa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20dataTime">Link to this property</a>

queryTime: string

Timestamp when the query was executed.

formatdate-time

<a href="#(resource)%20radar.bgp.rpki.roas%20%3E%20(model)%20roa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta%20%3E%20(property)%20queryTime">Link to this property</a>

</details>

<a href="#(resource)%20radar.bgp.rpki.roas%20%3E%20(model)%20roa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20meta">Link to this property</a>

<details>

<summary>

serie\_0: Serie0 {timestamps, values }

</summary>

timestamps: Array&lt;string&gt;

<a href="#(resource)%20radar.bgp.rpki.roas%20%3E%20(model)%20roa_timeseries_response%20%3E%20(schema)%20%3E%20(property)%20serie_0%20%3E%20(property)%20timestamps">Link to this property</a>

values: Array&lt;string&gt;

<a href="#(resource)%20radar.bgp.rpki.roas%20%3E%20(model)%20roa_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.rpki.roas%20%3E%20(model)%20roa_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.rpki.roas%20%3E%20(model)%20roa_timeseries_response%20%3E%20(schema)>)