Skip to content

Expirations

FreeValueStandardPro

List available expiration dates for an option underlying.

Lists all dates of expirations that are available for an option with a given symbol. This endpoint is updated overnight.

SPY
Client
Auth
Style
from thetadatadx import Client

client = Client.from_env()

rows = client.market_data.option_list_expirations(
    "SPY",
)
for t in rows:
    print(t)

Parameters

NameTypeRequiredDefaultDescription
symbolstringyesTicker symbol (e.g. AAPL)
timeout_msintnoPer-request deadline in milliseconds. 0 means no deadline.

Response

A list of strings — one expiration value per row.

Released under the Apache-2.0 License.