/v2/stream/ticket Create WebSocket ticket
stream_createTicket
A short-lived signed ticket that authenticates the first frame on GET /v2/ws.
Request body
The contract does not describe a body schema for this operation; the notes on this page give its fields.
Details
Mint a fresh ticket for each connection. Your entitlements are fixed into the ticket when it is minted, and a free plan without ITMatrixHQ Charts gets 403 not_entitled_tier.
Units
exp is epoch seconds, 60 seconds after minting.
Limits
API Explorer and API Pro keys can stream gex through the official ITMatrixHQ SDK, version 1.1.0 or later. An API Explorer account holds 5 connections and 25 GEX subscriptions, and an API Pro account holds 100 connections and 1,000 GEX subscriptions. While key streaming is switched off for an account, its key gets 403 not_entitled_tier with details.reason set to stream_preview. An account at its connection limit gets 429 quota_exceeded with details.reason set to connection_limit and details.limit.
Example
POST /v2/stream/ticket{
"data": {
"ticket": "eyJ1aWQiOiJ1c2VyLTEyMyIsInRpZXIiOiJwcm8ifQ==",
"exp": 1790493799
},
"meta": { "caps": { "tier": "pro", "applied": [] } }
}Response
Prices are dollars, timestamps epoch milliseconds, strikes integer thousandths of a dollar; null means unknown. Units →
200application/json
{ticket, exp} in data
object
A successful response: data, plus meta about the response.
data object required
A signed WebSocket ticket.
exp integer · int64 required Expiry, epoch seconds.
ticket string required The ticket to send in the first WebSocket frame.
meta object required
Response metadata.
caps object nullable
The entitlement caps that shaped this response.
applied array<string> required Caps that changed this response, such as range_clamped. Empty when none did.
darkpool boolean nullable Whether this account has Off-Exchange in the ITMatrixHQ apps.
flow boolean nullable Whether this account has options flow in the ITMatrixHQ apps: Basic or Pro plus a market-data declaration, except on a professional trial. Reported by the account operations.
gexDepth string nullable GEX data depth, on routes that report it.
tier string required The plan tier the request was served under.
cursor string nullable Opaque continuation cursor (pass back as ?cursor=); absent when there is nothing more to read.
plane string nullable Which serving tier answered the read (meta.plane). Informational provenance: treat it as an opaque label, because new values may appear.
Errors
Every error is the JSON error envelope; branch on error.code.
| Status | Meaning |
|---|---|
| 401 |
|
| 403 |
|
| 429 |
|
| 503 |
|