Skip to content

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
Try it

Parameters

KeyValueInfoRequired
resourceasnThe ASN to queryyes

Data Output

KeyInfo
prefixeslist 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
prefixprefix found in BGP or IRR
in_bgp"True" if the route has been seen by RIS, "False" otherwise
in_whois"True" if the route exists in the IRR, "False" otherwise
imports / exportslist 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
peerThe AS number of the peer
in_bgp"True" if the peer found observed to be a peer of the ASN in BGP routes. "False" otherwise
in_whois"True" if the peering relation is also listed in the peer ASN's aut-num object. That is, if ASN2 is seen as peer in the import/export attributes of ASN1, does ASN1 also appear in export/import attributes of ASN2?
authorityHolds the authoritative RIR for the input resource (e.g. RIPE, APNIC, ARIN...)
query_starttime/query_endtimetimestamp the query results apply to.
resourceDefines 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));

Available versions for this endpoint:

2.1
1.2 (current)