$0.002
per call · USD Coin on Base
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
Endpoint
POST https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v11
Calls / 30d
1
Unique payers / 30d
Sep 6
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"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"
}
}),
});
const data = await res.json();curl -X POST \
"https://api.macaroonnetwork.com/execute/world-bank-wdi-indicator-search-v1" \
-H "Content-Type: application/json" \
-d '{"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"}}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"payload": {
"notices": [],
"query": {
"country": "",
"filters": {},
"indicator": ""
},
"results": []
},
"predicate_passed": true,
"settled": true
}Payment details
0x33cc8de6e86761d217044a8a6b394ad23b579596USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from Macaroon Network & similar services
Macaroon Network · Execute Grant Tender Opportunity Search V1
api.macaroonnetwork.com
Search live UK/EU public procurement tenders and US federal grant opportunities in one call: UK Contracts Finder, UK Find a Tender Service, EU TED (Tenders Electronic Daily), and Grants.gov. Returns source-linked metadata only -- title, buyer/funder, deadline, value, region, category codes, and a link to the original notice -- never full tender documents, specifications, or application forms. Grants.gov is queried live per-request and is never bulk-cached or resold as a stored dataset.
Macaroon Network · Execute Polymathica Transaction Intelligence V1
api.macaroonnetwork.com
Measure live, aggregate commerce activity across this marketplace's payment rails, including volume, success rates, and task-state breakdowns by rail and time window. Privacy-preserving by design: no buyer wallet, transaction hash, Lightning node id, or individual payment record is returned.
Macaroon Network · Execute Universal Macaroon Search V1
api.macaroonnetwork.com
Discover which Macaroon Network service, endpoint, or data product to call next. Searches Macaroon's own published catalogue -- title, category, description, price, and trust evidence metadata -- and returns a short, source-linked ranked list plus a safe recommended next call for each match. A thin wrapper over this registry's own existing semantic search and router infrastructure; does not execute matched services, does not call any underlying paid endpoint, and does not duplicate a matched ser