This data call lists the Internet resources associated with a country, including ASNs, IPv4 ranges and IPv4/6 CIDR prefixes.
This data is derived from the RIR Statistics files maintained by the various RIRs.
https://stat.ripe.net/data/country-resource-list/data.<format>?<parameters>
e.g. https://stat.ripe.net/data/country-resource-list/data.json?resource=at&time=2012-12-01
Key | Value | Info | Required |
---|---|---|---|
resource | 2-digit ISO-3166 country code (e.g. "at","de"...) | The country to find IP prefixes and AS numbers for. | YES |
time | ISO8601 or Unix timestamp | The time to query. By default, returns the latest available data. This value is truncated to midnight. | NO |
v4_format |
format parameter; possible values: "" or "prefix". "prefix" will return each entry in prefix notation, meaning that ranges are converted to CIDR prefixes. |
Describes the formatting for the output of IPv4 space. | NO. Defaults to "" |
Key | Info | ||||||
---|---|---|---|---|---|---|---|
resources |
Lists of resources that are associated with the queried country
according to the RIR stats files.
|
||||||
query_time | The time covered by the query. | ||||||
resource | The resource used for the query. |