AS Routing Consistency
This endpoint look at the consistency of what is registered for an ASN in the internet routing registry (IRR) and and what is observed in RIS' BGP tables. A filter for BGP routes is applied removing non-globally visible prefixes that are not seen by at least 10 RIS full-table peers.
GET /data/as-routing-consistency/data.json?resource=AS3333
Parameters
Key | Value | Info | Required |
---|---|---|---|
resource | asn | The ASN to query | yes |
Data Output
Key | Info | ||||||
---|---|---|---|---|---|---|---|
prefixes | list of prefixes which are announced by the ASN in BGP (and seen by at least 10 RIS fpeers) or which have the ASN listed as origin in IRR route objects
| ||||||
imports / exports | list of peers of the ASN found in either in BGP or in import/export, mp-import/mp-export attributes of the ASN's aut-num object in the IRR
| ||||||
authority | Holds the authoritative RIR for the input resource (e.g. RIPE, APNIC, ARIN...) | ||||||
query_starttime/query_endtime | timestamp the query results apply to. | ||||||
resource | Defines the resource used for the query |
Code Examples
bash
curl --location --request GET "https://stat.ripe.net/data/as-routing-consistency/data.json?resource=3333"
js
const requestOptions = {
method: 'GET',
};
fetch("https://stat.ripe.net/data/as-routing-consistency/data.json?resource=3333", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));