Option trades
options_tradesFetch historical option-contract trades by OCC symbol, with premium per share and contract size. Filter by start/end or lookback; large results return a result_id for results_query.
Instructions
Historical trades for option contracts by OCC symbol (premium per share in USD, size in contracts). Window by start/end or lookback (default P1D). Large results are stored, not shown: you get a result_id to query with results_query.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Window end (same format). Default: now (Alpaca's latest available). | |
| sort | No | Time order of the rows: asc (oldest first, default) or desc (newest first). | asc |
| start | No | Window start: ISO date (00:00 UTC) or datetime with a zone, e.g. 2026-01-02T14:30:00Z. | |
| lookback | No | Window length back from end as an ISO-8601 duration (P5D, P1Y, PT20M); only when start is omitted. Default P1D. | |
| page_token | No | Continue a truncated fetch: the page_token from the previous response's pagination. | |
| occ_symbols | Yes | OCC option symbols, e.g. ["AAPL250117C00150000"] (1-100). |