Skip to content
HALOWERK

Data Conversion and Public Data

wdi global income median spread

World Bank income comparison reports the difference between median high-income and low-income country values. Use it when an agent needs a same-year income-group comparison.

POST https://daten.halowerk.com/v1/wdi-global-income-median-spread

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"
        },
        "high_median": {
          "type": "number"
        },
        "low_median": {
          "type": "number"
        },
        "difference": {
          "type": "number"
        }
      },
      "required": [
        "series",
        "high_median",
        "low_median",
        "difference"
      ]
    },
    "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 โ†’