Historical prices
Get OHLCV time intervals for a symbol in a specified window. The range can be specified by start and end UNIX timestamps, The interval can be specified using:
- z, which can be d for day, h for hour, m for minute, or s for second.
- n, which is the length of the interval.
For example, to fetch 5 second intervals, you would set z to s and n to 5. To fetch 15 minute intervals, you would set z to m and n to 15.
Path parameters
Query parameters
The start timestamp for the chart window. This should be a UNIX timestamp.
The start timestamp for the chart window. This should be a UNIX timestamp.
The start timestamp for the chart window. This should be a UNIX timestamp.
The start timestamp for the chart window. This should be a UNIX timestamp.
The interval of the chart window. Can be d, h, m, or s for day, hour, minute, second.
The interval of the chart window. Can be d, h, m, or s for day, hour, minute, second.
The number of intervals to fetch.
The number of intervals to fetch.
Response
Successful Response
Example response
{
"data": [
{
"date": 1729082760000,
"open": 232.8825,
"high": 233.22,
"low": 232.84,
"close": 233.22,
"volume": 65730
}
],
"message": "success"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.