Request
Try it
Available · MCP tool grx.country_get · No credits
GET/v1/countries/{iso3}
curl -s "https://api.risksindex.com/v1/countries/KEN"const res = await fetch("https://api.risksindex.com/v1/countries/KEN");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/countries/KEN")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": {
"iso3": "KEN",
"iso2": "KE",
"name": "Kenya",
"region": "Africa",
"subregion": "Eastern Africa",
"status": "UN member state",
"id": "index:country/KEN",
"localId": "KEN",
"type": "country",
"label": "Kenya",
"dimensions": {
"jurisdiction": [
"KEN"
]
},
"classifications": [
{
"scheme": "registry-region",
"code": "Africa"
},
{
"scheme": "registry-subregion",
"code": "Eastern Africa"
}
],
"links": [
{
"rel": "measuredBy",
"target": "index:indicator/IND.CLI.emissions.ghg_total",
"targetNet": "index",
"state": "E"
},
{
"rel": "measuredBy",
"target": "index:indicator/IND.CLI.transition.fossil_fuel_exports.share",
"targetNet": "index",
"state": "E"
}
],
"edition": {
"state": "AWAITING_RUN",
"score": null,
"interval": null,
"class": null,
"note": "No value, class or rank is published for any country until an edition is released. A missing value is not a zero."
},
"indicatorsAtCountryLevel": {
"total": 443,
"byDomain": {
"MAC": 14,
"FIS": 37,
"FIN": 32,
"ECO": 18,
"CLI": 28,
"HAZ": 51,
"ENV": 22,
"WAT": 13,
"SPC": 4,
"HLT": 31,
"FOO": 23,
"SOC": 22,
"DEM": 24,
"CON": 19,
"GOV": 20,
"ENE": 23,
"INF": 23,
"CYB": 13,
"TEC": 8,
"CRS": 18
}
},
"corrections": {
"count": 0,
"entries": []
},
"navigation": {
"score": "/v1/scores/KEN",
"values": "/v1/values/KEN",
"drivers": "/v1/drivers/KEN",
"corrections": "/v1/corrections?place=KEN"
}
},
"meta": {
"authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
"state": "E",
"note": "Country profiles: the 193 UN member states and the 2 UN observer states. Regions and sub-regions follow the UN M49 standard geographic regions. Other territories and areas are served at ADM and H3 lev…",
"provenance": {
"repository": "nexus-estate/nexus-wp",
"commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
"path": "the network's own records",
"sha256": "b7a7ac02f87aecb7d4158de7be0105b2df9232eb644d2e6338dcc1cdaf822c2a",
"licence": "PENDING (Index registry licence not recorded: global-risk-index the network's own records D-9; no licence is granted until recorded); regions follow UN M49",
"snapshotAt": "2026-11-22T01:34:55.802Z",
"upstreamCommit": "96a5234c"
},
"uni": "KEN",
"service": "nxs-index-api",
"version": "0.9.0"
}
} An answer this API gave, shortened. Values change with the data.
The registry record, its value state (withheld until an edition is released), corrections for the place and links to the series and domain indices that apply. Availability: Available.
Parameters
Parameters
iso3requiredpath · string
Country code, ISO 3166-1 alpha-3, e.g. KEN A place identifier is also accepted: index:country%2FKEN is KEN; a unit (index:jurisdiction%2FKEN%2Fbaringo) is answered with its own profile.
Answers
Responses
- 200
Records with provenance, coverage and links
- 304
Not modified: If-None-Match matched the snapshot digest
- 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
Get started
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.