Option Expirations
GetOptionExpirationsList the available option expiration dates for a stock, with the contract count at each. Use this to pick an expiration for GetOptionChain. Pass expired=true for past expirations (US tickers), to pick one for GetOptionChainSession. For a TSX/TSXV listing or an NSE share or index pass MIC:TICKER, e.g. XTSE:RY, XNSE:NIFTY.
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>"
},
"name": "GetOptionExpirations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker, e.g. AAPL, or MIC:TICKER for a TSX or TSXV listing or an NSE share or index, e.g. XTSE:RY, XNSE:NIFTY | |
| endDate | No | With expired=true: last expiration date in YYYY-MM-DD format (default: yesterday) | |
| expired | No | List past expirations instead of upcoming ones (default: false) | |
| startDate | No | With expired=true: first expiration date in YYYY-MM-DD format (default: 90 days before endDate) |