Request
تاقی بکەرەوە
Planned: it answers with a typed refusal · MCP tool grx.compare · No credits
GET/v1/compare
curl -s "https://api.risksindex.com/v1/compare"const res = await fetch("https://api.risksindex.com/v1/compare");
const { data, meta } = await res.json();import json, urllib.request
req = urllib.request.Request("https://api.risksindex.com/v1/compare")
with urllib.request.urlopen(req) as res:
answer = json.load(res)200 OKapplication/json
{
"data": "…",
"meta": {
"authority": "string",
"state": "string",
"provenance": "…",
"coverage": {
"status": "full",
"records": 0,
"dimensions": {}
},
"review": {}
}
} Answers NOT_YET_PUBLISHED until an edition is released. No rank is ever produced from a missing value. Availability: Planned (answers a typed problem response until built).
Parameters
Parameters
entitiesoptionalquery · string
Comma-separated ISO3 codes, 2 to 10
measureoptionalquery · string
A pillar code, domain code or NIS-1 id
Answers
Responses
- 200
Records with provenance, coverage and links
- 400Problem, RFC 9457
Bad entities. Codes: BAD_ENTITIES
- 401
- 414
- 429Problem, RFC 9457
Rate limited. Codes: RATE_LIMITED
- 500Problem, RFC 9457
Internal error. Codes: INTERNAL
- 501Problem, RFC 9457
Planned. Codes: NOT_YET_PUBLISHED
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.