THE BEST ONLINE VIDEO DOWNLOADER FROM ANY SITE! BEST YOUTUBE DOWNLOADER!

Distill Video

Just one click! It is easy, fast and free.

distill video loader

Video & Music Download API

Do you want to operate a website providing video/audio downloading service? Then you can use our API. All you need to do is simply to copy and paste the following code into your website. In this case, you will be able to easily integrate this video/mp3 downloader service to your website. It enables users to download any videos online for free and this undoubtedly benefits your visitors and customers to a great extent. For the sake of offering users the best experience, we will optimize this API constantly.


How to use the API

1. To make the API work for your website or app, you need to contact us to get authorized, normally it will take up to 1-2 days. For the unauthorized IP, it will show error:"IP unauthorized".

2. Different Methods to Interact with our API:

 I. file_get_contents()

 Using the very simple PHP function file_get_contents(), you can perform a basic GET request, it will return a value in json format.

 II. cURL

 cURL is the most flexible way to interact with a REST API as it was designed for exactly this sort of thing. It will return a json value.


Video Download API

Basic usage:  

https://distillvideo.com/videoapi?url=VIDEO_URL
?url=  must be included, and "VIDEO_URL" should be a valid URL. By default, it will return the video download url with the highest available resolution (1080P, 720P). Normally, the format is MP4.

Return value: Video download url.


Video resolution:

https://distillvideo.com/videoapi?url=VIDEO_URL&res=
&res= should include a resolution value to define the video resolution. The default value is the highest resolution which is available for downloading.
Available resolution value: 1080P, 720P, 540P, 360P, 240P, 144P, etc.

Instead of using "&", you also can use "&", they are identical:

https://distillvideo.com/videoapi?url=VIDEO_URL&res=

Video Download API Usage Examples:

Resolution API Code
- https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM
1080P https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&res=1080p
720P https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&res=720p
540P https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&res=540p
360P https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&res=360p
240P https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&res=240p
144P https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&res=144p

*If the selected resolution isn't available, it will return the video downloading link with the highest resolution.

Notice: If you are from an unauthorized IP, it will show error:"IP unauthorized".


Music Download API

m4a format:

https://distillvideo.com/videoapi?url=VIDEO_URL&aud=m4a
&aud=m4a must be included at the end to get the audio download link with the format of m4a.

*If "&aud=m4a" is not included, it will return the video downloading link with the highest resolution.


mp3 format:

https://distillvideo.com/mp3api?url=VIDEO_URL
VIDEO_URL should be a valid URL with duration less than 1,000 seconds (16m:40s). It will return a downloading url for the converted MP3 file with the with the best quality, ranging from 128kbps to 320kbps depending on the quality of the original video file.



Music Download API Usage Examples:

Format API Code
M4A https://distillvideo.com/videoapi?url=https://www.youtube.com/watch?v=nfWlot6h_JM&aud=m4a
MP3 https://distillvideo.com/mp3api?url=https://www.youtube.com/watch?v=nfWlot6h_JM


Responsive Download Button API

1. MP4 Download Button

<iframe src="https://distillvideo.com/videoapi?url=VIDEO_URL&btn=button" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>

*You just need to change the "VIDEO_URL" to the video playing url, by default it will return the video downloading link with the highest resolution after click. 


If you prefer other resolution, for example 360p, "&res=360p" should be included just after the "VIDEO_URL" :

<iframe src="https://distillvideo.com/videoapib?url=&VIDEO_URL&res=360p" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>


Usage Example:

Code:

<iframe src="https://distillvideo.com/videoapib?url=https://www.youtube.com/watch?v=nfWlot6h_JM" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>


2. MP3 Download Button

<iframe src="https://distillvideo.com/mp3apib?url=VIDEO_URL" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>

*You just need to change the "VIDEO_URL" to the video playing url, it will return a MP3 downloading link with best quality after click. 


Usage Example:

Code:

<iframe src="https://distillvideo.com/mp3apib?url=https://www.youtube.com/watch?v=nfWlot6h_JM" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>


3. M4A Download button

<iframe src="https://distillvideo.com/videoapib?url=VIDEO_URL&aud=m4a" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>

*You just need to change the "VIDEO_URL" to the video playing url, it will return the music downloading link with the format of "m4a" after click. 


Usage Example:

Code:

<iframe src="https://distillvideo.com/videoapib?url=https://www.youtube.om/watch?v=nfWlot6h_JM&aud=m4a" style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no"></iframe>



Supported Sites

The DistillVideo API supports more than 10,000 video websites, including but not limited toYoutube, Twitter, Vimeo, Facebook, Dailymotion, SoundCloud, Instagram, Liveleak, Break, Imgur, TED, CNN, Mashable, 1TV, reddit, 9gag and so on.


DistillVideo API Overview

With distillvideo API, you can free download any videos from more than 10,000+ sites, Youtube, Twitter, Vimeo, Facebook, Dailymotion, SoundCloud, Instagram, Liveleak, Break, Imgur, TED, CNN, Mashable, 1TV, reddit, 9gag, Google+, Metacafe, Bliptv, Vimeo, etc. Moreover, it’s fully compatible with all browsers, such as Google Chrome, Firefox, Edge, IE, Opera and so on. It also enables you to download all available formats of video so that you don’t have to convert the video to the proper format after downloading.

The download process is also pretty simple. Paste the video URL on the given position and select the format needed, then save the video on your PC by clicking the Download button. Once downloaded, you can locate the video file with just one-click. Afterwards, you may enjoy it on your computer or transfer it to other devices.


Appropriate Usage of DistillVideo API

For personal users, please notice that the license agreement of API takes effects by the date you start to use DistillVideo API. You should unconditionally agree using this API for non-profit purposes only. If your application is non-commercial then you can use it for free within applied limits. Any behavior related to advertisements, distribution, re-development or program integrations without obtaining authorization from us are prohibited.

Business users who are willing to use our API for company range or product lines without advertisements, please negotiate the business license with us by submitting this Submit Ticket. And if you’re entering into this agreement on the behalf of a company, you represent that you have the authority to bind such organization to this agreement and will take responsibility whenever arguments exist.

Suggestions for improvements to this video downloader are highly welcomed which will surely help us to make it better. For any questions, please feel free contact us via our contact form.