YouTube Video Downloader - MP4 MP3 - Any Quality
Pricing
from $10.00 / 1,000 results
YouTube Video Downloader - MP4 MP3 - Any Quality
Get download URLs for YouTube videos in any quality and format. Extract MP4, WebM, and audio-only streams. Returns direct streaming URLs for all available formats.
YouTube Video Downloader - MP4/MP3 - Any Quality
What it does
The YouTube Video Downloader actor extracts direct download URLs for YouTube videos in all available formats and qualities. Instead of downloading the actual video files (which would consume massive storage), this actor intelligently parses YouTube's internal player response to extract the streaming URLs that YouTube uses to serve video content. You get a complete list of every available format, resolution, and codec for any given video, along with direct URLs you can use to download the content yourself.
This actor works by fetching the YouTube watch page and parsing the ytInitialPlayerResponse JavaScript object, which contains all the streaming data YouTube uses internally. It extracts both combined video+audio streams and separate adaptive streams (video-only and audio-only), giving you maximum flexibility in choosing exactly the format and quality you need.
Features
- All Available Formats: Returns every non-cipher-protected format YouTube offers, including MP4, WebM, and audio-only streams
- Quality Selection: Get formats ranging from 144p to 4K (depending on what the video supports), with the best quality highlighted automatically
- Audio Extraction: Easily find audio-only streams for MP3-like downloads, perfect for music or podcasts
- Batch Processing: Process multiple YouTube videos in a single run by providing a list of URLs
- Comprehensive Metadata: Each result includes video title, channel name, duration, thumbnail URL, and detailed codec information
- Multiple URL Formats: Supports standard youtube.com/watch links, youtu.be short links, and youtube.com/shorts URLs
- No File Storage: Returns direct streaming URLs instead of downloading files, keeping storage costs at zero
- Detailed Format Info: Each format includes itag, mime type, resolution, FPS, bitrate, and content length
How to use
- Navigate to the actor page on Apify Console
- Enter one or more YouTube video URLs in the input field
- Optionally select your preferred quality and format
- Click "Start" to run the actor
- View results in the dataset, which includes direct download URLs for all available formats
You can also call this actor via the Apify API for programmatic access, integrate it into your workflows, or schedule regular runs.
Input
| Field | Type | Description | Default |
|---|---|---|---|
| urls | array | List of YouTube video URLs to process | Required |
| preferredQuality | string | Preferred quality: highest, 720p, 480p, or 360p | highest |
| format | string | Preferred format: mp4, webm, or mp3 | mp4 |
| proxyConfiguration | object | Proxy settings to avoid rate limiting | Apify Proxy |
Output
Each video produces a result object containing:
- videoId: The 11-character YouTube video identifier
- title: The full title of the video
- channelName: Name of the uploading channel
- duration: Video length in seconds
- thumbnailUrl: URL to the highest resolution thumbnail
- bestVideoUrl: Direct URL to the best combined video+audio stream
- bestAudioUrl: Direct URL to the best audio-only stream
- formatCount: Total number of available formats
- formats: Complete array of all available formats with URLs, quality labels, codecs, bitrates, and dimensions
Pricing
This actor runs on the Apify platform. You pay only for the compute and proxy usage consumed during the run. A typical run processing a single video completes in under 10 seconds using minimal memory. Batch processing multiple videos scales linearly.
Related actors from quick_kirigami
- YouTube Email Extractor - Extract contact emails from YouTube channel about pages
- YouTube Channel Scraper - Scrape detailed channel information and statistics
- YouTube Comment Scraper - Extract comments and replies from YouTube videos
