🔗 REST API - HistoricalOhlcv
Historical data by exchange
Get OHLCV timeseries data returned in time ascending order. Data can be requested by the period and for the specific exchange.
Time range is limited to 24 hours. Use limit to cap the number of symbol rows returned.
GET
header
Authorization<token>API Key is required to access the endpoints
exchange_id*stringExchange identifier of requested timeseries (from the Metadata -> Exchanges)
period_id*stringIdentifier of requested timeseries period (e.g. 5SEC or 1DAY)
time_start*stringTimeseries starting time in ISO 8601
time_end*stringTimeseries ending time in ISO 8601
limit?integerMaximum number of symbol rows to return (1-10000, default 100)
Format
int32Default
100successful operation
- response
[index: integer]?Represents a timeseries item with price and volume information.
curl -X GET 'https://api-historical.stock.finfeedapi.com/v1/ohlcv/exchange/string/history?period_id=string&time_start=string&time_end=string'[ { "time_period_start": "2019-08-24T14:15:22Z", "time_period_end": "2019-08-24T14:15:22Z", "time_open": "2019-08-24T14:15:22Z", "time_close": "2019-08-24T14:15:22Z", "price_open": 0, "price_high": 0, "price_low": 0, "price_close": 0, "volume_traded": 0.1, "trades_count": 0, "symbol_id_exchange": "string" }]