Lewati ke konten
The Consortium

Risks Index APIOperational

grx_country_edition_list

The 195 country editions

Request

Coba

Available · MCP tool grx.country_edition_list · No credits

https://api.risksindex.com

GET/v1/country-editions

curl -s "https://api.risksindex.com/v1/country-editions?q=kenya"
const res = await fetch("https://api.risksindex.com/v1/country-editions?q=kenya");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/country-editions?q=kenya")
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": [
            "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"
          }
        ]
      },
      "navigation": [
        {
          "rel": "subsite",
          "type": "country-scope",
          "href": "/v1/countries/KEN/edition"
        }
      ]
    }
  ],
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
    "state": "E",
    "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"
    },
    "note": "195 country sites are the jurisdiction dimension of the Index. Whether a country's public site is live is not recorded here.",
    "page": {
      "limit": 50,
      "offset": 0,
      "total": 1,
      "next": null,
      "prev": null
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

The jurisdiction dimension: one scoped edition of the Index per country. Availability: Available.

Parameters

Parameters

  • qoptional

    query · string

    Search terms (name or code)

  • limitoptional

    query · integer

    Records per page, 1 to 200 (default 50)

  • cursoroptional

    query · string

    Opaque cursor from meta.page.next or prev (snapshot-bound)

  • offsetoptional

    query · 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

  • 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

Mulai

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