{"uid":"cap_nyImYzGKdl5O3CIvxBOBy","slug":"worldbank-x402-vercel-app-e90ec612","name":"World Bank Development Indicator Lookup","description":"World Bank development indicator for any country. Supports named shortcuts (gdp, gdp_per_capita, population, life_expectancy, inflation, unemployment, co2_per_capita, poverty, internet_users, gini, literacy) or raw indicator codes like NY.GDP.MKTP.CD.","url":"https://worldbank-x402.vercel.app/worldbank/indicator","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["country","indicator"],"properties":{"year":{"type":"string","description":"Specific year (default: last 5 available years)"},"country":{"type":"string","description":"ISO2 country code (US, CN, DE, JP, GB, IN, BR, etc.) or WLD for world"},"indicator":{"type":"string","description":"Named alias (gdp, population, life_expectancy, inflation, unemployment, co2_per_capita, gini) or raw World Bank code"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"country":{"type":"string"},"indicator":{"type":"string"},"observations":{"type":"array"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"country":"GB","indicator":"population"}}},"response":{"country":"GB","indicator":"SP.POP.TOTL","alias_used":"population","observations":[{"unit":null,"year":"2024","value":69226000,"country":"United Kingdom","indicator":"Population, total","country_code":"GBR","indicator_code":"SP.POP.TOTL"},{"unit":null,"year":"2023","value":68492000,"country":"United Kingdom","indicator":"Population, total","country_code":"GBR","indicator_code":"SP.POP.TOTL"},{"unit":null,"year":"2022","value":67604000,"country":"United Kingdom","indicator":"Population, total","country_code":"GBR","indicator_code":"SP.POP.TOTL"},{"unit":null,"year":"2021","value":66984000,"country":"United Kingdom","indicator":"Population, total","country_code":"GBR","indicator_code":"SP.POP.TOTL"},{"unit":null,"year":"2020","value":66744000,"country":"United Kingdom","indicator":"Population, total","country_code":"GBR","indicator_code":"SP.POP.TOTL"}]}},"exampleRequest":{"country":"GB","indicator":"population"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7ExlSIq8MKHm3kVndOY9R","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches historical World Bank development indicator data (GDP, population, life expectancy, etc.) for a specified country using named shortcuts or raw indicator codes.","exampleAgentPrompt":"Can you pull the World Bank GDP data for the US from the last 5 years, and also grab life expectancy for India using the World Bank indicator shortcuts?","exampleUseCases":null,"resultDescription":"Returns an array of annual observations for the requested indicator and country, each containing the year, numeric value, country name, country code, full indicator name, and indicator code. Covers up to the last 5 available years by default, or a specific year if requested.","failureModes":["Invalid or unsupported ISO2 country code returns an error or empty observations","Unknown indicator alias or malformed raw indicator code returns an error","No data available for the requested country/indicator/year combination returns empty observations array","Payment failure (402) if x402 USDC micropayment is not processed correctly","Rate limiting or Vercel serverless timeout on slow World Bank API responses"],"whenToPreferThis":"Use this endpoint when you need structured, time-series World Bank development data for a single country and a single indicator. It supports convenient named shortcuts (gdp, population, inflation, etc.) so agents don't need to memorize raw World Bank codes. Prefer this over the dashboard endpoint when you only need one metric, or over the comparison endpoint when you only need one country.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:25:28.147Z","isFirstParty":false}