1. Get your credentials
In the dashboard, open Web Data API > Video downloader and copy the Basic auth token. ReplaceTOKEN VALUE in the examples below with it.
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 anupload_url:
3. Queue a download
Send aPOST 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.
id; you need it in the next step.
JSON
4. Check the result
Send aGET request with the task id. A 204 means the download is still running. A 200 means it’s finished.
cURL
content holds the file name and status_code is 200:
JSON
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.
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.
Have feedback? Share your thoughts on how we can improve.