Risks Index APIOperational
GET_v1_countries_iso3_adm3
The ADM3 scope of a country (designed)
Request
Experimente
Planned: it answers with a typed refusal · No credits
GET/v1/countries/{iso3}/adm3
curl -s "https://api.risksindex.com/v1/countries/<iso3>/adm3"const res = await fetch("https://api.risksindex.com/v1/countries/<iso3>/adm3");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/countries/<iso3>/adm3")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": {
"type": "string",
"title": "string",
"status": 0,
"code": "string",
"detail": "string"
},
"meta": {
"authority": "string",
"state": "string",
"provenance": "…",
"coverage": {
"status": "full",
"records": 0,
"dimensions": {}
},
"review": {}
}
} The ADM3 level is registered (boundaries and names in the GRIx ADM pack) but no edition holds an ADM3 profile yet: the path resolves and answers UNIT_NOT_FOUND until one does. Availability: Planned (answers a typed problem response until built).
Parameters
Parameters
iso3requiredpath · string
Country code, ISO 3166-1 alpha-3, e.g. KEN
Answers
Responses
- 200
Records with provenance, coverage and links
- 400Problem, RFC 9457
Not a place identifier. Codes: PLACE_ID_INVALID, PLACE_ID_TOO_MANY
- 401
- 404Problem, RFC 9457
Not found. Codes: NOT_FOUND, PLACE_NOT_FOUND
- 410Problem, RFC 9457
Place withdrawn. Codes: PLACE_WITHDRAWN
- 414
- 429Problem, RFC 9457
Rate limited. Codes: RATE_LIMITED
- 500Problem, RFC 9457
Internal error. Codes: INTERNAL
Começar
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.