api for Bank nifty spot?

raavi
api for Bank nifty spot?
I tried the following 2 apis and they return empty data.
{"status":"success","data":{}}

https://api.kite.trade/quote/ltp?i=NSE:NIFTY_BANK
https://api.kite.trade/quote?i=NSE:260105
  • sujith
    You can find the correct exchange value from the instruments master file.
  • raavi
    raavi edited October 1
    Thank you Sujith for quick reply.
    But i am not looking for any strikeprice
    I want for the index itself.

    See attached picture.
  • sujith
    Instruments master has all the details about an instrument including, tradingsymbol, exchange, segment, type and more.
  • raavi
    raavi edited October 1
    Thank you again Sujith.
    I found the right instrument and the api works now.
This discussion has been closed.