Request Parameters & Usage
| Parameter | Required | Format | Description |
|---|---|---|---|
start_date |
NO | YYYY-MM-DD |
Optional lower bound for the requested history. |
end_date |
NO | YYYY-MM-DD |
Optional upper bound. Defaults to the current date. |
api_key |
CONDITIONAL | string |
Required for non-USD and paid access. USD endpoints are available free without an API key. |
Example Usage
To retrieve the Trade Balance data for AUD starting from the beginning of 2023:
GET https://fxmacrodata.com/api/v1/announcements/aud/trade_balance?start_date=2023-01-01&end_date=2023-12-31&api_key=YOUR_API_KEY