{"uid":"cap_0PTn3VHlWDqPgQX70sceY","slug":"fx-reference-rates-api-country-macroeconomic-indicators-6846aa1e","name":"FX Reference Rates API – Country Macroeconomic Indicators","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/country?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":["country"],"properties":{"years":{"type":"string","pattern":"^\\d{1,2}$"},"country":{"type":"string","minLength":2}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"country":{"iso3":"JPN","name":"Japan","income":"High income","region":"East Asia & Pacific"},"indicators":{"gdp_growth_pct":{"latest":{"year":2025,"value":1.19311},"history":[[2024,-0.240084],[2025,1.19311]]}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oYjs067vct8w6v0rRV3zF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns World Bank macroeconomic indicators (GDP, inflation, unemployment, debt, population, and more) for a specified country, covering ~217 economies.","exampleAgentPrompt":"Pull up the latest macroeconomic indicators for Japan — GDP growth, inflation, unemployment, and debt — going back 5 years.","exampleUseCases":[{"title":"Country economic health dashboard","prompt":"Give me the latest macroeconomic indicators for Brazil — GDP growth, inflation, unemployment, and current account balance — with 3 years of history so I can see the trend."},{"title":"Emerging market investment screening","prompt":"I'm researching investment opportunities in Southeast Asia — can you pull macro indicators like GDP growth, FDI, and debt levels for Vietnam?"},{"title":"Academic country comparison research","prompt":"I need World Bank macro data for Germany: GDP, inflation, unemployment, and population for the last 10 years for a research paper I'm writing."}],"resultDescription":"A JSON object containing country metadata (ISO3 code, name, income group, region) and a dictionary of macroeconomic indicators. Each indicator includes the latest value with its year and a history array of [year, value] pairs going back as many years as requested.","failureModes":["Missing or invalid 'country' parameter returns an error — the country query param is required","Unrecognized country name or code may return no results or an error","Requesting more than the available historical coverage may return fewer years than requested","Some indicators may have null or missing values for certain countries where World Bank data is unavailable","Network or upstream World Bank data issues may cause intermittent failures"],"whenToPreferThis":"Choose this endpoint when you need structured, multi-indicator macroeconomic data for a specific country sourced from the authoritative World Bank WDI dataset. It is ideal for country risk analysis, investment research, economic comparisons, or populating dashboards with official statistics. Prefer this over general web search when you need clean, machine-readable, consistently formatted economic data across ~217 economies with historical time series.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:28.681Z","isFirstParty":false,"canonicalSlug":"fx-reference-rates-api-country-macroeconomic-indicators-6846aa1e"}