Prefix Routing Consistency

This data call compares the given routes (prefix originating from an ASN) between Routing Registries and actual routing behaviour as seen by the RIPE NCC route collectors (RIS).

https://stat.ripe.net/data/prefix-routing-consistency/data.<format>?<parameters> 

e.g. https://stat.ripe.net/data/prefix-routing-consistency/data.json?resource=193.0.20.0/24

Parameters

Key Value Info Required
resource prefix The prefix to query yes

Output

Data

Key Info
in_bgp "True" if the route has been seen by RIS, "False" otherwise
in_whois "True" if the route exists in whois, "False" otherwise
origin AS number (integer) of the route
asn_name The name of this AS's holder
prefix Prefix (CIDR string) of the route (more or less specific to the input resource)
irr_sources IRR source this route was found in e.g. "RADB", "RIPE", "LEVEL3"...
query_starttime/query_endtime For registration data: query_starttime defines the query time

For routing data: holds the start and end time the query covers
From version 0.6 on the result is based on a snapshot instead of a time period. For compatibility reasons "query_starttime" and "query_endtime" will be kept in version 0.x but will hold the same value.
resource Defines the resource used for the query

Example

    "data": {
        "query_endtime": "2012-11-14T05:19:00", 
        "query_starttime": "2012-11-14T05:19:00", 
        "resource": "193.0.20.0/23", 
        "routes": [
            {
                "asn_name": "RIPE-NCC-AS - Reseaux IP Europeens Network Coordination Centre (RIPE NCC)", 
                "in_bgp": true, 
                "in_whois": true, 
                "irr_sources": [
                    "RIPE"
                ], 
                "origin": 3333, 
                "prefix": "193.0.20.0/23"
            }
        ]
    }

deprecated - 0.5

Difference to 0.6 and up: the result is based on a time period, which is stated in "query_starttime" and "query_endtime";

upcoming - 1.0

Difference to 0.x: "query_starttime" and "query_endtime" is replaced by "query_time"