Get Intraday Price Bars
get_intraday_barsFetch intraday OHLCV bars at 1, 5, 15, 30, or 60-minute resolution for stock tickers. Includes extended-hours data for 1-minute bars, enabling premarket and after-hours analysis.
Instructions
Get intraday OHLCV candles at 1, 5, 15, 30, or 60-minute resolution. Use for intraday price action analysis, volume patterns, and short-term technical analysis. Returns open, high, low, close, and volume for each bar. Set extended=true (1-minute resolution only) to include premarket (04:00–09:30 ET) and after-hours (16:00–20:00 ET) bars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End time as UNIX timestamp | |
| from | Yes | Start time as UNIX timestamp | |
| ticker | Yes | Stock ticker symbol (e.g., "AAPL", "TSLA") | |
| extended | No | Include extended-hours bars (premarket 04:00–09:30 ET and after-hours 16:00–20:00 ET). Only supported with resolution "1". | |
| resolution | Yes | Bar resolution in minutes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |