api-quote-tokens

Get API Quote Token

Returns the streamer endpoint, entitlement level, and identification token the current customer needs to subscribe to real-time market data over the DXLink streamer. The token identifies the customer to tastytrade's quote provider, DXLink, and is valid for 24 hours. Call this before opening a quote streamer connection.

get/api-quote-tokens

Request

  • Base URL
    https://api.cert.tastyworks.com
  • Auth
    none declared

Response

The DXLink streamer URL, entitlement level, and a quote token for the current customer. Quote streamer tokens are valid for 24 hours.

contextstring required

Example response

{
  "data": {
    "dxlink-url": "wss://dxlink.example.com/realtime",
    "expires-at": "2026-06-09T14:54:59.000Z",
    "issued-at": "2026-06-09T14:30:00.000Z",
    "level": "api",
    "token": "eyJhbGciOiJIUzI1NiJ9.example.quote.streamer.token"
  },
  "context": "/api-quote-tokens"
}

Changes

No recorded changes to this operation across all 1 revision of this API.