Google Drive File Sharing API

Share your files on Google Drive securely, link protected and optimized download speed.

Turn your shared files into earnings! Monetize your Google Drive files directly on GDShare.

View API Documentation

API Documentation

Endpoint (POST)

https://gdshare.org/api/file

Parameters

  • file_id: A valid Google Drive file ID (Public shared)
    - Example: "1bJBs59LNjxYghoTnc_q8FSaW0pHEaYg0"
  • file_name: (Optional) A custom name for your file, this file name will overide the file name on Google Drive
    - Example: "MyFileName.zip"
  • ad_url: (Optional) Direct advertiment link or affiliate link to monetize your file. This url will be opened as a popup.
    - You can get this from popular ad networks like Monetag, HilltopAds, Richad ...
  • image_url: (Optional) A thumbnail image url of the file.
  • description: (Optional) Short description about your file to attract users to download.

Code Snippet

                        
const fileId = "1bJBs59LNjxYghoTnc_q8FSaW0pHEaYg0";
const domains = "mydomain.com,otherdomain.net";
const response = await fetch(`https://gdshare.org/api/video?file_id=${fileId}&domains=${domains}`);
const data = await response.json();
console.log(data.embed_url);
                        
                    

Try out the API

API Response:

                                                
{{api.response}}
                                                
                        

Features

Enhanced Download Experience
Free
  • Optimized download speed
  • Uncaped download quota/speed
  • Bypass Google Drive Limitations
Privacy First
Free
  • Masked download links
  • Proxy downloads
  • Protect your Google Drive accounts
Monetization
Free
  • Use your own direct ad link to make earnings
  • You don't need to pay us for commissions

Support

FAQs

You do not need an API key to use our service.

Our API supports files that are available to upload in Google Drive.

Our API supports files that have a maximum size of 5GB, we will try to increase this limit in the near future.

By using our service. We help you to deliver high speed downloading experience and protect your Google Drive Accounts.
Moreover, you can make money by monetizing your files or use Link Shorten Services on top of your files to make money

Yes, GDSHARE complies with valid DMCA takedown requests. Copyright-infringing content may be removed upon receiving a valid DMCA notice.
Please note: this will not affect your files in Google Drive

Contact Support

[email protected]