← Back to directory

Country trade history counts consecutive observed years with the same surplus or...

https://finanz.halowerk.com/v1/wdi-trade-regime-duration

Overview

Country trade history counts consecutive observed years with the same surplus or deficit sign through a chosen year. Use it when an agent needs the duration of the current annual trade regime.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider finanz
Source bazaar
Indexed 2026-11-21 14:05:25

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "country": "DEU", "year": 2023 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "from_year": 2005, "regime": "surplus", "year": 2023, "years": 19 }, "limitations": "World Bank WDI, national accounts, 11 Nov 2026. HALOWERK calculations. Attribution and terms: https://data.worldbank.org/summary-terms-of-use", "measured_at": "2026-11-20T16:21:27.556Z", "source": { "reference": "https://databank.worldbank.org/source/world-development-indicators", "retrieved_at": "2026-11-20T14:21:52.153248+00:00" } }, "type": "json" }