For developers and quant teams
API
Every series as clean JSON over HTTPS. Each release carries the time it was published, its first print and every later revision, so a backtest only sees what was known on the day.
- Inflation, jobs, GDP, policy rates and more for 26 currencies
- Release calendars, FX reference rates, yield curves, COT positioning and commodities
- First prints and revisions kept for point-in-time backtests
- Python SDK, or plain HTTPS from any language
from fxmacrodata import Client
client = Client(api_key="YOUR_API_KEY")
# US inflation, with release times and revisions
cpi = client.get_indicator("usd", "inflation")
# Daily FX reference rates
fx = client.get_fx_price("eur", "usd")
curl "https://api.fxmacrodata.com/v1/announcements/eur/unemployment" \
-H "X-API-Key: YOUR_API_KEY"