Option Trades
GetOptionTradesGet the trade tape for ONE option contract by its OCC symbol, active or expired, newest first: time, price, size, exchange and condition. A cancelled print stays in the tape, marked, so read volume from the bars, not a sum of prints. Defaults to the last 4 days; startDate and endDate set another window, and history begins in early 2024. A cut answer names the endTime that continues it. Plus receives trades 15 minutes after they print, Pro as they print; the Free plan is answered with an upgrade note. 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": "GetOptionTrades"
}
}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) | |
| endTime | No | Last time to include, in RFC 3339 format; replaces endDate | |
| contract | Yes | OCC option symbol, active or expired, e.g. O:AAPL270617C00350000 | |
| startDate | No | First date in YYYY-MM-DD format (default: 4 days before endDate) | |
| maxResults | No | Maximum trades to return, newest first (default: 60, max: 500) |