Getting Error -> Too many requests while sending bulk of requests

arunkumarr
KiteConnect.NetworkException
Message=Too many requests
Source=KiteConnect

Actually most i need to use kite.GetHistoricalData() -> Do we have any limit for requests for this ?
  • arunkumarr
    Unexpected content type application/json; charset=utf-8 {"status": "error","message": "Too many requests","error_type": "NetworkException"}
  • Bharathi352
    for historical data, we can only fetch 1 symbol at a time. looks like you are sending more than 1 symbol .If you want data for more symbol use a loop
  • arunkumarr
    i am sending one request per symbol (Exchange : NSE , Segment : EQ), with one millisecond delay in each request. Also few symbols there is empty historical data.
  • arunkumarr
    why few symbols are returned with empty data. example 1011201. And how many requests we can send in a second ?
  • MAG
    Please read the documentation all your queries are already answered there.
    https://kite.trade/forum/discussion/2760/no-of-request-to-api
    This clearly mentions that the rate limit for the historical api is three requests per second. Its obvious you are sending more than 3 requests per second.

    Coming to 1011201 (JAKHARIA-ST) the stock has very low liquidity. If you are not getting data thats probably because there are no trades happening. Look at the chart on https://kite.zerodha.com/chart/web/tvc/NSE/JAKHARIA-ST/1011201. Also for this instrument there is no data before 1st July 2018. If you trying to get data earlier than July 2018, obviously the api request will return no data.


  • arunkumarr
    arunkumarr edited January 4
    "three requests per second" (Very bad) -> In this case other scanners/screeners (providing real time data and historical data) available in market are far better than your API library paying very less changes as compared to zerodha api...... If someone is choosing zerodha api then he should get better service than other scanners/screeners. Its wastage of money to use this service for historical data. Thanks
  • arunkumarr
    arunkumarr edited January 4
    I will recommend others to do not waste money on historical ad-on for zerodha connect api to get historical data. And will suggest to use other available scanners/screeners in market.
  • sujith
    @arunkumarr,
    The historical data API is provided only for backtesting purposes. It is not an alternative for screener or scanners. You may use Tijori for screener data.
  • arunkumarr
    arunkumarr edited January 4
    we only subscribed to get historical data, as per our requirement we can build our own screener/scanner. Thanks, in future will not use zeroda's historical data service. Even for back testing this much cost is too much
Sign In or Register to comment.