tastytradeDeveloper Docs
Legacy ↗

API Reference / Instruments

List Detailed Option Chains

getOptionChainsSymbol
get/option-chains/{symbol}

Base URL: https://api.cert.tastyworks.com (Sandbox) · https://api.tastyworks.com (Production)

Returns the full equity option chain for an underlying symbol (e.g. `AAPL`) as a flat list of equity option instruments. Each item is a complete equity option representation.

Code samples

curl -X GET 'https://api.cert.tastyworks.com/option-chains/AAPL' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'User-Agent: tastytrade-docs-example/1.0'

Parameters

NameInTypeDescription
symbol*pathstring
e.g. "AAPL"

Responses

200The equity option chain for the given underlying symbol as equity option instruments.application/json

Example response

{
  "data": {
    "items": [
      {
        "active": true,
        "days-to-expiration": 1,
        "exercise-style": "American",
        "expiration-date": "2023-07-31",
        "expiration-type": "Weekly",
        "expires-at": "2023-07-31T20:15:00.000+00:00",
        "halted-at": "2024-01-15T14:30:00.000Z",
        "instrument-type": "Equity Option",
        "is-closing-only": false,
        "listed-market": "string",
        "market-time-instrument-collection": "string",
        "old-security-number": "string",
        "option-chain-type": "Standard",
        "option-type": "C",
        "root-symbol": "SPY",
        "settlement-type": "PM",
        "shares-per-contract": 100,
        "stops-trading-at": "2023-07-31T20:15:00.000+00:00",
        "streamer-symbol": ".SPY230731C393",
        "strike-price": "393.0",
        "symbol": "SPY   230731C00393000",
        "underlying-symbol": "SPY"
      }
    ]
  },
  "context": "/option-chains/{symbol}",
  "pagination": {
    "per-page": 0,
    "page-offset": 0,
    "item-offset": 0,
    "total-items": 0,
    "total-pages": 0,
    "current-item-count": 0
  }
}

Schema

  • datarequiredobject
    • itemsrequiredarray<object>{22 fields}
  • contextrequiredstring

    example: "/option-chains/{symbol}"

  • paginationobject

    Paging metadata, present on paginated list responses.

    • per-pageinteger
    • page-offsetinteger
    • item-offsetinteger
    • total-itemsinteger
    • total-pagesinteger
    • current-item-countinteger
401Missing or expired access token, or a missing/malformed `User-Agent` header.application/json

Example response

{
  "error": {
    "code": "unauthorized",
    "message": "No valid access token was provided; access tokens expire after 15 minutes."
  }
}

Schema

  • errorrequiredobject
    • coderequiredstring

      Machine-readable error code (see the Error reference).

    • messagerequiredstring

      Human-readable explanation.

    • errorsarray<object>{3 fields}

      Present for multi-error / validation failures; one entry per problem.

404No option chain exists for the given underlying symbol.application/json

Example response

{
  "error": {
    "code": "string",
    "message": "string",
    "errors": [
      {
        "code": "string",
        "message": "string",
        "domain": "string"
      }
    ]
  }
}

Schema

  • errorrequiredobject
    • coderequiredstring

      Machine-readable error code (see the Error reference).

    • messagerequiredstring

      Human-readable explanation.

    • errorsarray<object>{3 fields}

      Present for multi-error / validation failures; one entry per problem.

429Request rate exceeded. Back off exponentially and reduce request frequency.application/json

Example response

{
  "error": {
    "code": "string",
    "message": "string",
    "errors": [
      {
        "code": "string",
        "message": "string",
        "domain": "string"
      }
    ]
  }
}

Schema

  • errorrequiredobject
    • coderequiredstring

      Machine-readable error code (see the Error reference).

    • messagerequiredstring

      Human-readable explanation.

    • errorsarray<object>{3 fields}

      Present for multi-error / validation failures; one entry per problem.

Related

Agents: this page is also Markdown (with the embedded OpenAPI definition) — append .md or send Accept: text/markdown. Index at /llms.txt.