get_option_contracts
Retrieve and filter option contracts for underlying symbols by type, style, status, expiration, and strike price to find tradable options.
Instructions
Retrieves option contracts for underlying symbol(s).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_option_contracts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | The type of the option contract. | |
| limit | No | The number of contracts to limit per page (default=100, max=10000). | |
| ppind | No | The ppind (Penny Program Indicator) field indicates whether an option contract is eligible for penny price increments, with `true` meaning it is part of the Penny Program and `false` meaning it is not. | |
| style | No | The style of the option contract. | |
| status | No | Filter contracts by status (active/inactive). By default only active contracts are returned. | |
| page_token | No | Used for pagination, this token retrieves the next page of results. It is obtained from the response of the preceding page when additional pages are available. | |
| root_symbol | No | Filter contracts by the root symbol. | |
| expiration_date | No | Filter contracts by the exact expiration date (format: YYYY-MM-DD). | |
| strike_price_gte | No | Filter contracts with strike price greater than or equal to the specified value. | |
| strike_price_lte | No | Filter contracts with strike price less than or equal to the specified value. | |
| show_deliverables | No | Include deliverables array in the response. | |
| underlying_symbols | No | Filter contracts by one or more underlying symbols. | |
| expiration_date_gte | No | Filter contracts with expiration date greater than or equal to the specified date. | |
| expiration_date_lte | No | Filter contracts with expiration date less than or equal to the specified date. By default this is set to the next weekend. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||