{"uid":"cap_eDvn1M_dZ8xAhQo5uUger","slug":"x402stock-world-bank-macro-indicator-time-series-4e2658e9","name":"x402stock World Bank Macro Indicator Time Series","description":"Annual time series of one World Bank indicator for a country, with latest value, prior year, and change. Indicators: gdp, gdp-growth, gdp-per-capita, inflation, unemployment, population, govt-debt, current-account, exports, fdi. Pick the country with `?country=US` (ISO2/ISO3, default US) and the span with `?limit=` years (default 10). Cross-country macro reference. Source: World Bank (CC BY 4.0).","url":"https://agents.x402stock.xyz/api/v1/world-bank/: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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","indicator":{"type":"string"}},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","default":10,"maximum":66,"exclusiveMinimum":0},"country":{"type":"string","default":"US","pattern":"^[A-Za-z]{2,3}$"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_al-8t0zhA3oUpb-YLomkl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an annual time series of a World Bank macroeconomic indicator for a given country, including the latest value, prior year value, and year-over-year change.","exampleAgentPrompt":"Pull the World Bank inflation time series for Brazil for the last 15 years and tell me the latest value, what it was the prior year, and how much it changed.","exampleUseCases":[{"title":"Country GDP trend for investment research","prompt":"Get me the GDP time series for Germany over the last 20 years from the World Bank, including the latest figure and how much it changed from the prior year."},{"title":"Unemployment comparison for economic report","prompt":"What does the World Bank say about Japan's unemployment rate over the last 10 years? I need the most recent number, the year before, and the change."},{"title":"Government debt snapshot for risk analysis","prompt":"Show me the government debt data for Italy from the World Bank — I want the last 5 years of annual figures plus the year-over-year change on the most recent one."}],"resultDescription":"A JSON response containing an annual time series of the requested World Bank indicator for the specified country, covering up to the requested number of years. Each data point includes the year and value. The response also highlights the latest available value, the prior year's value, and the absolute or percentage change between them. Country and indicator metadata are included for context.","failureModes":["Invalid indicator slug returns a 404 or error response","Invalid or unsupported country code returns an error","Limit exceeding the maximum of 66 or set to 0 triggers a validation error","World Bank data may have gaps for certain country-indicator combinations, resulting in null values","Payment failure (insufficient USDC balance) results in a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need structured, annual macroeconomic time series data for a specific country sourced from the World Bank — particularly for indicators like GDP, inflation, unemployment, population, government debt, exports, FDI, or current account balance. It is ideal for cross-country macro reference, economic research, risk analysis, or populating dashboards with authoritative development statistics. Prefer it over proprietary data sources when open, citable World Bank data (CC BY 4.0) is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:53:36.215Z","isFirstParty":false}