This data call returns geographical information for Internet resources based on RIR Statistics data.
https://stat.ripe.net/data/rir-stats-country/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/rir-stats-country/data.json?resource=2001:67c:2e8::/48
Key | Value | Info | Required |
---|---|---|---|
resource | IP resource / ASN | Defines the resource to be queried. For IP resource the result might be less or more specific to the given resource. | YES |
query_time | ISO8601 or Unix timestamp | Defines the times for the query; must be within the range of "earliest_time" and "latest_time" | NO - default is time for which the lastest data is available |
https://stat.ripe.net/data/rir-stats-country/data.json?resource=2001:67c:2e8::/48
"data": { "located_resources": [ { "resource": "2001:67c:2e8::/48", "location": "NL" } ], "result_time": "2019-05-09T00:00:00", "latest_time": "2019-05-09T00:00:00", "earliest_time": "2005-02-18T00:00:00", "parameters": { "query_time": "2019-05-09T00:00:00", "resource": "2001:67c:2e8::/48" } }