# Country Resource List
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.
GET /data/country-resource-list/data.json?resource=at&time=2020-12-01
# Parameters
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 "" |
# Data Output
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.resourceThe resource used for the query. | ||||||
resource | The resource used for the query. |