RIS Asns

This data call provides high-level information on ASNs in RIS, including:

The data call supports history, with each data point being aligned to times a dump is created in RIS (00:00, 08:00 and 16:00 UTC).
By default, the data call returns the total number of ASNs; more details can be obtained using parameters.

Note the term "transit" related to this data call means any ASN that is seen in the AS paths, collected by RIS, that is not the origin of a route.

https://stat.ripe.net/data/ris-asns/data.<format>?<parameters> 

e.g. https://stat.ripe.net/data/ris-asns/data.json

Parameters

Key Value Info Required
query_time ISO8601 or Unix timestamp Defines the time of the lookup. This value needs to be aligned to the RIS dump times! No - by default, it will return the latest available data point (either 00:00, 08:00 or 16:00 UTC)
list_asns boolean ("true"/"false") If true, the data call will return a list of all ASNs. This might be further separated into "originating" and "transiting". No - default is "false"
asn_types "o","t" or "o,t" "o" stands for originating and will show originating ASNs separately. "t" does the same for transiting ASNs (keep in mind the definition of a transit in this case). No - by default, if ASNs are listed, they are shown indiscriminately, with no separation between originating or transiting.

Output

Total number of ASNs seen in RIS (default)

https://stat.ripe.net/data/ris-asns/data.json?query_time=2015-09-23T08:00

The data call simply returns the total number of observed ASNs in RIS at the time given in the "query_time" parameter.

Example
    "data": {
        "counts": {
            "total": 52360
        }, 
        "list_asns": false, 
        "query_time": "2015-09-23T08:00:00"
    }
    

ASNs are listed with no distinction between originating and transiting

https://stat.ripe.net/data/ris-asns/data.json?list_asns=true

The data call returns the list (which is shortened in the docuemtation) of all ASNs seen in RIS at the time given in the "query_time" parameter.

Example
    "data": {
        "counts": {
            "total": 52360
        }, 
        "query_time": "2015-09-23T08:00:00", 
        "asns": [
            1, 
            2, 
            3, 
            4, 
            5, 
            ...
            4294902000, 
            4294967295
        ], 
        "list_asns": true
    }
    

ASNs are listed with distinction between originating and transiting

https://stat.ripe.net/data/ris-asns/data.json?list_asns=true&asn_types=t,o

The data call returns the two lists (which are shortened in the docuemtation) of all originating and transiting ASNs seen in RIS at the time given in the "query_time" parameter.

Example
    "data": {
        "asn_types": [
            "t", 
            "o"
        ], 
        "counts": {
            "originating": 52102, 
            "transiting": 8404
        }, 
        "query_time": "2015-09-23T08:00:00", 
        "asns": {
            "originating": [
                1, 
                2, 
                3, 
                4, 
                5, 
                6, 
                ...
                4294901860, 
                4294901862, 
                4294902000
            ], 
            "transiting": [
                1, 
                2, 
                3, 
                4, 
                8,
                ...
                3202632026, 
                4200000055, 
                4294967295
            ]
        }, 
        "list_asns": true 
    

deprecated - n.a.

upcoming - n.a.