This data call provides information on when a prefix or ASN was first and last seen in RIS data.
The data generally goes back to 2000. For the recency of the data you can check
the parameter "latest_time", which usually is not more than 8 hours behind real-time.
The "low_visibility" flag, which can be optionally included, shows if the data point was seen by a low or high number of
peers.
https://stat.ripe.net/data/ris-first-last-seen/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/ris-first-last-seen/data.json?resource=193.0.20.0/23
Key | Value | Info | Required |
---|---|---|---|
resource | Prefix, ASN |
A prefix or ASN to be looked up. The output for ASNs distinguishes between how an ASN has been seen in RIS. This can be as either originating or not. Originating has the type set to "o". |
Yes |
include | more_specific, low_visibility_flag |
This parameter defines additional data to be included. "more_specific" includes more specific IP ranges, which only works for prefix lookups. By default "more_specific" is not set as it makes the lookup slower. "low_visibility_flag" includes the flag to indicate low visibility. By default it is not included. |
No |
This prefix was first seen at 2008-03-27 and last seen very recently 2016-08-08. In both cases it was seen by enough peers to be considered "globally" routed.
"data": { "latest_time": "2016-08-11T08:00:12", "resource": "193.0.20.0/23", "include": [ "low_visibility_flag" ], "stats": { "count": 1 }, "resources": [ { "resource": "193.0.20.0/23", "last": { "time": "2016-08-08T08:00:00", "low_visibility": false }, "first": { "time": "2008-03-27T00:00:00", "low_visibility": false } } ] }
https://stat.ripe.net/data/ris-first-last-seen/data.json?resource=AS3333&include=low_visibility_flag
This network first appeared on the Internet in August 2000.
"data": { "latest_time": "2016-08-11T08:00:12", "resource": "3333", "include": [ "low_visibility_flag" ], "stats": { "count": 2 }, "resources": [ { "last": { "low_visibility": false, "time": "2016-08-11T08:00:00" }, "type": "o", "resource": "3333", "first": { "low_visibility": false, "time": "2000-08-18T08:00:00" } }, { "last": { "low_visibility": false, "time": "2016-08-11T08:00:00" }, "type": "t", "resource": "3333", "first": { "low_visibility": false, "time": "2000-08-18T08:00:00" } } ] }