OHLC chart data for date range
Historical Data
OHLC chart data for date range
GET
OHLC chart data for date range
Retrieve aggregated chart data (open, high, low, close) for a specific currency pair within a custom time range. This endpoint is ideal for generating historical charts or analyzing market trends over a defined period.Documentation Index
Fetch the complete documentation index at: https://xchangeapi.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Note on Precision: Some currency pairs are returned with a multiplier (e.g., 100 or 1000) to ensure high precision.
Path parameters
The desired output format. Options:
json, xml, csv.Query parameters
The start of the requested period as a UNIX timestamp (seconds since epoch). Example:
1577836800 (January 1st, 2020).The end of the requested period as a UNIX timestamp (seconds since epoch). Example:
1577836800 (January 1st, 2020).Response
Response Structure: For a detailed explanation of the array indices (for JSON) and property definitions, please refer to the Response Structures guide.
