🔗 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
/v1/ohlcv/exchange/{exchange_id}/history

Authorization

headerAuthorization<token>

API Key is required to access the endpoints

Path Parameters

exchange_id*string

Exchange identifier of requested timeseries (from the Metadata -> Exchanges)

Query Parameters

period_id*string

Identifier of requested timeseries period (e.g. 5SEC or 1DAY)

time_start*string

Timeseries starting time in ISO 8601

time_end*string

Timeseries ending time in ISO 8601

limit?integer

Maximum number of symbol rows to return (1-10000, default 100)

Formatint32
Default100

Response Body

successful operation

  1. 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"  }]