We use cookies to improve your experience on our site. By clicking “Accept”, you are agreeing to the collection and use of data as described in our Privacy Policy.
We use cookies to improve your experience on our site. By using our site, you are agreeing to the collection and use of data as described in our Privacy Policy.
Google Drive, which allows users to store files in the cloud, synchronize files across devices, and share files with others, includes productivity tools like Google Docs, Sheets, Slides, and more.
While you can benefit from Google Drive’s standalone features and capabilities in a variety of ways, you can get even more value by integrating Google Drive with your product or your internal applications.
To do so, you’ll first need to procure your unique API key. We’ll break down the steps for doing exactly that below!
Prerequisites
To access your API key, you’ll need to have a Google Cloud Platform (GCP) account.
If you don't have one, you can create it here; but If you’re already logged into Gmail/any Google app, you’ll be automatically logged into your GCP.
If you haven't already, you need to enable the API you want to use. In the top search bar, search for the API you want to enable. In this case” Google Drive API”
After searching, you’ll see a handful of results. Select the Google Drive API you want to enable.
Then click “Enable”
Step 5: Create your credentials
After enabling the API, you’ll be able to create credentials.
To do so, click “Create Credentials”
Then choose the type of credentials you need (API key, OAuth client ID, etc.), and fill in the required information.
6. Configure your API Key
If you're creating an API key, you might need to configure its settings, such as restricting its usage to certain websites, IP addresses, or APIs.
7. Get your API key
Once you've configured your API key, it’ll be generated. You can go ahead and use it!
Other key considerations for building to the Google Drive API
Before integrating with Google Drive’s API, it’s worth considering other items:
Pricing
The pricing for a Google Workspace comes in 4 tiers. Business Starter, Business Standard, Business Plus, and Enterprise.
Business starter: $6/per user/month with a custom and secure business email, 30 GB pooled storage per user, security and management controls, and more.
Business Standard: $12/per user/month with a custom and secure business email, 2 TB pooled storage per user, security and management controls, and more.
Business Plus: $18/per user/month with a custom and secure business email, 5 TB pooled storage per user, enhanced security and management controls, advanced endpoint management, and more.
Enterprise: You’ll need to contact Google for pricing. That said, it comes with a custom and secure business email, 5 TB pooled storage per user, enhanced security and management controls, advanced endpoint management, and more.
Rate Limits
All use of the Google Drive API is available at no additional cost. But since the Google Drive API is a shared service, they apply quotas and limitations to make sure it's used fairly by all users and to protect the overall performance of the Google Workspace system.
For queries, the limits are 12,000 per 60 seconds and 12,000 per 60 seconds per user.
Note: Exceeding the quota request limit doesn’t incur extra charges and your account isn’t billed. You can learn more about Google Drive’s API rate limits here.