本文へ移動
The Consortium

Risks Index APIOperational

grx_country_edition

One country edition: what is held and what is not

Request

試す

Available · MCP tool grx.country_edition · No credits

https://api.risksindex.com

GET/v1/countries/{iso3}/edition

curl -s "https://api.risksindex.com/v1/countries/KEN/edition"
const res = await fetch("https://api.risksindex.com/v1/countries/KEN/edition");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/countries/KEN/edition")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "id": "index:subsite/country/KEN",
    "localId": "country/KEN",
    "type": "subsite",
    "kind": "country",
    "code": "KEN",
    "name": "Kenya",
    "product": "Indices, Indexing and Taxonomies, scoped to one jurisdiction",
    "links": [
      {
        "rel": "wasDerivedFrom",
        "target": "index:country/KEN",
        "targetNet": "index",
        "state": "E"
      }
    ],
    "country": {
      "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": []
      },
      "classifications": [
        {}
      ],
      "links": [
        {}
      ]
    },
    "resources": [
      {
        "resource": "taxonomy/hazards",
        "href": "/v1/countries/KEN/taxonomy/hazards",
        "scope": "a jurisdiction-independent vocabulary: the same records appl…"
      }
    ],
    "coverage": {
      "status": "partial",
      "taxonomy": {
        "hazards": {},
        "indicators": {}
      },
      "values": {
        "status": "none",
        "note": "No Index value, class or rank exists for any country until a…"
      },
      "corrections": {
        "count": 0,
        "note": "Public corrections recorded against this place."
      },
      "indicatorData": {
        "leavesCovered": 8,
        "leaves": 344,
        "perCountry": "none: the coverage count is global; the registry holds no pe…"
      }
    },
    "navigation": [
      {
        "rel": "profile",
        "type": "country-profile",
        "href": "/v1/countries/KEN"
      }
    ]
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
    "state": "E",
    "uni": "KEN",
    "provenance": {
      "repository": "nexus-estate/nexus-wp",
      "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
      "path": "the network's own records",
      "sha256": "b7a7ac02f87aecb7d4158de7be0105b2df9232eb644d2e6338dcc1cdaf82…",
      "licence": "PENDING (Index registry licence not recorded: global-risk-in…",
      "snapshotAt": "2026-11-22T01:34:55.802Z",
      "upstreamCommit": "96a5234c"
    },
    "subsite": {
      "kind": "country",
      "iso3": "KEN",
      "name": "Kenya"
    },
    "note": "Country profiles: the 193 UN member states and the 2 UN obse…",
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

An answer this API gave, shortened. Values change with the data.

The country with its scoped resources and an honest coverage block (the vocabularies apply everywhere, no country-specific record exists, no value until an edition is released). Kenya (KEN) is the live test. Availability: Available.

Parameters

Parameters

  • iso3required

    path · string

    Country code, ISO 3166-1 alpha-3, e.g. KEN

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

    Not modified: If-None-Match matched the snapshot digest

  • 401

  • 404Problem, RFC 9457

    Not found. Codes: NOT_FOUND

  • 414

  • 429Problem, RFC 9457

    Rate limited. Codes: RATE_LIMITED

  • 500Problem, RFC 9457

    Internal error. Codes: INTERNAL

はじめる

Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.