Subscribing to FYERS' Data WebSocket allows you to receive live stock market updates directly in your application. With a few simple steps, you can establish a connection, authenticate, and begin streaming live tick data for selected symbols.
wss://api.fyers.in/socket/v2/data/
lite
or symbolUpdate
). Example:{
"symbol": ["NSE:TCS-EQ", "NSE:INFY-EQ"],
"type": "symbolUpdate"
}
Scenario | Outcome |
---|---|
Your access token is invalid | The server will reject the authentication request |
You subscribe before authentication | The request will fail—authenticate first |
You want to change symbols mid-session | Unsubscribe and then subscribe to the new ones without reconnecting |
Last updated: 30 Jun 2025