YouTube Downloader avatar

YouTube Downloader

Pricing

from $20.00 / 1,000 10mb of video files

Go to Apify Store
YouTube Downloader

YouTube Downloader

✨ Download YouTube videos in your chosen quality. Ideal for saving educational content, archiving important videos, or automating large-scale video downloads with control over resolution and size.

Pricing

from $20.00 / 1,000 10mb of video files

Rating

5.0

(1)

Developer

Scraper One

Scraper One

Maintained by Community

Actor stats

2

Bookmarked

47

Total users

10

Monthly active users

2 days ago

Last modified

Share

🎬 YouTube Downloader

Apify Actor

This Apify Actor downloads YouTube videos and music in selected quality.

The actor:

  1. Downloads the video (or audio)
  2. Returns a temporary secure download URL

Designed for automation, content archiving, data pipelines, and integration with other Apify workflows. 🚀


⚡ Fast & Reliable Infrastructure

  • Secure backend processing
  • Temporary secure download links
  • Optimized format selection

✨ Features

  • 🎥 Download YouTube videos or audio by URL
  • 🎯 Select preferred quality (360p, 720p, 256kbps etc.)
  • 🔁 Automatic analyze → download workflow
  • 🔐 Secure time-limited download URLs

📥 Input Parameters

ParameterTypeRequiredDescription
videoUrlsstring[]✅ Yes*List of YouTube video URLs. Recommended input for one or multiple videos.
urlstring❌ NoDeprecated legacy single YouTube video URL field. Prefer videoUrls.
qualitystring❌ NoPreferred video quality (e.g., "360p", "720p"). If not provided, a safe default is selected automatically
audioOnlyboolean❌ NoCheck to download only audio.
bitratestring❌ NoPreferred audio quality (e.g. "192 kbps", "256 kbps". If not provided, a safe default is selected automatically

*Provide at least one URL using videoUrls. The deprecated url field is still supported for backward compatibility.


📝 Example Input

{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://www.youtube.com/watch?v=5YM9RbGmX-Y"
],
"quality": "720p"
}
{
"audioOnly": true,
"bitrate": "256",
"videoUrls": [
"https://music.youtube.com/watch?v=Qz0qubtokio&si=QNcmmFFfrJ6NYOdS"
]
}

Deprecated legacy input:

{
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"quality": "720p"
}

If quality is not provided, the actor will:

  1. Prefer 720p
  2. Fallback to 480p (non-60fps)
  3. Use the best available safe format

📤 Output

The actor returns a JSON object containing a temporary download URL.

Example Output

{
"downloadUrl": "https://your-secure-storage-url/video.mp4?X-Amz-..."
}

The link:

  • ⏳ Is time-limited
  • 🔐 Is secure
  • 🔄 Expires automatically

🚀 Usage

  1. Open the actor in Apify.
  2. Provide YouTube video URLs in videoUrls.
  3. (Optional) Select desired quality.
  4. Run the actor.
  5. Download your video from the returned URL.

You can also run it via API.


🌐 Example API Call

curl -X POST https://api.apify.com/v2/acts/your-actor-id/run \
-H "Content-Type: application/json" \
-d '{
"videoUrls": [
"https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"https://www.youtube.com/watch?v=5YM9RbGmX-Y"
],
"quality": "720p"
}'

⚠️ Limitations & Notes

  • The download URL is temporary and expires after a short time.
  • Some high-quality formats (e.g., 1080p60) may be restricted.
  • Large videos may take longer to process.
  • Private or restricted videos cannot be downloaded.
  • Use responsibly and comply with YouTube's Terms of Service.
  • Rate limits may apply. Please be patient. Contact support if you need higher limits.

🎯 Best Use Cases

  • 📦 Archive YouTube content
  • 🤖 Feed videos into AI pipelines
  • 📊 Automate content research
  • 🔁 Integrate into data workflows
  • 🎙 Combine with transcription or comment scraping

📬 Support

Need help or custom infrastructure?

Contact: scraper1one@gmail.com