Get Option Contracts
GET {{baseUrl}}/v2/options/contracts
This endpoint allows you to retrieve a list of option contracts based on various filtering criteria. By default only active contracts that expire before the upcoming weekend are returned.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
underlying_symbols | string | Filter contracts by one or more underlying symbols. | |
status | string | Filter contracts by status (active/inactive). By default only active contracts are returned. | |
expiration_date | string | Filter contracts by the exact expiration date (format: YYYY-MM-DD). | |
expiration_date_gte | string | Filter contracts with expiration date greater than or equal to the specified date. | |
expiration_date_lte | string | Filter contracts with expiration date less than or equal to the specified date. By default this is set to the next weekend. | |
root_symbol | string | Filter contracts by the root symbol. | |
type | string | Filter contracts by the type (call/put). | |
style | string | Filter contracts by the style (american/european). | |
strike_price_gte | number | Filter contracts with strike price greater than or equal to the specified value. | |
strike_price_lte | number | Filter contracts with strike price less than or equal to the specified value. | |
page_token | string | 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. | |
limit | number | The number of contracts to limit per page (default=100, max=10000). |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Apca-Api-Key-Id | string | ||
Apca-Api-Secret-Key | string |
RESPONSES
status: OK
{"option_contracts":[{"id":"98359ef7-5124-49f3-85ea-5cf02df6defa","symbol":"AAPL250620C00100000","name":"AAPL Jun 20 2025 100 Call","status":"active","tradable":true,"expiration_date":"2025-06-20","underlying_symbol":"AAPL","underlying_asset_id":"b0b6dd9d-8b9b-48a9-ba46-b9d54906e415","type":"call","style":"american","strike_price":"100","size":"100","root_symbol":"AAPL","open_interest":"237","open_interest_date":"2023-12-11","close_price":"148.38","close_price_date":"2023-12-11"},{"id":"98359ef7-5124-49f3-85ea-5cf02df6defa","symbol":"AAPL250620C00100000","name":"AAPL Jun 20 2025 100 Call","status":"active","tradable":true,"expiration_date":"2025-06-20","underlying_symbol":"AAPL","underlying_asset_id":"b0b6dd9d-8b9b-48a9-ba46-b9d54906e415","type":"call","style":"american","strike_price":"100","size":"100","root_symbol":"AAPL","open_interest":"237","open_interest_date":"2023-12-11","close_price":"148.38","close_price_date":"2023-12-11"}],"next_page_token":"MTAwMA=="}