Dates
FreeValueStandardPro
List available dates for an option contract by request type.
Lists all dates of data that are available for an option with a given symbol, request type, and expiration. This endpoint is updated overnight.
trade · SPY · 20250321
from thetadatadx import Client
client = Client.from_env()
rows = client.market_data.option_list_dates(
"trade", "SPY", "20250321",
strike="570", right="C",
)
for t in rows:
print(t)Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
request_type | string | yes | — | Request type. Accepted values: trade, quote, eod, ohlc. |
symbol | string | yes | — | Ticker symbol (e.g. AAPL) |
expiration | date | yes | — | Expiration date YYYYMMDD |
strike | string | no | * | Strike price in dollars as a string (e.g. 500 or 17.5). Use * for wildcard selection. |
right | string | no | both | Option side. Use both or * (alias) for calls and puts. Accepted values: call, put, both, *. |
timeout_ms | int | no | — | Per-request deadline in milliseconds. 0 means no deadline. |
Response
A list of strings — one date value per row.