API Endpoint Documentation
Use this page as the canonical quick-reference for endpoint structure and authentication.
Authentication format: Use query-parameter authentication for public endpoint examples.
https://fxmacrodata.com/api/{currency}/{indicator}?api_key=YOUR_API_KEY
Example: https://fxmacrodata.com/api/aud/policy_rate?api_key=YOUR_API_KEY
Base Endpoint Pattern
GET /api/{currency}/{indicator}?start_date=YYYY-MM-DD&end_date=YYYY-MM-DD&api_key=YOUR_API_KEY
- currency: usd, aud, eur, gbp, chf, jpy, nzd, cad
- indicator: indicator slug, for example inflation or policy_rate
- start_date: required date filter in YYYY-MM-DD format
- end_date: optional date filter in YYYY-MM-DD format
Primary Endpoint Groups
Indicator Series
Macroeconomic history by currency and indicator.
Release Calendar
Upcoming announcement dates by currency and optional indicator filter.
FX Spot History
Historical FX spot data for currency pairs over configurable date ranges.
Indicator Catalogue
Metadata and available indicators for a given currency.
Example Requests
GET https://fxmacrodata.com/api/usd/inflation?start_date=2024-01-01&end_date=2025-01-01&api_key=YOUR_API_KEY
GET https://fxmacrodata.com/api/aud/policy_rate?api_key=YOUR_API_KEY
Detailed metric pages: browse the complete endpoint index at /api-data-docs/.
OpenAPI schema: https://fxmacrodata.com/api/openapi.json