Option Contract History
GetOptionContractHistoryGet past price and volume bars for ONE option contract by its OCC symbol, active or expired, newest first: open, high, low, close, volume, VWAP and trades. A period without trades has no bar. timeframe is day (default, last 90 days), hour (last 7 days) or minute (last 4 days); startDate and endDate set another window, and history begins in early 2024. Plus receives bars 15 minutes after they end, Pro as they form; the Free plan is answered with an upgrade note. Open interest, greeks and bid/ask have no history; implied volatility history is GetOptionVolatilityHistory. US tickers only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>",
"contract": "<contract>"
},
"name": "GetOptionContractHistory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | US stock ticker, e.g. AAPL | |
| endDate | No | Last date in YYYY-MM-DD format (default: today) | |
| contract | Yes | OCC option symbol, active or expired, e.g. O:AAPL270617C00350000 | |
| startDate | No | First date in YYYY-MM-DD format (default depends on timeframe) | |
| timeframe | No | Bar size: day, hour or minute (default: day) | day |
| maxResults | No | Maximum bars to return, newest first (default: 60, max: 500) |