YouTube Video & Audio Downloader
Download YouTube videos as MP4 or extract MP3 audio at your chosen quality, with metadata and optional SRT subtitles. Paste a URL and run.
How it works
- 1Open it on Apify
Hit Run on Apify — it opens the tool in the cloud, no install.
- 2Set the inputs
Adjust
urls,videoUrl,quality(sensible defaults are pre-filled). - 3Click Run
The tool runs on Apify’s cloud and collects the data for you.
- 4Export the results
Download as JSON, CSV or Excel, or pipe straight into your app, Google Sheets, or an AI agent.
Inputs
| Field | What it does | Type |
|---|---|---|
urls | One or more YouTube video URLs (or Shorts URLs). | array |
videoUrl | A single YouTube URL (alternative to the array). | string |
quality | Cap the video height (best available ≤ this). Or 'audio' for audio-only. 1080p is the max (4K/1440p downloads are very large and slow). | string |
audioOnly | Extract audio as MP3 instead of video. | boolean |
subtitles | Also fetch subtitles/auto-captions as SRT. | boolean |
subLangs | Comma-separated subtitle language codes (e.g. en,es). Used when subtitles are on. | string |
includeMetadata | Return title, channel, duration, views, etc. | boolean |
What you get
A structured dataset — each result includes fields like:
channeldurationSecondsfileSizeBytesformatmediaKeymediaUrlresolutiontitleuploadDateurlviewCountExport every run as JSON, CSV or Excel, or send it to your app, a database, Google Sheets, or an AI agent.
16 ready-to-run use cases
Download YouTube Videos for OpusClip Shorts & Reels
A clean, watermark-free MP4 of any YouTube video, ready to import into OpusClip, Vizard or Klap and cut into vertical Shorts and Reels.
Archive Competitor YouTube Videos Into a Swipe File
Marketers and ad teams: save competitor YouTube videos with full metadata into an offline swipe file for creative research and ad breakdowns.
Bulk YouTube to MP3: High-Quality Music Downloads
Batch-convert a list of YouTube music videos to high-quality MP3 with track titles and metadata for an offline library or sampling crate.
Download Creative Commons YouTube Footage in HD
Creative Commons and licensed YouTube footage in HD with attribution metadata, so editors can legally reuse the clips in their own videos.
Scrape YouTube Transcripts for RAG & LLM Training
No YouTube API key needed: extract captions and metadata from any channel or video list, straight into a RAG or fine-tuning pipeline.
Download YouTube Videos With Dual-Language Subtitles
Language learners can save any YouTube video with subtitles in two languages, comparing native and target captions offline phrase by phrase.
Back Up Your YouTube Channel Videos + Metadata
Worried about a strike? Download your own YouTube videos with titles, descriptions, tags and captions to keep a full channel backup.
YouTube Transcripts to Repurpose Into Blog Posts
Extract the full spoken transcript and metadata from your YouTube videos, then rewrite them into blog posts, newsletters and social content.
Bulk YouTube Audio Download for ML Speech Datasets
Batch-download YouTube audio with matching subtitle transcripts and metadata to assemble a speech-recognition or audio ML training dataset.
Download YouTube Videos in 4K MP4 for Editing
4K source footage straight off YouTube at the highest available resolution, ready to drop onto a Premiere or DaVinci timeline for B-roll and reuse.
Extract YouTube Metadata Only (No Video Download)
Just the metadata for a list of YouTube videos: titles, descriptions, tags and view stats as clean structured data, with no heavy video files.
Download YouTube Videos With Multi-Language SRT Subs
Caption tracks in several languages bundled as SRT with any YouTube video download, ready for accessibility, localization or re-publishing.
Download a YouTube Conference Talk for Offline Study
Save a long YouTube conference talk or lecture with its captions and watch it offline, no buffering and no risk of the video disappearing.
Download YouTube Videos in 1080p HD as MP4
Any YouTube video saved as a full 1080p MP4 with its title, channel and view count attached. Paste a URL and run, no setup required.
Convert YouTube to MP3 Audio (No Video File)
Rip the audio off a YouTube talk, lecture or podcast and get a plain MP3 back, with no video file taking up space on your drive.
Download YouTube Subtitles as SRT (Auto-Captions)
Fetch the English captions from any YouTube video as a clean SRT file, falling back to auto-generated captions when no manual track exists.
YouTube Video & Audio Downloader
Download YouTube videos, or pull just the audio as MP3, at a quality you choose. Each result comes back with metadata (title, channel, duration, views, resolution) and, if you ask for them, subtitles. It's meant for archiving, repurposing clips, and building video or audio datasets without hand-saving files one at a time.
How it works
The actor runs yt-dlp behind an Apify residential proxy, fetches the best stream at or below your quality cap, and stores each file in the run's key-value store with a public URL. YouTube bot-blocks most datacenter IPs, so residential proxy is the default and is the part that actually keeps downloads from failing.
Input
Pass either an array of urls or a single videoUrl. Everything else has a sensible default, so a list of links is enough to get going.
| Field | Required | Notes |
|---|---|---|
urls | one of urls/videoUrl | Array of YouTube watch or Shorts links. |
videoUrl | one of urls/videoUrl | A single link, if you'd rather not use an array. |
quality | no | Caps video height: 2160, 1440, 1080 (default), 720, 480, 360, or audio for audio-only. Picks the best stream at or below the cap. |
audioOnly | no | Extract MP3 instead of video. Same effect as setting quality to audio. Default false. |
subtitles | no | Also fetch subtitles/auto-captions as SRT. Default false. |
subLangs | no | Comma-separated language codes, e.g. en,es. Only used when subtitles is on. Default en. |
includeMetadata | no | Return title, channel, duration, views, upload date, resolution. Default true. |
proxyConfiguration | no | Apify proxy. Defaults to RESIDENTIAL, which is what you want here. |
Output
One dataset record per URL. A successful record has ok: true plus title, channel, durationSeconds, viewCount, uploadDate, resolution, format, and fileSizeBytes. The download itself lives in the key-value store. mediaKey is the store key and mediaUrl is a direct link to the file. When subtitles are requested, subtitles holds an array of { key, url } per language. If a single URL fails, you get ok: false with an error message and the run keeps going on the rest.
Example
{
"urls": [
"https://www.youtube.com/watch?v=aqz-KE-bpKQ"
],
"quality": "1080",
"subtitles": true,
"subLangs": "en"
}
Pricing
$0.05 per successful download, pay per result, no subscription. Failed URLs aren't charged.
Notes
Residential proxy is on by default for a reason. If you switch to datacenter IPs, expect YouTube to bot-block a lot of requests. Some videos (age-restricted, region-locked, or private) won't download regardless of proxy. Subtitle availability depends on what the channel uploaded; auto-captions exist for most videos but accuracy varies. If any step uses an AI model, that runs on your own OpenAI key.