Historical data by exchange
GET/v1/ohlcv/exchanges/:exchange_id/history
Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific exchange eg BITSTAMP
The OHLCV Historical endpoint data can be delayed a few seconds.
The difference between time_end
and time_start
cannot be higher than 1 day.
The period_id
cannot be higher than 1DAY
.
Request
Path Parameters
Exchange identifier of requested timeseries (from the Metadata -> Exchanges)
Query Parameters
Identifier of requested timeseries period (e.g. 5SEC
or 1DAY
)
Timeseries starting time in ISO 8601
Timeseries ending time in ISO 8601
Responses
- 200
successful operation
- text/plain
- application/json
- text/json
- application/x-msgpack
- Schema
- Example (from schema)
Schema
Array [
]
The start time of the time period.
The end time of the time period.
The time when the price opened.
The time when the price closed.
The opening price.
The highest price during the time period.
The lowest price during the time period.
The closing price.
The total volume traded during the time period.
The number of trades executed during the time period.
[
{
"time_period_start": "2024-11-12T12:17:30.360Z",
"time_period_end": "2024-11-12T12:17:30.360Z",
"time_open": "2024-11-12T12:17:30.360Z",
"time_close": "2024-11-12T12:17:30.360Z",
"price_open": 0,
"price_high": 0,
"price_low": 0,
"price_close": 0,
"volume_traded": 0,
"trades_count": 0,
"symbol_id_exchange": "string",
"symbol_id_coinapi": "string"
}
]
- Schema
- Example (from schema)
Schema
Array [
]
The start time of the time period.
The end time of the time period.
The time when the price opened.
The time when the price closed.
The opening price.
The highest price during the time period.
The lowest price during the time period.
The closing price.
The total volume traded during the time period.
The number of trades executed during the time period.
[
{
"time_period_start": "2024-11-12T12:17:30.361Z",
"time_period_end": "2024-11-12T12:17:30.361Z",
"time_open": "2024-11-12T12:17:30.361Z",
"time_close": "2024-11-12T12:17:30.361Z",
"price_open": 0,
"price_high": 0,
"price_low": 0,
"price_close": 0,
"volume_traded": 0,
"trades_count": 0,
"symbol_id_exchange": "string",
"symbol_id_coinapi": "string"
}
]
- Schema
- Example (from schema)
Schema
Array [
]
The start time of the time period.
The end time of the time period.
The time when the price opened.
The time when the price closed.
The opening price.
The highest price during the time period.
The lowest price during the time period.
The closing price.
The total volume traded during the time period.
The number of trades executed during the time period.
[
{
"time_period_start": "2024-11-12T12:17:30.361Z",
"time_period_end": "2024-11-12T12:17:30.361Z",
"time_open": "2024-11-12T12:17:30.361Z",
"time_close": "2024-11-12T12:17:30.361Z",
"price_open": 0,
"price_high": 0,
"price_low": 0,
"price_close": 0,
"volume_traded": 0,
"trades_count": 0,
"symbol_id_exchange": "string",
"symbol_id_coinapi": "string"
}
]
- Schema
- Example (from schema)
Schema
Array [
]
The start time of the time period.
The end time of the time period.
The time when the price opened.
The time when the price closed.
The opening price.
The highest price during the time period.
The lowest price during the time period.
The closing price.
The total volume traded during the time period.
The number of trades executed during the time period.
[
{
"time_period_start": "2024-11-12T12:17:30.361Z",
"time_period_end": "2024-11-12T12:17:30.361Z",
"time_open": "2024-11-12T12:17:30.361Z",
"time_close": "2024-11-12T12:17:30.361Z",
"price_open": 0,
"price_high": 0,
"price_low": 0,
"price_close": 0,
"volume_traded": 0,
"trades_count": 0,
"symbol_id_exchange": "string",
"symbol_id_coinapi": "string"
}
]