Slaan oor na inhoud
The Consortium

Risks Index APIOperational

sol28_example

SOL-28 worked example

Request

Try it

Available · MCP tool sol28.example · No credits · Free

https://api.risksindex.com

GET/v1/solutions/SOL-28/example

curl -s "https://api.risksindex.com/v1/solutions/SOL-28/example"
const res = await fetch("https://api.risksindex.com/v1/solutions/SOL-28/example");
const { data, meta } = await res.json();
import json, urllib.request

req = urllib.request.Request("https://api.risksindex.com/v1/solutions/SOL-28/example")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "title": "An average hides a gap: a share of households without early …",
    "labels": {
      "records": "none: the example reads no registry record",
      "clientData": "SYNTHETIC: five quintiles, populations, values and standard …"
    },
    "request": {
      "method": "POST",
      "path": "/v1/solutions/SOL-28/distribution",
      "body": {
        "measure": {},
        "dimension": "wealth_quintile",
        "ordered": true,
        "groups": []
      }
    },
    "result": {
      "status": "shown",
      "measure": {
        "id": "households_without_early_warning",
        "higherIsRiskier": true,
        "unit": "%"
      },
      "dimension": "wealth_quintile",
      "average": {
        "value": 26.14,
        "basis": "population-weighted mean of the groups with a value",
        "groupsUsed": 5,
        "groupsMissing": []
      },
      "groups": [
        {}
      ],
      "summary": {
        "absoluteDifference": {},
        "ratio": {},
        "maxRelativeGapToMean": 0.579188982,
        "groupsOnTheRiskierSide": {}
      },
      "orderedIndices": {
        "status": "shown",
        "order": "the order the groups were sent, first group the lowest rank",
        "slopeIndexOfInequality": -37.0911995,
        "relativeIndexOfInequality": -1.418944128,
        "basis": "population-weighted least squares of the group value on the …"
      },
      "uncertainty": {
        "status": "supplied",
        "note": "group standard errors were given: intervals are 95% normal a…"
      },
      "nis1": null,
      "replication": {
        "inputDigest": "4e3cadf8e8f7ce5484f24323bbb782c6890220912e99c3b9bee07a5b6f0b…",
        "resultDigest": "9bcce10474a06fe106a6f930cb7726ca56bd4df3823f2a592e01a36eb999…",
        "methodVersion": "sol28-distribution-v1",
        "deterministic": true
      },
      "statement": "Distribution is shown beside the average, for the groups and…"
    },
    "journey": [
      "scope: GET /v1/solutions/SOL-28"
    ]
  },
  "meta": {
    "authority": "The Global Risks Index (NXS-GRX), GCRI Canada; Nexus Standar…",
    "state": "E",
    "provenance": [
      {
        "repository": "nexus-estate/nexus-standards-full",
        "commit": "2fcbde115623f8b75a12a91177893f80feb7ee1c",
        "path": "registry/native/nhs-1.json",
        "sha256": "cf483570ce455cb47a20260a23af594d334a8bed4107a677922093029f3c…",
        "licence": "CC-BY-4.0",
        "snapshotAt": "2026-11-22T01:34:55.802Z",
        "carriedVia": {}
      }
    ],
    "review": {
      "state": "unreviewed",
      "route": "Method: Nexus Standards technical committee due process. Evi…",
      "note": "No independent review of this method is recorded: it is show…"
    },
    "decision": {
      "recorded": false,
      "note": "The client records their own decision and rationale in their…"
    },
    "synthetic": true,
    "coverage": {
      "status": "full",
      "records": 5
    },
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

An average that hides a gap across wealth quintiles, on labelled synthetic grouped data. Availability: Available.

Parameters

Parameters

None.

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

    Not modified: If-None-Match matched the snapshot digest

  • 400Problem, RFC 9457

    Bad segment. Codes: BAD_SEGMENT

  • 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.