Use this endpoint to get prices as OHLCV (open-high-low-closed-volume) data for specified period, aggregation interval and trading session
Bearer authentication header of the form Bearer <token>
, where <token>
is your key. Get the key here
US stock market ticker symbol, e.g. AAPL, TSLA, etc.
Aggregation interval for the requested data
min
, day
, week
, month
, year
Aggregation step for each candle. For example, interval=day&step=1
for daily candles, interval=min&step=15
for 15-minute candles.
Start of the requested period, unix timestamp with milliseconds
End of the requested period, unix timestamp with milliseconds. Default value of 0
represents the latest available data.
Trading session, regular
- only include data for regular trading session, all
- return data including premarket, regular and postmarket
regular
, all
Successful response in standard envelope.
The response is of type object
.