Skip to main content

1. Get your credentials

In the dashboard, open Web Data API > Video downloader and copy the Basic auth token. Replace TOKEN VALUE in the examples below with it.
Video downloader has its own credentials. Your Web Data API key returns a 401 here.

2. Prepare your storage

You need a storage folder that Video downloader can write to, and an access key and secret for it. Put them together into an upload_url:
Storage setup walks through Amazon S3 step by step and lists other supported providers.

3. Queue a download

Send a POST request with the YouTube video ID in query. This example downloads the first 10 seconds in the lowest quality, which is a cheap way to check your setup.
The response confirms the task is queued. Save the id; you need it in the next step.
JSON

4. Check the result

Send a GET request with the task id. A 204 means the download is still running. A 200 means it’s finished.
cURL
When the upload succeeds, content holds the file name and status_code is 200:
JSON
The file is now in your storage folder. If status_code is something else, see the error codes.

Support

Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.

Feedback

Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.