FXMacroData
JSON →Macroeconomic and FX data API + MCP server for 18 currencies with central bank announcements, calendar, COT, commodities, and forex.
Install
pip install fxmacrodata Tools · 6
- get_indicator Fetches macroeconomic indicator time series data for a given currency and indicator.
- get_fx_price Fetches daily FX spot rates between two currencies, with optional technical indicators.
- get_calendar Fetches upcoming economic data release dates for a currency.
- get_data_catalogue Discovers available macroeconomic indicators for a given currency.
- get_cot Fetches CFTC Commitment of Traders (COT) positioning data for a currency.
- get_commodities Fetches commodity price time series for gold, silver, or platinum.
Environment variables
YOUR_API_KEY
Links
★ 6 GitHub stars