Skip to main content

Expirations

Get a list of current or historical option expiration dates for an underlying symbol. If no optional parameters are used, the endpoint returns all expiration dates in the option chain.

Endpoint

https://api.marketdata.app/v1/options/expirations/{underlyingSymbol}/

Method

GET

Request Example

Response Example

{
"s": "ok",
"expirations": [
"2022-09-23",
"2022-09-30",
"2022-10-07",
"2022-10-14",
"2022-10-21",
"2022-10-28",
"2022-11-18",
"2022-12-16",
"2023-01-20",
"2023-02-17",
"2023-03-17",
"2023-04-21",
"2023-06-16",
"2023-07-21",
"2023-09-15",
"2024-01-19",
"2024-06-21",
"2025-01-17"
],
"updated": 1663704000
}

Request Parameters

  • underlyingSymbol string

    The underlying ticker symbol for the options chain you wish to lookup.

Response Attributes

  • s string

    Status will always be ok when there is strike data for the underlying/expirations requested.

  • expirations array[date]

    The expiration dates requested for the underlying with the option strikes for each expiration.

  • updated date

    The date and time of this list of options strikes was updated in Unix time. For historical strikes, this number should match the date parameter.