You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

jkarthik's avatar
jkarthik
Explorer | Level 3
3 years ago

API usage queries

Hello Dropbox team,We are planning to add a feature in our application where users can import the documents from dropbox. I have got the following questions.

 

  1. As per the plans here https://www.dropbox.com/business/plans-comparison, the limit for API calls is only for data transport.
    Transfer data from your existing solutions with 1 billion included API calls per month to data transport partners.
    As per the documentation https://www.dropbox.com/developers/reference/data-transport-limit, only upload calls are considered as data transport calls. In our feature, we will only be downloading the documents from dropbox and import to our system. Can you please confirm if there is any limit for downloading of files similar to data transport limit? I also found that download limit is specific to the user account not the developer account(https://help.dropbox.com/share/banned-links). Can you please confirm on this too?
  2. For choosing the files from dropbox, we have been exploring Chooser component https://www.dropbox.com/developers/chooser. This opens a new window to select the files which needs to be downloaded. Is there an option to load the same chooser in an iframe inside our application? Please let me know.
  • 1. As you found, there is a specific limit for uploads to some Dropbox Business team plans of "1 billion API calls/month" for "data transport" . This is a limit on the number of upload API calls that can be made per team per month, for certain Dropbox Business team plans only. This only applies to upload calls, and not other types of calls such as download.

     

    Additionally though, the Dropbox API does have a general rate limiting system that applies to all account types and calls, including downloads, though we don't have specific rate numbers documented for that.

     

    Apps should be written to handle these rate limit responses automatically. Also note that not all responses with a 429 or 503 status code indicate explicit rate limiting, but in any case that you get a response with 429 or 503 status code the best practice is to retry the request, respecting the Retry-After header if given in the response, or using an exponential back-off, if not. I recommend referring to the error documentation and Error Handling Guide for more information.

     

    And yes, these limits operate per-account. Note that the particular help center article you linked to is referring to a limit on traffic for shared links in particular, which is separate from the API call rate limits. The shared links traffic limit operates on the amount of traffic occurring on a particular account's links, while the API rate limiting system operates on the number of API calls per time window for an account connected to an app.

     

    2. No, there isn't an iframe option available for the Chooser. You can find all of the available options on the Chooser documentation page that you linked to.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    1. As you found, there is a specific limit for uploads to some Dropbox Business team plans of "1 billion API calls/month" for "data transport" . This is a limit on the number of upload API calls that can be made per team per month, for certain Dropbox Business team plans only. This only applies to upload calls, and not other types of calls such as download.

     

    Additionally though, the Dropbox API does have a general rate limiting system that applies to all account types and calls, including downloads, though we don't have specific rate numbers documented for that.

     

    Apps should be written to handle these rate limit responses automatically. Also note that not all responses with a 429 or 503 status code indicate explicit rate limiting, but in any case that you get a response with 429 or 503 status code the best practice is to retry the request, respecting the Retry-After header if given in the response, or using an exponential back-off, if not. I recommend referring to the error documentation and Error Handling Guide for more information.

     

    And yes, these limits operate per-account. Note that the particular help center article you linked to is referring to a limit on traffic for shared links in particular, which is separate from the API call rate limits. The shared links traffic limit operates on the amount of traffic occurring on a particular account's links, while the API rate limiting system operates on the number of API calls per time window for an account connected to an app.

     

    2. No, there isn't an iframe option available for the Chooser. You can find all of the available options on the Chooser documentation page that you linked to.

    • jkarthik's avatar
      jkarthik
      Explorer | Level 3

      Thanks Greg for the reply. This is very helpful.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 3 years ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!