worldbank_indicator $0.003 per call
Fetches a World Bank development indicator value for a given country and year via https://api.worldbank.org/v2/country/<iso>/indicator/<indicator>?format=json. Returns the country name, indicator name, year and numeric value (or null if unavailable).
For AI agents: call worldbank_indicator
POST https://toll402.dev/v1/t/worldbank_indicator
{
"country": "US",
"indicator": "SP.POP.TOTL",
"year": 2015
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO 3166 alpha-2 or alpha-3 country code, e.g. US or USA"
},
"indicator": {
"type": "string",
"description": "World Bank indicator code, e.g. NY.GDP.MKTP.CD or SP.POP.TOTL"
},
"year": {
"type": "integer",
"description": "Year of the observation, e.g. 2020"
}
},
"required": [
"country",
"indicator",
"year"
],
"additionalProperties": false
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}