{"uid":"cap_l08CtTYIHufPIUUXmEYdJ","slug":"world-bank-macroeconomic-indicators-by-country-3a764ac0","name":"World Bank Macroeconomic Indicators by Country","description":"Daily ECB euro foreign exchange reference rates for 30 currencies (incl. EUR), any base via cross rates, conversion, historical dates (2024-09-24 onward) and time series. Updated daily. Source: ECB (European Central Bank euro foreign exchange reference rates). Reference rates are published around 16:00 CET on TARGET business days for information purposes only; not for transaction pricing. Cross rates are derived via EUR. Also: AI infrastructure price reference data (cloud GPU instance list prices on AWS and Azure, LLM API token prices), refreshed daily. Also: country macroeconomic indicators (GDP, growth, inflation, unemployment, debt, current account, reserves, FDI, population and more) for ~217 economies from the World Bank World Development Indicators (CC BY 4.0).","url":"https://fx-reference-rates.regnotes.workers.dev/v1/macro/indicator?utm_source=zero.xyz","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":["indicator","countries"],"properties":{"end":{"type":"string","pattern":"^\\d{4}$"},"start":{"type":"string","pattern":"^\\d{4}$"},"countries":{"type":"string"},"indicator":{"enum":["gdp_usd","gdp_growth_pct","gdp_per_capita_usd","gni_per_capita_ppp_usd","inflation_cpi_pct","unemployment_pct","population","exports_pct_gdp","imports_pct_gdp","current_account_pct_gdp","central_govt_debt_pct_gdp","tax_revenue_pct_gdp","real_interest_rate_pct","lending_rate_pct","fdi_net_inflows_pct_gdp","total_reserves_usd","official_fx_lcu_per_usd","remittances_pct_gdp","gini_index","life_expectancy_years","internet_users_pct"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"series":{"USA":[[2023,4.11634],[2024,2.94953]]},"indicator":"inflation_cpi_pct"}},"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_YJG-9nSlycWwkGz7Xnm66","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":"Retrieves historical macroeconomic indicator time series (GDP, inflation, unemployment, etc.) for up to 217 economies from World Bank World Development Indicators data.","exampleAgentPrompt":"Can you pull the inflation_cpi_pct time series for USA, GBR, and DEU from 2015 to 2023 using the World Bank macro indicator data?","exampleUseCases":[{"title":"Emerging market debt analysis","prompt":"Get me the central_govt_debt_pct_gdp data for Brazil, Turkey, and South Africa from 2010 to 2023 — I want to compare how their debt loads have evolved."},{"title":"Country investment screening","prompt":"Show me the FDI net inflows as a percentage of GDP for Vietnam, Indonesia, and India for the last five years so I can see which market has been attracting the most foreign investment."},{"title":"Global inflation comparison","prompt":"Pull the CPI inflation percentage for the US, Eurozone countries like Germany and France, and Japan from 2018 to 2024 — I need to see how inflation trends compared across these economies."}],"resultDescription":"Returns a JSON object containing the requested indicator name and a 'series' map keyed by country code, where each value is an array of [year, value] pairs covering the requested date range. Example: {\"indicator\": \"inflation_cpi_pct\", \"series\": {\"USA\": [[2023, 4.116], [2024, 2.949]]}}","failureModes":["Missing required 'indicator' or 'countries' query parameters returns a 400 error","Invalid indicator enum value returns a validation error","Country codes not recognized by World Bank may return empty series","Data unavailable for very recent years (World Bank publication lag) results in missing or null values","Requesting years before World Bank coverage starts returns empty arrays","Rate limiting or payment failure (x402) blocks the request"],"whenToPreferThis":"Use this endpoint when you need historical macroeconomic time series data for sovereign economies — GDP, inflation, unemployment, debt, FDI, population, and similar World Bank WDI indicators. It covers ~217 countries with annual data sourced directly from the World Bank. Prefer this over FX rate endpoints for macro fundamentals research, country risk analysis, or economic comparisons across nations. Not suitable for real-time or sub-annual data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:57.740Z","isFirstParty":false,"canonicalSlug":"world-bank-macroeconomic-indicators-by-country-3a764ac0"}