Tick-by-Tick (TBT) Socket - Connection (50 Market Depth)
This WebSocket allows you to connect to the Tick-by-Tick socket and subscribe to 50-level market depth.
USE CASE
Stream 50-level depth for the few symbols you trade closely, such as a Nifty or Bank Nifty futures contract.
Currently, these are the features available on the socket:
| Feature | Description | Status |
|---|---|---|
| TBT 50 Market Depth | TBT 50 Market Depth provides users with 50 levels of market depth. Learn more | Available |
Mandatory connection parameters
To connect to the TBT WebSocket, the below input parameters are mandatory:
| Parameter | Value |
|---|---|
| Endpoint | wss://rtsocket-api.fyers.in/versova |
| Header Key | Authorization |
| Header Format | <appId:accessToken> |
| Sample Header | 7ABXUX38S-100:eyJ0eXAi**********qiTnzd2lGwS17s |
Details
- Tick-by-tick data is available only for NFO (NSE Futures & Options) and NSE equity symbols.
- See Rate limits for connection and channel limits.
- A subscribe request needs the symbols, the mode (
depth) and a channel number. Data starts only after you resume that channel. - The first packet for a subscription is a snapshot. Later packets hold only the differences, which you apply to the snapshot. The SDKs do this for you.
- Server errors come through the error-message callback (
on_error_messagein Python,servererrorin Node). In a response,erroris true,feedsis empty andmsgmostly holds the error message. - In the Node SDK, call
autoreconnect()beforeconnect()to reconnect automatically after a disconnect. Send the stringpingto keep the connection alive. - SDK support: TBT 50 depth is available from the Python SDK
v3.1.7(04 Mar 2025) and the Node SDKv1.4.1(26 Mar 2025). See the Change Log.
Plan limits
Standard plan
- 1 symbol, counted per user across all connections
- 1 active connection
Prime plan
- 15 symbols, counted per user across all connections
- Up to 3 active connections with 5 symbols each
For rate limits and all other plan details, see Plans & rate limits.
Last updated on