We have verified the WebSocket connection on our end and found no issues. Please review the WebSocket example code and ensure you are using the correct instrument token from the instrument list to check for any errors. Additionally, you can refer to the Python WebSocket streaming FAQs for further guidance.
The API response data will be empty if the instrument identifier is not passed correctly. Please ensure that the instrument identifier is provided accurately to avoid this issue.
Note: Please avoid sharing API key and client-specific tokens on any public forum.
Please review the WebSocket example code and ensure you are using the correct instrument token from the instrument list to check for any errors.
Additionally, you can refer to the Python WebSocket streaming FAQs for further guidance.
I’ve isolated the issue conclusively.
Using raw HTTP calls with valid headers:
- Authentication works
- Instruments API works
- Derivative instruments return LTP correctly
Example (WORKS):
GET /quote/ltp?i=BFO:BANKEX25DECFUT
→ last_price returned
Example (FAILS):
GET /quote/ltp?i=NSE:NIFTY
→ HTTP 200, status=success, but data={}
This confirms:
• Futures / derivatives market data is enabled
• Index spot symbols (NSE:NIFTY / NSE:NIFTY 50) are not enabled or mapped for my app
This is not a formatting, token, or timing issue.
Please enable index spot market data entitlement or correct symbol mapping for:
- User ID: YL6002
- API key: *************
I’m attaching:
- test_kite_api_raw.py
- Raw API output showing futures working and index spot missing
Thanks
Sunit Singh
Note: Please avoid sharing API key and client-specific tokens on any public forum.