I am trying to read data from api but last price is always showing 0, do we need to get historical data api for last price ? or am I missing something here.
Instruments list is used for instrument info like instrument_token, trading symbol, etc but not for live data, so market data like last price, is not available in instruments list.
curl --location --request GET 'https://api.kite.trade/instruments' \
--header 'X-Kite-Version: 3' \
--header 'Authorization: token {{api_key}}:{{access_token}}
For live data,you can use quotes or websocket.
https://kite.trade/docs/connect/v3/market-quotes/#market-quotes
https://kite.trade/docs/connect/v3/websocket/