Retrieve historical exchange rates for a specific date. This endpoint allows you to access past market data for all available currencies, which is essential for auditing, backtesting trading strategies, or historical analysis.
The returned data reflects the market state at the close of the requested day.
Query parameters
The requested date in YYYY-MM-DD format (e.g., 2023-12-25).
The currency code of the base currency to quote rates against (e.g., USD). If not provided, defaults to the system base currency.
A comma-separated list of currency codes to limit the response to (e.g., EUR,GBP,JPY). If omitted, all available currencies are returned.
Response
The Unix timestamp (epoch) for the returned data.
The base currency used for the exchange rates.
An object containing key-value pairs of currency codes and their corresponding exchange rates.