Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Changes in API Rate Limit

    General Discussion
    0
    16
    607
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Moderator_1 last edited by Moderator_1

      Dear SmartAPI Users,

      In our quest to provide the best service to our customers, we have added additional rate limits on per minute and per hour basis.

      Here are the new rate limits for various endpoints:

      Sr. No. API Per second Per Minute Per Hour
      1 /rest/auth/angelbroking/user/v1/loginByPassword 1 NA NA
      2 /rest/auth/angelbroking/jwt/v1//generateTokens 1 NA 1000
      3 /rest/secure/angelbroking/user/v1/getProfile 3 NA 1000
      4 /rest/secure/angelbroking/user/v1/logout 1 NA NA
      5 /rest/secure/angelbroking/user/v1/getRMS 2 NA NA
      6 /rest/secure/angelbroking/order/v1/placeOrder 20 500 1000
      7 /rest/secure/angelbroking/order/v1/modifyOrder 20 500 1000
      8 /rest/secure/angelbroking/order/v1/cancelOrder 20 500 1000
      9 /rest/secure/angelbroking/order/v1/getOrderBook 1 NA NA
      10 /rest/secure/angelbroking/order/v1/getLtpData 10 500 5000
      11 /rest/secure/angelbroking/order/v1/getPosition 1 NA NA
      12 /rest/secure/angelbroking/order/v1/getTradeBook 1 NA NA
      13 /rest/secure/angelbroking/order/v1/convertPosition 10 500 5000
      14 /rest/secure/angelbroking/order/v1/searchScrip 1 NA NA
      15 /rest/secure/angelbroking/order/v1//details/{GuiOrderID} 10 500 5000
      16 /rest/secure/angelbroking/portfolio/v1/getHolding 1 NA NA
      17 /rest/secure/angelbroking/portfolio/v1/getAllHolding 1 NA NA
      18 /rest/secure/angelbroking/market/v1/quote 10 500 5000
      19 /rest/secure/angelbroking/margin/v1/batch 10 500 5000
      20 /rest/secure/angelbroking/gtt/v1/createRule 10 500 5000
      21 /rest/secure/angelbroking/gtt/v1/modifyRule 10 500 5000
      22 /rest/secure/angelbroking/gtt/v1/cancelRule 10 500 5000
      23 /rest/secure/angelbroking/gtt/v1/ruleDetails 10 500 5000
      24 /rest/secure/angelbroking/gtt/v1/ruleList 10 500 5000
      25 /rest/secure/angelbroking/historical/v1/getCandleData 3 180 5000

      We hope that the new rate limits help you to get a better trading experience.

      Thank you.

      Regards
      SmartAPI Team

      G P 2 Replies Last reply Reply Quote 2
      • G
        godboleamit @Moderator_1 last edited by

        @Moderator_1 said in Changes in API Rate Limit:

        500

        Thanks for clarifying the rate limit!

        But how the rate limits per second and per minute are related to each other?

        For example:

        Rate limit for - /rest/secure/angelbroking/historical/v1/getCandleData

        • 3 per second and
        • 500 per minute

        So if we consider per second limit rate as a primary rate limit, then max rate limit per minute is 180 per minute.

        Hence how to use the rate limit per minute?

        Any use case as an example will be useful.

        M 1 Reply Last reply Reply Quote 0
        • M
          Moderator_1 @godboleamit last edited by

          Hi @godboleamit,
          Ratelimit per minute is an additional cap on top on per second ratelimit. In this case, the ratelimit per minute for getCandleData should be 180. Thank you for highlighting this. We will fix this and let you know. If you have any suggestions, then please let us know that as well.

          Thank you.

          Regards
          SmartAPI Team

          G O 2 Replies Last reply Reply Quote 0
          • G
            godboleamit @Moderator_1 last edited by

            @Moderator_1

            Thanks for taking action on it!

            With Regards
            Amit

            1 Reply Last reply Reply Quote 0
            • P
              perceptron @Moderator_1 last edited by

              @Moderator_1 is there any new limit on live socket data streaming?

              M 1 Reply Last reply Reply Quote 0
              • M
                Moderator_1 @perceptron last edited by

                Hello @perceptron,

                Currently there is a limit of 3 connections per client code for Websocket Streaming. There is no additional cap or limit on it.

                Thank you.

                Regards
                SmartAPI Team

                D A 2 Replies Last reply Reply Quote 1
                • D
                  D1s2p3n4 @Moderator_1 last edited by

                  @Moderator_1 i want to join smart api

                  M 1 Reply Last reply Reply Quote 0
                  • O
                    onlineidbetting @Moderator_1 last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote -1
                    • M
                      Moderator_3 @D1s2p3n4 last edited by

                      Hello @D1s2p3n4
                      Could you please install the sdk and start with the documentation
                      Regards,
                      SmartAPI Team

                      1 Reply Last reply Reply Quote 0
                      • N
                        novahazel last edited by

                        Thanks for sharing this information.
                        Hindi fonts download

                        1 Reply Last reply Reply Quote 0
                        • A
                          angeltrader last edited by

                          @Moderator_1 said in Changes in API Rate Limit:

                          /rest/secure/angelbroking/order/v1/getTradeBook

                          I am hitting the getTradeBook API endpoint every 15 seconds and still I end up getting Error: Couldn't parse the JSON response received from the server: Access denied because of exceeding access rate error randomly every 4-5 minutes. The mentioned limit for this end point is 1 request per second which is way higher than my 4 requests per minute. Are the API rate limits implemented as they are mentioned in this table or they are just random? I have noticed the same behavior with other end points as well. Access denied errors are thrown at random.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Moderator_3 @angeltrader last edited by

                            @angeltrader

                            Rate limits are implemented as mentioned in the table above.
                            Please provide client code to further analyze the issue.

                            Regards,
                            SmartAPI Team

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              angeltrader @Moderator_3 last edited by

                              @Moderator_3 I still keep getting access denied sporadically. Client ID V61915770.

                              1 Reply Last reply Reply Quote 0
                              • M
                                Malav last edited by

                                @Moderator_1 @Moderator_3 I am getting rate limit error while logging .
                                i have checked when i try to login with my another client code its working fine.
                                but when i tried to login using this R1102771 it gives continouse rate limit error.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  anushakasturi2 @Moderator_1 last edited by

                                  @Moderator_1
                                  If 3 connection, how rate limit works?
                                  Are the limit per client id or per connection?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    admin @anushakasturi2 last edited by

                                    @anushakasturi2 please go through the features section on the websocket 2.0 page. https://smartapi.angelone.in/docs/WebSocket2

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post