Skip to content
HALOWERK

Data Conversion and Public Data

wdi global regional medians

World Bank regional medians compare unweighted country observations for a single indicator year. Use it when an agent needs regional distribution without aggregate rows.

POST https://daten.halowerk.com/v1/wdi-global-regional-medians

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
indicatorstringYes
yearintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "indicator": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1
    },
    "year": {
      "type": "integer",
      "minimum": 2022,
      "maximum": 2026
    }
  },
  "required": [
    "indicator",
    "year"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "indicator": "pib_per_capita_usd",
  "year": 2024
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "series": {
          "type": "string"
        },
        "regions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "region": {
                "type": "string"
              },
              "n": {
                "type": "integer"
              },
              "median": {
                "type": "number"
              }
            },
            "required": [
              "region",
              "n",
              "median"
            ]
          }
        }
      },
      "required": [
        "series",
        "regions"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub โ†’