Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. Categories
    3. Bugs
    Log in to post

    Bugs

    • Rudra

      SmartAPI Rate Limits During Market Hours: Best Practices for API Request Management
      @admin • • Rudra  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • Rudra

      Issue with Angel One Scrip Master Download
      • Rudra  

      3
      0
      Votes
      3
      Posts
      9
      Views

      VPAUL888

      Angel One SmartAPI: Repeated getCandleData Rate-Limit Errors Despite Throttling — Is Anyone Else Facing This? Date: 23 October 2026 API: Angel One SmartAPI — getCandleData Instrument: Nifty 50 Application: VPAUL888 Trading mode: Dry-run only; no live orders placed 1. My experience I am developing a Python-based Nifty options trading bot using Angel One SmartAPI. The bot logs in successfully, but I am repeatedly encountering the following error while retrieving historical candle data: Access denied because of exceeding access rate I have implemented candle-data caching, a minimum 20-second gap between requests, and exponential backoff after failures. Despite these precautions, the same error keeps recurring. 2. What Angel One Support told me In a response from Angel One SmartAPI Support, I was informed that: The getCandleData limit had been reduced from 150 to 120 requests per minute. The other stated limits remained unchanged: 3 requests per second and 5,000 requests per hour. Errors may occur during peak traffic when the overall API limit is reached. A retry mechanism with exponential backoff was recommended. Documentation provided by support: https://smartapi.angelbroking.com/docs/RateLimit I appreciate the clarification, but my practical issue remains unresolved. 3. Actual bot logs — 23 October 2026 The following are excerpts from my actual application logs: 2026-10-23 12:21:46,271 INFO: Starting NIFTY bot in DRY-RUN mode. LIVE_TRADING=False 2026-10-23 12:21:46,559 INFO: Angel One login successful. LIVE_TRADING=False 2026-10-23 12:21:48,465 INFO: Fetched 38 candle rows for Nifty 50 (99926000). 2026-10-23 12:25:48,631 WARNING: Candle request error: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'; waiting 900s. 2026-10-23 12:40:48,808 WARNING: Candle request error: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'; waiting 1800s. 2026-10-23 13:08:50,676 WARNING: Candle cooldown active: 119s remaining. After the first rate-limit error, the bot waited 900 seconds before retrying. The next request again received the same error, so the cooldown increased to 1,800 seconds. The bot was waiting through the cooldown when the last excerpt above was recorded. 4. Why this concerns me My concern is not simply that an API request occasionally fails. It is that the candle-data feed remains unavailable to my application after I have introduced request throttling, caching, and backoff. My strategy requires sufficient historical candle data before its signals can be evaluated. The initial response returned only 38 candle rows, while my strategy requires at least 55. As a result, I have not been able to complete proper validation of the strategy. I am keeping LIVE_TRADING=False throughout testing. These logs do not represent live trades or financial losses. 5. Questions for the community and Angel One Has anyone else experienced repeated getCandleData rate-limit errors despite conservative request spacing and exponential backoff? Does the stated limit apply per API key, application, client account, IP address, or through a broader shared limit? Is the “exceeding access rate” message also returned during periods of wider API congestion? What is the recommended way to retrieve sufficient historical candles and then poll new candles reliably? Has anyone received a technical explanation or a permanent resolution from SmartAPI Support for this particular error? 6. My conclusion so far Based on my own testing, I cannot yet rely on this candle-data workflow for validating my trading bot. I would like to understand whether this is an application-side configuration issue, an account-specific restriction, or an API availability/rate-limiting issue. I am sharing the actual logs and the support team's stated limits so other developers can compare their experiences and share reproducible solutions. If you use Angel One SmartAPI for algo development, please share whether you have encountered the same issue and how you resolved it. This post describes my own experience and the support response I received. It is not a claim that every SmartAPI endpoint or every user's experience is unreliable.
    • R

      Historical Candle API HTTP 403 Forbidden – NIFTY_AI
      • RakeshKumar 0  

      1
      0
      Votes
      1
      Posts
      6
      Views

      No one has replied

    • C

      HTTP 403 Forbidden Error on Historical Data API (getCandleData)
      • CaptainAmerica  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • K

      OpenAPIScripMaster.json endpoint is dropping connections and returning 504 timeouts
      • Komal24  

      5
      1
      Votes
      5
      Posts
      16
      Views

      Y

      Hey sorry to raise a different topic here. My tool was perfectly working fine till yesterday since today morning I am getting a TLS error. I am not able to see any data or place any order. However if I remove the IP I am able to see clients data but without using IP I am unable to place any order. Any one else encountered this problem. please help
    • K

      BUG in mode-4 or API
      • kunal.chandra  

      1
      0
      Votes
      1
      Posts
      4
      Views

      No one has replied

    • Y

      getCandleData rate-limit continues at very low request frequency - backend telemetry check required
      • Yash-Ayu  

      1
      0
      Votes
      1
      Posts
      6
      Views

      No one has replied

    • Y

      getCandleData rate limit on single request even after extended cooldown
      api historical data python • • Yash-Ayu  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • P

      AG8001 + rate limit error on every call after daily re-login
      • Prashant219  

      1
      0
      Votes
      1
      Posts
      2
      Views

      No one has replied

    • M

      getCandleData returns 403 rate-limit error for single API call
      • manjunathn1988  

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • E

      Postback URL not receiving order updates | Client ID: RISO1031
      • EliteDev  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • P

      Error "AB1012" on SENSEX Option Contract OI Historical Data
      • pradyumnapp  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied

    • P

      optionGreek endpoint returns "No Data Available" (AB9019) for SENSEX — is this endpoint supported for BSE/SENSEX at all?
      • pooh.num  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • R

      Asking for Static IP for getting API for Historical Data
      • rajnitp2015  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • V

      Api key secret
      • vin79  

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • A

      Order rejected — "Position limit including CNC exceeds, limit set:1" while same-size orders filled in the same second
      • Amol 0  

      1
      0
      Votes
      1
      Posts
      11
      Views

      No one has replied

    • P

      getCandleData returns 403 rate-limit error for single API call
      • pramilasara  

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • A

      SmartAPI getCandleData returns 403 rate-limit error despite being under documented limits
      • aamantran  

      1
      1
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • N

      API Rate Limit checks are not perfect
      • namrata  

      8
      1
      Votes
      8
      Posts
      43
      Views

      M

      rate limiting is not working as per documentation. @admin, pls see into it.
    • A

      Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'
      • arunparida12  

      3
      0
      Votes
      3
      Posts
      11
      Views

      T

      @arunparida12 I am seeing the same issue on the official getCandleData endpoint. Environment: server-side PHP/WordPress Endpoint: /rest/secure/angelbroking/historical/v1/getCandleData Exchange: NSE Symbol token: 3045 (SBIN) Interval: ONE_DAY Range: approximately 90 days ending on the previous completed day The same authenticated session successfully returns HTTP 200 for login and HTTP 200 for /market/v1/quote, but the very first getCandleData request returns HTTP 403 with an empty/non-JSON response. No repeated requests or browser-side loop is being made. Could the SmartAPI team please confirm whether this is a server-side false rate-limit/access issue and check the endpoint telemetry? I can provide my Client ID privately to an admin, but will not post credentials or API keys publicly.