Slaan oor na inhoud
The Consortium

Risks Index APIOperational

grx_taxonomy_hazard

Search the NHS-1 hazard taxonomy

Request

Try it

Available · MCP tool grx.taxonomy_hazard · No credits

https://api.risksindex.com

GET/v1/taxonomy/hazards

curl -s "https://api.risksindex.com/v1/taxonomy/hazards?q=flood&context=energy&jurisdiction=KEN&limit=5"
const res = await fetch("https://api.risksindex.com/v1/taxonomy/hazards?q=flood&context=energy&jurisdiction=KEN&limit=5");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/taxonomy/hazards?q=flood&context=energy&jurisdiction=KEN&limit=5")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": [
    {
      "id": "index:hazard/water.flood.snowmelt-flood",
      "localId": "water.flood.snowmelt-flood",
      "type": "hazard",
      "label": "Snowmelt flood",
      "domain": "water",
      "family": "water.flood",
      "aliases": [],
      "definition": "High river flow when a snowpack melts quickly in spring or under warm rain.",
      "attributes": {
        "origin": "natural",
        "process": "hydrological",
        "medium": "water",
        "alsoIn": [
          "ice"
        ],
        "onset": "progressive",
        "duration": "extended",
        "footprint": "region",
        "predictability": "forecastable",
        "exposure": [
          "people"
        ],
        "observability": [
          "sensor"
        ],
        "contexts": [
          "water"
        ]
      },
      "standard": {
        "id": "NHS-1",
        "version": "1.1.0"
      },
      "review": {
        "status": "DRAFT_EXPERT_REVIEW_REQUIRED",
        "evidenceClass": "MODELLED",
        "note": "Draft, expert review required: not yet a reviewed standard."
      },
      "links": [
        {
          "rel": "wasDerivedFrom",
          "target": "nxs:standard/NHS-1",
          "targetNet": "nxs",
          "state": "D"
        }
      ]
    }
  ],
  "meta": {
    "authority": "Nexus Standards (authority for NHS-1 and NIS-1); served as an indexing product by The Global Risks Index API, GCRI Canad…",
    "state": "E",
    "standard": {
      "id": "NHS-1",
      "version": "1.1.0",
      "reviewStatus": "DRAFT_EXPERT_REVIEW_REQUIRED",
      "evidenceClass": "MODELLED",
      "authorship": "nexus-native"
    },
    "provenance": {
      "repository": "nexus-estate/nexus-standards-full",
      "commit": "2fcbde115623f8b75a12a91177893f80feb7ee1c",
      "path": "registry/native/nhs-1.json",
      "sha256": "cf483570ce455cb47a20260a23af594d334a8bed4107a677922093029f3c96c6",
      "licence": "CC-BY-4.0",
      "snapshotAt": "2026-11-22T01:34:55.802Z",
      "carriedVia": {
        "repository": "nexus-estate/nexus-wp",
        "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
        "path": "services/risk-graph/data/snapshot/hazards.json",
        "sha256": "de76b0add311002f6c3f3ff64a59a55ecd85e0aaf3deb2befca60d99fa5c3128"
      }
    },
    "coverage": {
      "status": "full",
      "records": 9,
      "dimensions": {
        "jurisdiction": {
          "requested": "KEN",
          "status": "applies-everywhere",
          "countrySpecificRecords": 0,
          "note": "NHS-1, NIS-1 and the crosswalks are jurisdiction-independent vocabularies: the same records apply to every place. No rec…"
        }
      }
    },
    "note": "Filters: q, domain, family, origin, context (an NHS-1 sector context such as energy), theme, risk and the coverage dimen…",
    "page": {
      "limit": 5,
      "offset": 0,
      "total": 9,
      "next": "eyJvIjo1LCJkIjoiOTcwN2Y1YjUwNjAyIn0",
      "prev": null
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

905 hazards in 120 families and 14 domains, each with definition, aliases, attributes (origin, onset, footprint, sector contexts) and review state. Filter by domain, family, origin, sector context or risk, and by the coverage dimensions. Relations carry a confidence label and its basis. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).

Parameters

Parameters

  • qoptional

    query · string

    Search terms (label, aliases, definition)

  • domainoptional

    query · string

    NHS-1 domain, for example water

  • familyoptional

    query · string

    Series family of the Series register: GLB, GS, SR, TH or XT

  • originoptional

    query · string

    natural, human or other origin attribute

  • contextoptional

    query · string

    NHS-1 sector context, for example energy

  • themeoptional

    query · string

    Index theme code or slug (TH-01 to TH-04)

  • industryoptional

    query · string

    ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow

  • jurisdictionoptional

    query · string

    ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu). 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.

  • hazardoptional

    query · string

    NHS-1 domain, family or hazard id, for example water.flood

  • indicatoroptional

    query · string

    NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate

  • sinceoptional

    query · string

    ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)

  • riskoptional

    query · string · deprecated

    Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)

  • 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_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_PAGE, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE, 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.