Navigation

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

    Market data api stopped working - api.market.data

    General Discussion
    0
    15
    93
    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_2 @SSumit last edited by

      Hi @SSumit

      Live Market data API is working fine from our end, as verified for one of NSE scrip. Please share API request and response/error faced for us to analyze further.

      Regards
      SmartAPI team

      1 Reply Last reply Reply Quote 0
      • S
        SSumit last edited by SSumit

        @admin it stopped again. something wrong here.

        Getting error - Access denied because of exceeding access rate

        note: I am placing a request in intervals of 5 seconds and the rate limit for this API is one request per second

        Request Payload:

        {'mode': 'FULL', 'exchangeTokens': {'NFO': ['66522', '38796', '40441', '66440', '42913', '44199', '44196', '44197', '50760', '50767', '60751', '60748', '63645', '66470', '64121', '66447', '66454', '66453', '66511', '64123', '66513']}}

        M 1 Reply Last reply Reply Quote 0
        • M
          Moderator_2 @SSumit last edited by

          Hi @SSumit

          As verified, we are able to fetch the Market data for all twenty token initiated. Please share us the client code and error faced if issue still occurs

          Regards,
          SmartAPI team

          S 1 Reply Last reply Reply Quote 0
          • S
            SSumit @Moderator_2 last edited by

            @Moderator_2

            The same pattern today as well. for the first 15 minutes, API was working very well then stopped and started giving me errors -

            SmartApi.smartExceptions.DataException: Couldn't parse the JSON response received from the server: b'Access denied because of exceeding access rate'

            Note: I am not hitting API multiple times in 1 second

            You guys changed something. till yesterday, I was not facing this kind of scenario where API is working for a certain period of time and then stops providing data, and then after a certain period, it starts providing data again, and so on. Basically, API is not stable or you guys may put some kind of limit let's say for example for 1 hour the user only put xxx numbers of requests.

            M A 2 Replies Last reply Reply Quote 0
            • M
              Moderator_2 @SSumit last edited by

              Hi @SSumit

              Please share client code for us to analyze further.

              Regards,
              SmartAPI team

              S 1 Reply Last reply Reply Quote 0
              • A
                Ashutosh01 @SSumit last edited by

                @SSumit Have you get solution?
                Both marketdata and ltpdata api stop working after approx 500 request.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Moderator_2 @Ashutosh01 last edited by

                  Hi @Ashutosh01

                  Please share us the client code.

                  Regards,
                  SmartAPI team

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    Ashutosh01 @Moderator_2 last edited by

                    @Moderator_2
                    Client Code: A555287

                    1 Reply Last reply Reply Quote 0
                    • S
                      SSumit @Moderator_2 last edited by SSumit

                      @Moderator_2

                      If you want to reproduce the issue, call market data API continuously for 1 hour with a call rate of 1 request per second (basically approx 3600 requests per hour)

                      and if you guys configured any limit like the user can only call let's say 1000 requests per hour then please update the document

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        Moderator_2 @SSumit last edited by

                        Hi @SSumit & @Ashutosh01

                        Kindly note
                        https://smartapi.angelbroking.com/topic/4387/changes-in-api-rate-limit

                        Regards,
                        SmartAPI team

                        1 Reply Last reply Reply Quote 0
                        • S
                          sarika78 last edited by

                          It appears that the Market Data API is currently experiencing issues and is not functioning as expected. Please investigate and address the issue promptly to minimize disruption for users relying on this service.👍

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Moderator_2 @sarika78 last edited by

                            Hi @sarika78

                            We have recently updated our rate limiting for all of smartAPIs.
                            Please refer the below post for the same.
                            https://smartapi.angelbroking.com/topic/4387/changes-in-api-rate-limit
                            Kindly share us more info like error faced, client code if any other disruption occurs.

                            Regards,
                            SmartAPI team

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