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 Retail Sales data for PLN starting from the beginning of 2023:
GET https://fxmacrodata.com/api/v1/announcements/pln/retail_sales?start_date=2023-01-01&end_date=2023-12-31&api_key=YOUR_API_KEY