Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the limit on Google Drive API usage?

Because this product is new, I am looking forward to develop an app on it so is there any limit on the API usage such as:

  • upload and download quota
  • requests per app
  • etc
like image 569
Radi Avatar asked Apr 25 '12 08:04

Radi


People also ask

Does Google API have a limit?

Number of requests per day per project: 50,000. Number of requests per view (profile) per day: 10,000 (cannot be increased) Number of requests per 100 seconds per project: 2,000. Number of requests per 100 seconds per user per project: 100 (can be increased in Google API Console to 1,000).

What is Google Drive rate limit?

Individual users can only upload 750 GB each day between My Drive and all shared drives. Users who reach the 750-GB limit or upload a file larger than 750 GB cannot upload additional files that day.

Is Google Drive API free?

All use of the Drive API is available at no additional cost.

What is API usage limit reached?

An API rate limit might enforce, say, 100 requests per minute. Once requests exceed that number, it generates an error message to alert the requester that it exceeded the number of allotted requests in a specific time frame.


2 Answers

To view your allowed quota please create a project in the Google APIs Console. In the "Service" tab, the default quota allowed for each service is indicated.

Currently for the Drive API it reads "Courtesy limit: 1,000,000,000 queries/day". It's a per app quota.

After you've enabled the Drive API you can also set a per user rate limit (by default 1000 req per 100 sec) to prevent one user from depleting your app's quota. That's available in the "Quotas" tab.

View of the cloud console, showing 1B requests per app per day, and 1000 requests per 100 seconds per user.

There is also a link to request more quota in the "Quotas" tab in case you need more than the default 10M req/day such requests will go through a (light) manual review process.

Also files have per-files playback limit which depends on many factors (Is the file shared publicly or just to your domain/users? Is it a video? An audio file? etc...). These rules are not disclosed at this point unfortunately but for instance a publicly shared video can't be viewed by millions of anonymous sessions per day (use Youtube for that). Nor can an image be used on a high traffic website. Google Drive cannot be used as a Web scale CDN, it is scaled for personal content sharing (you share files with friends/work group/company).

like image 161
Nicolas Garnier Avatar answered Oct 22 '22 02:10

Nicolas Garnier


I'm getting a message saying "Sorry, you can't view or download this file at this time. Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator."

so there IS a limit, just undocumented :e this is a file only i downloaded about 50 times in the last hour (testing some stuff)

like image 44
MitziMeow Avatar answered Oct 22 '22 02:10

MitziMeow