This data call provides high-level information on ASNs in RIS, including:
https://stat.ripe.net/data/ris-asns/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/ris-asns/data.json
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. |
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.
"data": { "counts": { "total": 52360 }, "list_asns": false, "query_time": "2015-09-23T08:00:00" }
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.
"data": { "counts": { "total": 52360 }, "query_time": "2015-09-23T08:00:00", "asns": [ 1, 2, 3, 4, 5, ... 4294902000, 4294967295 ], "list_asns": true }
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.
"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