get_options_expiration
Retrieve option chains by expiration date with Greeks, IV, and strike prices. Filter by date ranges or exact dates to analyze call and put contracts for underlying symbols.
Instructions
Option chain by expiration. Retrieve option chain data by expiration. Provide either expiration (exact date) or from/to (date range). Use the /v3/symbols/quotes endpoint with the returned option codes to get last price and volume (up to 10 codes per request). → Returns {underlying_code: string, last_update: number, last_price?: number, data: [{code?: string, type: string, strike_price: number, expiration: number, ask_price: number, bid_price: number, delta: number, gamma: number, theta: number, vega: number, rho: number, implied_volatility: number, theoretical_price: number, bid_iv: number, ask_iv: number}]}. Provide expiration for exact date, or from/to for a date range. last_price is included when range is provided. To get last price and volume of option contracts, use get_quotes with the option codes (e.g., codes=OPRA:AAPL270617C230.0,OPRA:AAPL270617C260.0, up to 10). For historical option price data use get_symbol_series.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | (Required) Symbol code in Exchange:Symbol format (e.g., NASDAQ:AAPL). Use search_symbols to find the correct code. | |
| expiration | No | (Required if from/to not provided) Exact expiration date. Ignored when from or to is provided. | |
| from | No | (Optional) Minimum expiration date. When provided, expiration parameter is ignored. | |
| to | No | (Optional) Maximum expiration date. When provided, expiration parameter is ignored. | |
| range | No | (Optional) Strike price range as a percentage of the current underlying price. For example, range=10 returns only options with strikes within ±10% of the current price. | |
| type | No | (Optional) Filter by option type. | |
| sortBy | No | (Optional) Sort by specified field | |
| sort | No | (Optional) Sort order | |
| filter | No | (Optional) JSONata expression to filter/transform the API response server-side before it reaches you. Use this to extract only the fields or rows you need, reducing token usage. See https://jsonata.org for syntax. |