World Bank country data
GDP and population for a country - two key World Bank indicators in one call.
$0.080
per call · one payment for the whole workflow
POST /api/skill/world-data
3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.
When to use this pack
An agent needs basic economic context for a country: what's the GDP and how many people live there? These are the two most-requested World Bank indicators and together they give GDP per capita as a derived metric.
Tools in this pack
All 3 run inside the single $0.080 call above. Each is also callable on its own if you only need one part.
- World Bank indicator series GET /api/world-bank-indicator Fetch a World Bank indicator time series for a country (e.g. GDP, inflation, unemployment, population). Open data, no key. ?country=US&indicator=NY.GDP.MKTP.CD&startYear=2018&endYear=2022
- World Bank indicator series GET /api/world-bank-indicator Fetch a World Bank indicator time series for a country (e.g. GDP, inflation, unemployment, population). Open data, no key. ?country=US&indicator=NY.GDP.MKTP.CD&startYear=2018&endYear=2022
- World Bank indicator series GET /api/world-bank-indicator Fetch a World Bank indicator time series for a country (e.g. GDP, inflation, unemployment, population). Open data, no key. ?country=US&indicator=NY.GDP.MKTP.CD&startYear=2018&endYear=2022
Workflow
- Call world-bank-indicator with country and indicator='NY.GDP.MKTP.CD' to get GDP (current USD).
- Call world-bank-indicator with country and indicator='SP.POP.TOTL' to get total population.
- Call world-bank-indicator with country and indicator='FP.CPI.TOTL.ZG' to get inflation (annual consumer-price %) - the price-stability read that turns a raw GDP + population snapshot into economic context.
Call it directly
Any x402 client pays the 402 and gets the whole workflow back in one response:
npx agent402-client call world-data {"country":"US"}
Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@latest
Then paste this prompt into Claude:
Get key indicators for the US using Agent402's world-data skill pack: (1) World Bank GDP NY.GDP.MKTP.CD, (2) population SP.POP.TOTL, (3) inflation FP.CPI.TOTL.ZG. Compute GDP per capita and note the inflation backdrop.