मजकुराकडे जा
The Consortium

Risks Index APIOperational

grx_jurisdiction_profile

The profile of a country: every source in context, cited

Request

वापरून पाहा

Available · MCP tool grx.jurisdiction_profile · No credits

https://api.risksindex.com

GET/v1/jurisdictions/{jurisdiction}/profile

curl -s "https://api.risksindex.com/v1/jurisdictions/KEN/profile?section=hazards,exposure"
const res = await fetch("https://api.risksindex.com/v1/jurisdictions/KEN/profile?section=hazards,exposure");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/jurisdictions/KEN/profile?section=hazards,exposure")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "adm": null,
    "boundary": {
      "credit": "geoBoundaries (William & Mary geoLab), g…",
      "gate": {},
      "kind": "geoBoundaries gbOpen",
      "level": 1,
      "licence": "Public Domain",
      "shareAlike": false,
      "source": "RCMRD GeoPortal, Africa GeoPortal",
      "type": "ADM1",
      "url": "https://www.geoboundaries.org/countryDow…",
      "year": "2020"
    },
    "children": {
      "count": 47,
      "level": 1,
      "units": []
    },
    "composite": {
      "edition": null,
      "note": "No Index edition is released: the compos…",
      "released": false,
      "value": null
    },
    "coverage": {
      "expected": 65,
      "held": 61,
      "share": 0.938,
      "sources": []
    },
    "id": "index:jurisdiction/KEN",
    "iso3": "KEN",
    "name": "Kenya",
    "schema": "nexus.index.jurisdiction-profile/v1",
    "sections": {
      "hazards": {},
      "exposure": {}
    }
  },
  "science": {
    "contract": "risk-answer/v1",
    "question": {
      "text": "What is known about risk in Kenya in edi…",
      "scope": {}
    },
    "components": {
      "hazard": {},
      "exposure": {},
      "vulnerability": {},
      "capacity": {}
    },
    "knowledge": {
      "state": "ignorance",
      "unknowns": [],
      "basis": "Measures held per component, each cited;…"
    },
    "provenance": {
      "sources": [],
      "method": {},
      "steward": "The Global Risks Index (jurisdiction sco…",
      "generatedAt": "2026-12-03T00:00:00Z",
      "service": "index-api"
    },
    "coverage": {
      "state": "partial",
      "records": 61,
      "note": "61 of 65 measures the edition's sources …",
      "gaps": []
    },
    "quality": {
      "flags": []
    },
    "summary": {
      "text": "Kenya has 61 of 65 measures held in edit…",
      "lang": "en"
    }
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI C…",
    "state": "E",
    "edition": "idx-949f583329bfb9c1c6c2",
    "publishedAt": "repository",
    "provenance": {
      "repository": "nexus-estate/global-risk-index",
      "commit": "df23cbe6e7bbc2b28f1c7eafed95e96389738321",
      "path": "objects/sha256/34/3422e13362d0d2549f1558…",
      "sha256": "3422e13362d0d2549f155863e3c205d4f9769d8f…",
      "licence": "Per value: each value carries the licenc…",
      "snapshotAt": "repository",
      "edition": "idx-949f583329bfb9c1c6c2",
      "builder": {}
    },
    "composite": {
      "released": false,
      "note": "No Index edition is released: no composi…"
    },
    "service": "nxs-index-api",
    "version": "0.9.0",
    "page": {
      "limit": 500,
      "offset": 0,
      "total": 12,
      "next": null,
      "sections": []
    },
    "coverage": {
      "status": "partial",
      "records": 61,
      "expected": 65,
      "held": 61,
      "share": 0.938
    }
  }
}

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

One profile per country from the current edition of the jurisdiction profiles: source observations by hazards, exposure, vulnerability, capacity, impact and context (the section is the NIS-1 risk component of the bound indicator), and the records of the other networks that name the place (governance, finance, standards, research, observations, platform). Every value carries its measure, unit, vintage, method, licence and source record with the input file and its SHA-256; every section its computed coverage and gaps. The composite is not released: no value, score, rank or class of the Index. Served from an immutable file; Content-Location names the versioned URL. Availability: Available.

Parameters

Parameters

  • jurisdictionrequired

    path · string

    The country: ISO 3166-1 alpha-3 code, for example KEN. A place identifier of the Index is also accepted, with its slashes percent-encoded (index:country%2FKEN); a sub-national unit is answered with its country, marked inherited in meta.place.

  • qoptional

    query · string

    Text filter: values whose measure key, label, unit, section or NIS-1 indicator contains the terms (case-insensitive; all terms must match); paging counts the kept values

  • sectionoptional

    query · string

    Comma-separated sections to keep (default all)

  • limitoptional

    query · integer

    Values per page, 1 to 500 (default 500)

  • offsetoptional

    query · integer

    Values to skip (default 0)

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_JURISDICTION, BAD_PAGE, BAD_SECTION, PLACE_ID_INVALID, PLACE_ID_TOO_MANY

  • 401

  • 404Problem, RFC 9457

    Not found. Codes: NOT_FOUND, PLACE_NOT_FOUND, UNIT_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

  • 503Problem, RFC 9457

    Profiles unavailable. Codes: PROFILES_UNAVAILABLE

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.