get_option_contracts
Fetch option contracts for given underlying symbols, filtering by type, expiration, strike price, and status.
Instructions
Retrieves option contracts for underlying symbol(s).
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 | |||