Search live macroeconomic indicators from the World Bank's World Development Indicators…
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, wholl…
by api.macaroonnetwork.com · discovered, not yet claimed by its owner · updated 2026-10-09
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
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
Tags: DATA LOOKUP · agent-marketplace · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-09
{
"input": {
"country": "GBR",
"filters": {
"indicator_code": "NY.GDP.MKTP.CD",
"year_from": 2020,
"year_to": 2023
},
"indicator": "GDP"
},
"predicate": {
"conditions": [
{
"field": "$.results",
"type": "count_gte",
"value": 1
}
],
"type": "all"
}
}{
"payload": {
"notices": [],
"query": {
"country": "",
"filters": {},
"indicator": ""
},
"results": []
},
"predicate_passed": true,
"settled": true
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/30032.jsonfor the price and payment options. - Pay. Call
GET https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0x33cc8de6e86761d217044a8a6b394ad23b579596 | 60s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x33cc8de6e86761d217044a8a6b394ad23b579596",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 60
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl -X POST 'https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1' -H 'Content-Type: application/json' --data '{"input":{"country":"GBR","filters":{"indicator_code":"NY.GDP.MKTP.CD","year_from":2020,"year_to":2023},"indicator":"GDP"},"predicate":{"conditions":[{"field":"$.results","type":"count_gte","value":1}],"type":"all"}}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"input\":{\"country\":\"GBR\",\"filters\":{\"indicator_code\":\"NY.GDP.MKTP.CD\",\"year_from\":2020,\"year_to\":2023},\"indicator\":\"GDP\"},\"predicate\":{\"conditions\":[{\"field\":\"$.results\",\"type\":\"count_gte\",\"value\":1}],\"type\":\"all\"}}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1", json=json.loads("{\"input\":{\"country\":\"GBR\",\"filters\":{\"indicator_code\":\"NY.GDP.MKTP.CD\",\"year_from\":2020,\"year_to\":2023},\"indicator\":\"GDP\"},\"predicate\":{\"conditions\":[{\"field\":\"$.results\",\"type\":\"count_gte\",\"value\":1}],\"type\":\"all\"}}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.macaroonnetwork.com
- Endpoint
- https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1
- Machine-readable
/resources/30032.json