SSL ERROR

ADS
SSL error is still happening even with ltp() and smaller batches. The root cause is that you’re trying to pull all 937 BANKNIFTY option contracts in one go, and Zerodha’s API simply can’t handle that volume reliably. Please guide how to resole this issue.
  • salim_chisty
    Kite Connect REST API quote endpoints have defined instrument limits per request: /quote supports up to 500 instruments, while /quote/ohlc and /quote/ltp support up to 1000 instruments per request. However, even within these limits, repeatedly fetching large option chains via REST can lead to SSL/403 errors due to the rate limit. For live and bulk market data use-cases, you can use WebSocket (KiteTicker) instead of REST polling. A single WebSocket connection supports subscriptions to up to 3000 instruments, and each API key allows up to 3 concurrent WebSocket connections.
Sign In or Register to comment.