Request
تاقی بکەرەوە
Available · MCP tool grx.country_hazards · No credits
GET/v1/countries/{iso3}/taxonomy/hazards
curl -s "https://api.risksindex.com/v1/countries/KEN/taxonomy/hazards?q=drought&limit=3"const res = await fetch("https://api.risksindex.com/v1/countries/KEN/taxonomy/hazards?q=drought&limit=3");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/countries/KEN/taxonomy/hazards?q=drought&limit=3")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": [
{
"id": "index:hazard/water.deficit.meteorological-drought",
"localId": "water.deficit.meteorological-drought",
"type": "hazard",
"label": "Meteorological drought",
"domain": "water",
"family": "water.deficit",
"aliases": [
"rainfall deficit"
],
"definition": "A prolonged shortfall of rain against the local normal, the starting point of every other kind of drought.",
"attributes": {
"origin": "natural",
"process": "precipitation",
"medium": "air",
"alsoIn": [
"water"
],
"onset": "slow",
"duration": "multi-year",
"footprint": "country",
"predictability": "seasonal",
"exposure": [
"people"
],
"observability": [
"satellite"
],
"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": 29,
"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": 3,
"offset": 0,
"total": 29,
"next": "eyJvIjozLCJkIjoiOTcwN2Y1YjUwNjAyIn0",
"prev": null
},
"service": "nxs-index-api",
"version": "0.9.0",
"subsite": {
"kind": "country",
"iso3": "KEN",
"name": "Kenya",
"route": "/v1/countries/KEN/taxonomy/hazards"
}
}
} An answer this API gave, shortened. Values change with the data.
The route /v1/taxonomy/hazards fixed to the country: the same parameters apply and the answer names the scope it was fixed to. Availability: Available.
Parameters
Parameters
iso3requiredpath · string
Country code, ISO 3166-1 alpha-3, e.g. KEN
qoptionalquery · string
Search terms
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, BAD_THEME, SCOPE_CONFLICT
- 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 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.