Skip to content
HALOWERK

Financial Market Data

wdi macro threshold spells

WDI threshold spells return uninterrupted annual runs at or above a supplied indicator value. Use it when an agent needs dating sustained threshold crossings while breaking on reporting gaps.

POST https://finanz.halowerk.com/v1/wdi-macro-threshold-spells

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countrystringYes
indicatorstringYes
fromintegerYes
untilintegerYes
thresholdnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "maxLength": 90,
      "minLength": 1
    },
    "indicator": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
    },
    "from": {
      "type": "integer",
      "minimum": 1995,
      "maximum": 2025
    },
    "until": {
      "type": "integer",
      "minimum": 1995,
      "maximum": 2025
    },
    "threshold": {
      "type": "number",
      "minimum": -1000000000000000000,
      "maximum": 1000000000000000000
    }
  },
  "required": [
    "country",
    "indicator",
    "from",
    "until",
    "threshold"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "country": "GBR",
  "indicator": "inflation",
  "from": 2005,
  "until": 2023,
  "threshold": 2
}

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 โ†’