Request
Biceribîne
Available · MCP tool grx.country_list · No credits
GET/v1/countries
curl -s "https://api.risksindex.com/v1/countries"const res = await fetch("https://api.risksindex.com/v1/countries");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/countries")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": [
{
"iso3": "AFG",
"iso2": "AF",
"name": "Afghanistan",
"region": "Asia",
"subregion": "Southern Asia",
"status": "UN member state",
"id": "index:country/AFG",
"localId": "AFG",
"type": "country",
"label": "Afghanistan",
"dimensions": {
"jurisdiction": [
"AFG"
]
},
"classifications": [
{
"scheme": "registry-region",
"code": "Asia"
},
{
"scheme": "registry-subregion",
"code": "Southern Asia"
}
],
"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"
}
]
},
{
"iso3": "AGO",
"iso2": "AO",
"name": "Angola",
"region": "Africa",
"subregion": "Middle Africa",
"status": "UN member state",
"id": "index:country/AGO",
"localId": "AGO",
"type": "country",
"label": "Angola",
"dimensions": {
"jurisdiction": [
"AGO"
]
},
"classifications": [
{
"scheme": "registry-region",
"code": "Africa"
},
{
"scheme": "registry-subregion",
"code": "Middle 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"
}
]
}
],
"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"
},
"page": {
"limit": 50,
"offset": 0,
"total": 195,
"next": "eyJvIjo1MCwiZCI6Ijk3MDdmNWI1MDYwMiJ9",
"prev": null
},
"service": "nxs-index-api",
"version": "0.9.0"
}
} An answer this API gave, shortened. Values change with the data.
The 193 UN member states and the 2 UN observer states, regions and sub-regions by UN M49. A listing takes no position on status. No value. Availability: Available. Deprecated parameter: region (alias of jurisdiction).
Parameters
Parameters
qoptionalquery · string
Search terms (name or code)
jurisdictionoptionalquery · string
UN M49 region or sub-region (name, e.g. Africa, or 3 digit code): the countries in it. A place identifier of the Index is also accepted: index:country/KEN is the same as KEN; a sub-national unit such as index:jurisdiction/KEN/nairobi is answered with the records of its country, marked inherited in meta.place.
subregionoptionalquery · string
UN M49 sub-region
limitoptionalquery · integer
Records per page, 1 to 200 (default 50)
cursoroptionalquery · string
Opaque cursor from meta.page.next or prev (snapshot-bound)
offsetoptionalquery · integer
Records to skip (default 0); accepted because the snapshot is bounded and versioned, prefer cursor
Answers
Responses
- 200
Records with provenance, coverage and links
- 304
Not modified: If-None-Match matched the snapshot digest
- 400Problem, RFC 9457
Bad cursor. Codes: BAD_CURSOR, BAD_PAGE, 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.