{"uid":"cap_PX7uKw103WKsN-YDI5w73","slug":"world-bank-macroeconomic-indicators-api-0a6d97a5","name":"World Bank Macroeconomic Indicators API","description":"Annual macroeconomic series from the World Bank Indicators API, normalized JSON. Query: ?country=USA&indicator=FP.CPI.TOTL.ZG&years=5 (ISO3 country code; common indicators: FP.CPI.TOTL.ZG inflation %, NY.GDP.MKTP.CD GDP current US$, GC.DOD.TOTL.GD.ZS gov debt %GDP, SL.UEM.TOTL.ZS unemployment %). Returns the last N years with values, newest first. 200+ countries; 24h cache.","url":"https://x402-datashop-production.up.railway.app/v1/global/macro","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"},"queryParams":{"type":"object","properties":{"years":{"type":"integer","default":5,"description":"Last N years (1-20)"},"country":{"type":"string","default":"USA","description":"ISO3 country code"},"indicator":{"type":"string","default":"FP.CPI.TOTL.ZG","description":"World Bank indicator id"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z346SOiJcnJSgf8-jWqFw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns normalized annual macroeconomic time series (inflation, GDP, debt, unemployment, etc.) for any country from the World Bank Indicators API, with 24-hour caching.","exampleAgentPrompt":"Pull the World Bank macroeconomic data for the United States — give me the last 10 years of inflation (FP.CPI.TOTL.ZG), newest first.","exampleUseCases":null,"resultDescription":"A normalized JSON array of annual data points for the requested country and World Bank indicator, sorted newest-first, covering the last N years with available values. Each record includes the year and the indicator value.","failureModes":["Invalid ISO3 country code returns an error or empty result","Unsupported or misspelled World Bank indicator ID returns no data","Years parameter out of range (outside 1-20) may return an error","World Bank upstream API unavailability may cause failures","No data available for a country-indicator combination returns empty series"],"whenToPreferThis":"Use this endpoint when you need official World Bank annual macroeconomic indicators (inflation, GDP, government debt, unemployment) for any of 200+ countries in normalized JSON format with caching. Prefer this over raw World Bank API calls for convenience, normalization, and caching. Ideal for trend analysis, cross-country comparisons, and economic research pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:32:46.166Z","isFirstParty":false}