{"uid":"cap_nqJb9BCektud3teUJkBpo","slug":"agentsvc-io-macro-data-world-bank-economic-indicators-58214480","name":"agentsvc.io Macro Data – World Bank Economic Indicators","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/macro-data?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"years":{"type":"integer","default":5,"maximum":20,"minimum":1},"country":{"type":"string"},"indicators":{"type":"array","items":{"enum":["inflation","gdp","gdp_growth","gdp_per_capita","unemployment","population","government_debt","current_account","exports","lending_rate"],"type":"string"}},"include_ecb_rates":{"type":"boolean","default":false}}},"responseSchema":{"type":"json","example":{"data":{"source":"World Bank Open Data","country":"DE","checked_at":"2026-10-06T14:17:45.054Z","indicators":[{"code":"FP.CPI.TOTL.ZG","label":"Inflation, consumer prices (annual %)","latest":{"year":2025,"value":2.17178770949721},"history":[{"year":2025,"value":2.17178770949721},{"year":2024,"value":2.2564981433876}],"indicator":"inflation","country_name":"Germany"},{"code":"SL.UEM.TOTL.ZS","label":"Unemployment (% of labor force, ILO)","latest":{"year":2025,"value":3.711},"history":[{"year":2025,"value":3.711},{"year":2024,"value":3.4}],"indicator":"unemployment","country_name":"Germany"}],"country_name":"Germany"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l5mx36GnSNEWG1ERyLaH1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches multi-year macroeconomic indicators (GDP, inflation, unemployment, etc.) for a given country from World Bank Open Data, optionally including ECB interest rates.","exampleAgentPrompt":"Pull the World Bank macro data for Germany over the last 5 years — I want inflation, unemployment, and GDP growth, and also include the ECB rates.","exampleUseCases":[{"title":"Country economic briefing for investors","prompt":"Get me the last 7 years of GDP growth, inflation, and government debt data for Italy from World Bank so I can assess the macro environment before recommending it to a client."},{"title":"Unemployment trend analysis for policy report","prompt":"Fetch unemployment and GDP per capita data for Spain, Brazil, and South Africa for the past 10 years so I can compare labor market trends across emerging and developed economies."},{"title":"Inflation monitoring for a hedge fund dashboard","prompt":"Retrieve the latest 3 years of inflation and lending rate data for the United States, and include ECB rates as well — I need this to update our macro risk dashboard."}],"resultDescription":"A JSON object containing the country name and code, the timestamp of the data check, the data source (World Bank Open Data), and an array of indicator objects — each with its World Bank code, human-readable label, latest value (with year), and a historical time series array of year-value pairs going back the requested number of years. ECB rate data is appended when requested.","failureModes":["Unsupported or misspelled country code returns an error or empty result","Requesting indicators not in the allowed enum causes a validation error","Years value outside 1–20 range is rejected","World Bank API upstream unavailability causes a timeout or 502","No data available for a specific indicator/country combination returns null values in history"],"whenToPreferThis":"Choose this endpoint when you need structured, time-series macroeconomic data for a specific country sourced from World Bank Open Data — especially when you need multiple indicators in a single call without managing API keys or registrations. Prefer it over direct World Bank API calls when you want a simple pay-per-use model with no account setup, and when you need optional ECB rate enrichment alongside standard indicators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T12:40:08.117Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-macro-data-world-bank-economic-indicators-58214480"}