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, where pre_market is pre-market session, intraday is for regular trading session, and post_market is post-market session. Default value is intraday.
pre_market, intraday, post_market Adjust the historical prices for corporate actions, can be one of the following values:
| value | description |
|---|---|
actual | Return prices as is, no adjustment (default value) |
backward_3 | adjust backward for splits, bonus shares, spin offs, dividends |
backward_2 | adjust backward for splits, bonus shares, spin offs |
backward_1 | adjust backward for splits, bonus shares |
backward | adjust backward for splits only |
forward_3 | adjust forward for splits, bonus shares, spin offs, dividends |
forward_2 | adjust forward for splits, bonus shares, spin offs |
forward_1 | adjust forward for splits, bonus shares |
forward | adjust forward for splits only |
actual, backward_3, backward_2, backward_1, backward, forward_3, forward_2, forward_1, forward