工具 API
get_ macro_ indicator
Fetch macroeconomic indicators for a country over time. Use when the user asks about country-level economic data: GDP, inflation, CPI, unemployment, population, trade balance, debt-to-GDP, life expectancy, and 30+ other World Bank-style indicators. Returns a historical time series for one indicator in one country. Country is specified by ISO-3 alpha code (e.g., USA, DEU, FRA). Defaults to GDP if no indicator specified. This is for country-level macro data only. For company fundamentals, use get_fundamentals_data (single ticker) or get_bulk_fundamentals (entire exchange).
调用信息
- 工具标识
- eodhd.get_macro_indicator
- 服务提供方
- EODHD
- 平均响应
- 0 ms
- 近 7 天调用
- 0
输入参数
country必填Alpha-3 ISO country code (e.g., 'USA', 'FRA', 'DEU').
indicatorOne of documented indicators. Defaults to 'gdp_current_usd'.
fmt'json' or 'csv'. Default 'json'.
api_tokenPer-call token override.