Skip to content

Contracts

FreeValueStandardPro

List all option contracts traded or quoted on a given date, optionally filtered to a symbol.

Lists all contracts that were traded or quoted on a particular date.

If the symbol parameter is specified, the returned contracts will be filtered to match the symbol. When symbol is omitted the full universe of contracts for that date is returned. This endpoint is updated real-time.

trade · 20250303
Client
Auth
Style
from thetadatadx import Client

client = Client.from_env()

rows = client.market_data.option_list_contracts(
    "trade", "20250303",
)
for t in rows:
    print(t.symbol, t.expiration, t.strike, t.right)
Sample response · JSON
[
  {
    "expiration": "2023-06-16",
    "right": "CALL",
    "strike": 260,
    "symbol": "ABNB"
  },
  {
    "expiration": "2023-06-16",
    "right": "CALL",
    "strike": 260,
    "symbol": "AAPL"
  },
  {
    "expiration": "2022-09-30",
    "right": "CALL",
    "strike": 14.5,
    "symbol": "AAL"
  }
]

Parameters

NameTypeRequiredDefaultDescription
request_typestringyesRequest type. Accepted values: trade, quote, eod, ohlc.
datedateyesDate YYYYMMDD
symbolstringnoTicker symbol to filter by (e.g. AAPL). Omit to list every contract for the date.
max_dteintnoMaximum days to expiration
timeout_msintnoPer-request deadline in milliseconds. 0 means no deadline.

Response

Rows of OptionContract:

FieldTypeDescription
symbolstringUnderlying symbol of the contract.
expirationi32Expiration date of the contract as a YYYYMMDD integer.
strikef64Strike price of the contract in dollars.
rightstringContract right: 'C' for a call, 'P' for a put.

Released under the Apache-2.0 License.