Get Options K-line (OHLCV) data
Options
Get Options K-line (OHLCV) data
OpenAPI JSON Spec Retrieve options OHLCV + VWAP candlestick data for a specific contract.
Options ticker format (OCC): O:{UNDERLYING}{YYMMDD}{C/P}{STRIKE} e.g. O:SPY260620C00570000
Data source: Polygon.io flat files (historical, T+1) + REST API (today, on-demand backfill). VWAP computed from trades data (historical) or Polygon aggregates (today).
Interval routing:
1min: Raw 1-minute bars2min–10min: Aggregated from 1-minute data15min: Raw 15-minute bars30min–4h: Aggregated from 15-minute data1d: Raw daily bars1w,1m: Aggregated from daily data
Response fields:
options_ticker: OCC-format options tickerunderlying_symbol: Underlying stock symboltime_open: Period start (Unix timestamp seconds)time_close: Period end (Unix timestamp seconds)price_open,price_high,price_low,price_close: OHLC pricesvolume_traded: Trading volumetrades_count: Number of tradesvwap: Volume-weighted average price
GET
Get Options K-line (OHLCV) data
Authorizations
API Key authentication. Example: "your-api-key-here"
Query Parameters
Underlying symbol (e.g. SPY, AAPL)
OCC-format options ticker (e.g. O:SPY260620C00570000)
Interval
Available options:
1min, 2min, 3min, 5min, 10min, 15min, 30min, 45min, 1h, 2h, 4h, 1d, 1w, 1m Start time (Unix seconds)
End time (Unix seconds)
Limit (default 500, max 10000)

