Saltar al contenido
The Consortium

Risks Index APIOperational

grx_method_builder

The composite builder design, options and limits

Request

Pruébalo

Available · MCP tool grx.method_builder · No credits

https://api.risksindex.com

GET/v1/method/builder

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

req = urllib.request.Request("https://api.risksindex.com/v1/method/builder")
with urllib.request.urlopen(req) as res:
    answer = json.load(res)

200 OKapplication/json

{
  "data": {
    "id": "grx-build-v1",
    "route": "POST /v1/build",
    "tool": "grx.build",
    "handbook": "OECD/JRC Handbook on Constructing Composite Indicators: Meth…",
    "stepsImplemented": [
      {
        "step": "Missing data",
        "how": "imputation none (default) or median per indicator, flagged; …"
      }
    ],
    "notImplemented": [
      "Back to the data: decomposition and driver analysis are not …"
    ],
    "auditFindingsApplied": [
      {
        "finding": "Coupled score exceeding its own scale (audit 3.3)",
        "applied": "no multiplier exists in the builder: every score is bounded …"
      }
    ],
    "options": {
      "normalisation": [
        "min-max"
      ],
      "outliers": [
        "none"
      ],
      "imputation": [
        "none"
      ],
      "weighting": [
        "equal"
      ],
      "aggregation": [
        "arithmetic"
      ],
      "defaults": {
        "normalisation": "min-max",
        "outliers": "none",
        "imputation": "none",
        "weighting": "equal",
        "withinPillar": "arithmetic",
        "acrossPillars": "geometric",
        "floor": 0.1,
        "minCoverage": 0.6666666666666666,
        "runs": 1000,
        "weightPerturbation": 0.25
      }
    },
    "limits": {
      "units": 250,
      "indicators": 120,
      "pillars": 12,
      "runs": [
        100
      ],
      "bodyBytes": 262144
    },
    "inputs": {
      "shape": "{ indicators: [{ id, pillar?, polarity | nis, weight?, min?,…",
      "nis": "Give a NIS-1 id as nis and polarity and goalposts are read f…",
      "provenance": "A provenance string per indicator (for example an attestatio…"
    },
    "stateless": "Nothing is stored or logged from the request body; no model …",
    "notes": [
      "A result on your data is illustrative, method grx-build-v1, …"
    ]
  },
  "meta": {
    "authority": "Nexus Standards (authority for NHS-1 and NIS-1); served as a…",
    "state": "E",
    "provenance": {
      "repository": "nexus-estate/nexus-wp",
      "commit": "4a7662f4cc254b5c8ef373764ca8b953775c114e",
      "path": "the network's own records",
      "sha256": "187d54cab617e4825f4fc45d85879ebfe9b39e6ec939a2b037426ab31417…",
      "licence": "PENDING (Index registry licence not recorded: global-risk-in…",
      "snapshotAt": "2026-11-22T01:34:55.802Z",
      "upstreamCommit": "96a5234c"
    },
    "coverage": {
      "status": "full",
      "records": 1,
      "dimensions": {}
    },
    "methodVersion": "1.0.0-draft",
    "service": "nxs-index-api",
    "version": "0.9.0"
  }
}

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

How POST /v1/build follows the OECD/JRC Handbook: steps implemented and not, normalisation, outlier, weighting and aggregation options, uncertainty and Sobol design, limits, and the audit findings it applies. Availability: Available. Deprecated parameter: risk, region (alias of jurisdiction), regime (alias of jurisdiction).

Parameters

Parameters

  • industryoptional

    query · string

    ISIC Rev.5 code (section letter A to V, or 2 to 4 digits). Validated by pattern; coverage says what it could narrow

  • jurisdictionoptional

    query · string

    ISO 3166-1 alpha-3 code (for example KEN), a 3 digit UN M49 code (for example 014) or a regime id (for example eu). 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.

  • hazardoptional

    query · string

    NHS-1 domain, family or hazard id, for example water.flood

  • indicatoroptional

    query · string

    NIS-1 indicator id, for example nis:IND.HAZ.loss.deaths_missing_rate

  • sinceoptional

    query · string

    ISO date YYYY-MM-DD: only records changed on or after it (all records of one snapshot share its snapshotAt)

  • riskoptional

    query · string · deprecated

    Deprecated alias of hazard (Deprecation and Sunset headers are sent when it is used)

Answers

Responses

  • 200

    Records with provenance, coverage and links

  • 304

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

  • 400Problem, RFC 9457

    Bad hazard code. Codes: BAD_HAZARD, BAD_INDICATOR, BAD_INDUSTRY, BAD_JURISDICTION, BAD_REGIME, BAD_REGION, BAD_RISK, BAD_SINCE, 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.