Market Data WebSocket API
Connect to our real-time market data WebSocket for live quotes, time & sales, level 2 order book data, and market status updates.Connection URL
Authentication
Clients must authenticate upon connection. Request:Ping Messages (Keep-Alive Support)
To keep the WebSocket connection alive, clients may periodically send a ping message.This is CompulsoryClient Ping Message
Market status messages
initial market status message is sent right after successful authentication with web socket. Consecutive updates are only sent if there is some change in any of the field values messages are automatically sent without any subscription message Light Green = Pre Market Green = Real Time Light Red = After Hours Red = Closed Response:Subscriptions
Subscribe to Equity Quotes Request:Unsubscriptions
Unsubscribe from Stock Composite (quote + trade fields) Request:Request/Response Model
The Request/Response model allows clients to make REST-like HTTP calls over an active WebSocket connection. This is useful for fetching non-streaming, point-in-time data such as expiry dates or option chains without needing to open separate HTTP requests.Key Points
- Used for on-demand queries via WebSocket.
- Integrates seamlessly into the same connection used for streaming quotes.
- Response is matched to request using the unique id provided by the client.
Field Name | Description |
---|---|
symbol | Ticker or option symbol |
instrumentType | Type of instrument (e.g., equity = e, option = o) |
price | Current price |
size | Trade size |
totalVolume | Total traded volume |
tickVolume | Number of ticks |
openPrice | Opening price of the session |
highPrice | Session high price |
lowPrice | Session low price |
lastPrice | Last traded price |
netChange | Net change from previous close |
tradeExchange | MPID | exchange name |
tradeTimestamp | Exchange-provided trade’s timestamp ISO8601 format - (2025-06-25T04:12:14.327-04:00) |
askPrice | Ask price |
askChange | Change in ask price |
askExchange | ask exchange |
askSize | Ask size |
askSizeChange | Change in ask size |
bidPrice | Bid price |
bidChange | Change in bid price |
bidExchange | bid exchange |
bidSize | Bid size |
bidSizeChange | Change in bid size |
quoteTimestamp | Exchange-provided quote’s timestamp ISO8601 format - (2025-06-25T04:12:14.327-04:00) |
high52Week | highest price in 52 week |
low52Week | lowest price in 52 week |
openInterest | open interest |
dividend | latest ex dividend |
* | Wildcard to subscribe to all |
tradeSeq | trade sequence uniquely assigned by exchange |
tick | Tick for a particular trade |