Search live macroeconomic indicators from the World Bank's World Development Indicators (W
Search live macroeconomic indicators from the World Bank's World Development Indicators (WDI) database by country and indicator (e.g. GDP, population, inflation, unemployment). Restricted exclusively to WDI, source ID 2 -- the World Bank's own flagship, wholly-owned compiled dataset -- never any of the ~90 other databases the same World Bank API also serves, some of which carry third-party reuse terms. Country and indicator can be given as free text (resolved against the World Bank's own referen
2000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-06
updated
Provider
api.macaroonnetwork.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x33cc8de6e86761d217044a8a6b394ad23b579596",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"input": {
"country": "GBR",
"filters": {
"indicator_code": "NY.GDP.MKTP.CD",
"year_from": 2020,
"year_to": 2023
},
"indicator": "GDP"
},
"predicate": {
"conditions": [
{
"field": "$.notices",
"type": "count_gte",
"value": 1
}
],
"type": "all"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"output": {
"example": {
"payload": {
"notices": [],
"query": {
"country": "",
"filters": {},
"indicator": ""
},
"results": []
},
"predicate_passed": true,
"settled": true
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/6335.json, and this resource appears in /discovery/resources and /discovery/search.