Too Many Request Error

Vishnuvardhan
Dear Team,

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.

What is the alternative solution for this ?

Thanks.
  • sds_sen
    hi
    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.
  • rakeshr
    What is the alternative solution for this ?
    This API returns the LTPs of up to 1000 instruments in one go.
    Yes, you can pass the list of instruments. Go through the documentation here.
  • Vishnuvardhan
    ok thanks . You can close this ticket
This discussion has been closed.