Skip to content
HALOWERK

Financial Market Data

wdi macro nearest observation

World Bank nearest observation locates a nonmissing year within a supplied distance of a target year. Use it when an agent needs replacing a missing reporting date without exceeding a tolerance.

POST https://finanz.halowerk.com/v1/wdi-macro-nearest-observation

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countrystringYes
indicatorstringYes
yearintegerYes
toleranceintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "maxLength": 90,
      "minLength": 1
    },
    "indicator": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
    },
    "year": {
      "type": "integer",
      "minimum": 1995,
      "maximum": 2025
    },
    "tolerance": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30
    }
  },
  "required": [
    "country",
    "indicator",
    "year",
    "tolerance"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "country": "GBR",
  "indicator": "real GDP",
  "year": 2025,
  "tolerance": 3
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’