Risks Index APIOperational
grx_contributions
Published contributions (native data intake)
Request
Pruébalo
Available · MCP tool grx.contributions · No credits
GET/v1/contributions
curl -s "https://api.risksindex.com/v1/contributions"const res = await fetch("https://api.risksindex.com/v1/contributions");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/contributions")
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": "D",
"coverage": {
"status": "none",
"records": 0
},
"intake": {
"state": "D",
"declaredFeatures": "contracts/intake/index/main.json",
"sha256": "e056c66c9d85b93924ecea63f2c018ec76e95221ad52f04b59c85e2b5ac50781",
"note": "Designed, not built. No contribution reaches this file yet: the Index site's forms (GRX-MAIN value-correction, data-offer, government-reply) have no live runtime or review route in this repository, an…"
},
"note": "Published contributions are accepted, de-identified records that carry a review record, the licence the contributor granted and the provenance { source: \"intake\", feature, reviewRole, decisionId }. Se…",
"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"
},
"page": {
"limit": 50,
"offset": 0,
"total": 0,
"next": null,
"prev": null
},
"service": "nxs-index-api",
"version": "0.9.0"
}
} An answer this API gave, shortened. Values change with the data.
Accepted, de-identified contributions from the Index site (data corrections, source suggestions, rights of reply), each with its review record, the licence the contributor granted and the provenance { source: "intake", feature, reviewRole, decisionId }. Self-reported data is labelled self-reported. The route is built (E); the data path is D until a reviewed contribution exists: the list is empty and coverage is none. Never a score. Availability: Available.
Parameters
Parameters
jurisdictionoptionalquery · string
ISO 3166 alpha-3 code of the place. 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.
themeoptionalquery · string
Theme slug
qoptionalquery · string
Search terms in the contribution text
typeoptionalquery · string
data-correction, source-suggestion, right-of-reply or local-observation
featureoptionalquery · string
The declared site feature, for example GRX-MAIN.value-correction
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, 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
Empezar
Get a key with a free account, or choose who the account is for, its seats and any council, and see your workstation first.