# AS Routing Consistency

This data call 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
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 / 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
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?
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

# Available versions for this data call:

deprecated - n.a. - 1.0

This version has been superceded by version 1.1 which is using a more reliable backend.

upcoming - 2.0

Difference to version 1.1: "query_endtime" & "query_starttime" have been replaced by "query_time"

Last Updated: Tuesday, 23 November 2021