Start Download
Download Endpoints
Start Download
Initiates a new video or audio download from a URL
POST
Start Download
Request Body
The URL of the video to download (supports YouTube and other platforms via yt-dlp)
The desired quality for video downloads (e.g., “720p”, “1080p”, “480p”). For audio downloads, this parameter is ignored.
The type of download. Valid values:
"video"- Download video with audio"audio"- Download audio only
Optional specific format ID from yt-dlp. If provided, this exact format will be downloaded. If empty, the best format matching the quality will be selected automatically.
Response
Unique identifier for the download task. Use this ID to check status, retrieve the file, or cancel the download.
Alias for
download_id (both fields return the same value)Example Request
cURL
Example Response
Download Process
When you initiate a download:- A unique
download_idis generated - The download task is added to the queue with status
"pending" - The download begins in the background
- The task progresses through statuses:
pending→downloading→processing→completed - Use the List Downloads endpoint to monitor progress
- Once
statusis"completed", retrieve the file using Get File
Notes
- The download happens asynchronously in the background
- FFmpeg must be installed on the server for video processing
- For video downloads, the output format is always MP4
- Audio downloads support multiple formats (m4a, mp3, opus)
- If the URL is a playlist, all videos will be downloaded