I faced too many request error when I try to get LTP's for all contracts for weekly expiry and then I got to know that only 1 request per second is allowed.
If I want to check all contracts LTP for the expiry in the rate of 1 request per second, it is taking more then 4 minutes.
This API returns the LTPs of up to 1000 instruments in one go.
Instruments are identified by the exchange:tradingsymbol combination and are passed as values to the query parameter i which is repeated for every instrument. If there is no data available for a given key, the key will be absent from the response. The existence of all the instrument keys in the response map should be checked before to accessing them.
curl "https://api.kite.trade/quote/ltp?i=NSE:INFY&i=BSE:SENSEX&i=NSE:NIFTY+50" \
-H "X-Kite-Version: 3" \
-H "Authorization: token api_key:access_token"
This API returns the LTPs of up to 1000 instruments in one go.
Instruments are identified by the exchange:tradingsymbol combination and are passed as values to the query parameter i which is repeated for every instrument. If there is no data available for a given key, the key will be absent from the response. The existence of all the instrument keys in the response map should be checked before to accessing them.