You can manually get it using kite. Just login and open the chart of the script you want to get token, chart will open in the same window, click on "popout" button present near the timeframe drop down menu. Go to new window/tab where chart is opened, and copy the token from the url in the address bar. For e.g: url: https://kite.zerodha.com/advanced-chart?v=2.3.7#token=256265&symbol=NIFTY 50&segment=NSE-INDICES&&volume=false&public_token=174157cefbf9ab6159074850d8c33e11&user_id=xxxxx
Hi @revanth1425, You can get all instruments from getInstruments() which gives CSV dump of all instruments. For more information check out documentation.
Sensex is not yet available on Kite Connect, it will be provided in future.
You can manually get it using kite. Just login and open the chart of the script you want to get token,
chart will open in the same window, click on "popout" button present near the timeframe drop down menu. Go to new window/tab where chart is opened, and copy the token from the url in the address bar.
For e.g:
url:
https://kite.zerodha.com/advanced-chart?v=2.3.7#token=256265&symbol=NIFTY 50&segment=NSE-INDICES&&volume=false&public_token=174157cefbf9ab6159074850d8c33e11&user_id=xxxxx
So token is 256265
You can get all instruments from getInstruments() which gives CSV dump of all instruments. For more information check out documentation.
Sensex is not yet available on Kite Connect, it will be provided in future.
this is the url where I am getting the sensex but i need the instrument token of it so that I can get the response through websockets
By hitting url many times its getting to many request so I need the instrument token
It is quote API, it is from our vendor. Websockets doesn't support BSE indices. We will provide it in near future.
You are hitting API rate limit. You can only make 3 requests per second to Kite server .
How to get sensex instrument token?
You can use the CSV dump of instruments to get the token of any instrument.