Risks Index APIOperational
grx_jurisdiction_contributions
Published contributions about a country
Request
Ausprobieren
Available · MCP tool grx.jurisdiction_contributions · No credits
GET/v1/jurisdictions/{jurisdiction}/contributions
curl -s "https://api.risksindex.com/v1/jurisdictions/KEN/contributions?include=children"const res = await fetch("https://api.risksindex.com/v1/jurisdictions/KEN/contributions?include=children");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/jurisdictions/KEN/contributions?include=children")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": [],
"meta": {
"authority": "The Global Risks Index (NXS-GRX), GCRI Canada",
"state": "E",
"coverage": {
"status": "none",
"records": 0
},
"place": {
"id": "index:jurisdiction/KEN",
"iso3": "KEN",
"name": "Kenya",
"level": 0,
"adm": null,
"profile": "/v1/jurisdictions/KEN/profile"
},
"scope": {
"include": "the place and the units inside it",
"children": true
},
"page": {
"limit": 50,
"total": 0,
"offset": 0,
"next": null,
"prev": null
},
"intake": {
"source": "snapshot",
"state": "D",
"fetchedAt": null,
"fallback": null,
"declaredFeatures": "contracts/intake/index/main.json",
"recordSchema": "contracts/json-schema/intake/records/contribution.v1.json"
},
"provenance": {
"repository": "nexus-wp (services/index-api)",
"commit": "n/a: the file is pinned with the service build and identified by its sha256",
"path": "services/index-api/data/intake/published.json",
"sha256": "e056c66c9d85b93924ecea63f2c018ec76e95221ad52f04b59c85e2b5ac50781",
"licence": "per contribution: each record carries the licence its contributor granted",
"snapshotAt": "2026-11-22T01:34:55.802Z",
"source": "intake"
},
"selfReported": true,
"note": "A contribution is shown beside the Index. It never changes an Index value, score, rank or profile value: data reaches a value only through GRIx (SHARED_FABRIC R11).",
"links": {
"participate": "/v1/jurisdictions/KEN/participate",
"profile": "/v1/jurisdictions/KEN/profile",
"units": "/v1/jurisdictions/KEN/adm"
},
"service": "nxs-index-api",
"version": "0.9.0"
}
} An answer this API gave, shortened. Values change with the data.
The published contributions whose place is the country itself; with include=children also those about its ADM units. Every contribution is self-reported by its contributor, reviewed and de-identified, and carries its review record, the licence the contributor granted and its provenance. A contribution is shown beside the Index and never changes an Index value: data reaches a value only through GRIx. Coverage is none until a reviewed contribution is published. Availability: Available.
Parameters
Parameters
jurisdictionrequiredpath · 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.
includeoptionalquery · string · children
children: also the contributions about the units inside this place. Default: only the contributions about the place itself
kindoptionalquery · string
value-correction, data-offer, government-reply or local-observation
qoptionalquery · string
Search terms in the contribution text (case-insensitive; every term must match)
limitoptionalquery · integer
Records per page, 1 to 200 (default 50)
cursoroptionalquery · string
Opaque cursor from meta.page.next or prev, bound to the set of contributions it was issued for
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_FILTER, BAD_JURISDICTION, BAD_PAGE, 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
Loslegen
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.