tastytradeDeveloper Docs
Legacy ↗

API Reference / Instruments

List Nested Futures Option Chains

getFuturesOptionChainsSymbolNested
get/futures-option-chains/{symbol}/nested

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

Returns the futures option chain for a given futures product code (e.g. `ES`) in a nested form that groups data by expiration and strike to minimize redundant processing. Each strike provides its call and put symbols.

Code samples

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

Parameters

NameInTypeDescription
symbol*pathstring
e.g. "ES"

Responses

200The nested futures option chain for the given product code.application/json

Example response

{
  "data": {
    "futures": [
      {
        "symbol": "AAPL",
        "root-symbol": "AAPL",
        "maturity-date": "2024-01-15",
        "expiration-date": "2024-01-15",
        "days-to-expiration": 0,
        "active-month": true,
        "next-active-month": true,
        "stops-trading-at": "2024-01-15T14:30:00.000Z",
        "expires-at": "2024-01-15T14:30:00.000Z"
      }
    ],
    "option-chains": [
      {
        "underlying-symbol": "AAPL",
        "root-symbol": "AAPL",
        "exercise-style": "string",
        "expirations": [
          {
            "underlying-symbol": "AAPL",
            "root-symbol": "AAPL",
            "option-root-symbol": "AAPL",
            "option-contract-symbol": "AAPL",
            "asset": "string",
            "expiration-date": "2024-01-15",
            "days-to-expiration": 0,
            "expiration-type": "string",
            "settlement-type": "string",
            "notional-value": "100.00",
            "display-factor": "string",
            "strike-factor": "string",
            "stops-trading-at": "2024-01-15T14:30:00.000Z",
            "expires-at": "2024-01-15T14:30:00.000Z",
            "tick-sizes": [],
            "strikes": []
          }
        ]
      }
    ]
  },
  "context": "/futures-option-chains/{symbol}/nested"
}

Schema

  • datarequiredobject (FuturesNestedOptionChainSerializer)

    Nested representation of a futures option chain, grouping futures, expirations, and strikes to minimize redundant processing.

    • futuresarray<object>{9 fields}

      Futures contracts associated with the option chain.

    • option-chainsarray<object>{4 fields}

      Option chains grouped by expiration and strike for each underlying future.

  • contextrequiredstring

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

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 futures option chain exists for the given product code.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.