YouTube Audio Downloader avatar

YouTube Audio Downloader

Pricing

$5.00 / 1,000 audio failed

Go to Apify Store
YouTube Audio Downloader

YouTube Audio Downloader

Extract audio from YouTube videos, Shorts and Music as M4A/AAC or WebM/Opus - no login, no cookies, no API key. Batch up to 10 links per run, per-video timeframe cuts, parallel downloads, never-fail dataset output. JSON API for developers and AI agents.

Pricing

$5.00 / 1,000 audio failed

Rating

5.0

(6)

Developer

Oliver Queen

Oliver Queen

Maintained by Community

Actor stats

4

Bookmarked

525

Total users

171

Monthly active users

0.56 hours

Issues response

an hour ago

Last modified

Features

Limited permissions

Share

💰 Pricing — what you pay per run

$0.045 per video for runs of up to 5 videos · $0.035 per video for runs of 6–10 videos (the first 10 minutes included) + $0.015 for every additional started 5-minute block.

  • The per-video price depends on how many videos you request in the run — one price for the whole run, applied to every video in it.
  • Retries and rescue rounds are free — a video is charged at most once per run.
  • Live/upcoming streams and invalid/non-YouTube links cost $0.
  • No start fee; the platform's compute usage is billed on top as usual (a typical single-video run adds roughly 0.02–0.05 CU ≈ $0.005–$0.01 on a 1024 MB container).
  • Billing transparency: while the actor's pricing record is being switched over, the Apify Console bill may list the line item AUDIO_FAILED with a higher count — ×9 per video (runs of up to 5) or ×7 per video (runs of 6–10), and ×3 per 5-minute block — instead of the per-video line items. The amount charged is identical to the price table above; only the label and the count differ.

Examples (runs of up to 5 videos · runs of 6–10 videos): a 3-minute song ≈ $0.045 · $0.035 · a 1-hour podcast ≈ $0.195 · $0.185 · a 10-hour mix ≈ $1.815 · $1.805.

Turn any list of YouTube links into ready-to-download audio files — a 3-minute song, a 2-hour podcast, a 10-hour mix — fully automatic, no login, no cookies, no API key. Extract audio from YouTube videos, Shorts, and Music with a YouTube audio downloader built for both people and pipelines.

Flat, predictable pricing$0.045 per video for runs of up to 5 videos, $0.035 per video for runs of 6–10 + $0.015 per extra 5-minute block after 10 minutes. Live streams and invalid links cost nothing.
FastA 10-video batch typically finishes in ~3–5 minutes — not hours.
Long-form readyUp to 10 hours per video (podcasts, mixes, audiobooks) at the same flat per-block price.
Zero setupNo API keys, no cookies, no third-party services. Just paste links and run.
Parallel everythingUp to 10 videos per run, downloaded in parallel.
Self-healingAutomatic retries on fresh connections plus a strict last-resort rescue path — 95%+ success on downloadable videos.
Geo-awareIf a video is region-restricted, the run retries it from other supported regions and fetches it from one where it is available.
Never-fail runsThe run always finishes with one dataset row per video — successes and failures alike.
Per-video controlEach link can have its own timeframe cut and audio quality.
Bring your own S3 (optional)Deliver files straight to your own S3-compatible bucket (AWS S3, Cloudflare R2, MinIO, B2) — the key-value store stays the main store and is always the fallback.

How to download audio from YouTube

  1. Open the actor and click Add item under YouTube videos.
  2. Paste a YouTube URL (full watch URL or the 11-char video id). Optionally set Timeframe (1:30-2:45) and Audio Quality per video.
  3. Add up to 10 videos per run (Shorts and YouTube Music links work the same way; each video can be up to 10 hours long).
  4. Hit Run. When it finishes, open the Output tab and click a row's downloadUrl — it opens the run's key-value store in Apify Console; sign in as the account that ran the actor and download the file there (there is no permanent public link). API users read the same file with the token of that account.

Timeframe cuts are done by stream copy (no re-encode), so cutting a 1-hour podcast to a 5-minute clip is instant and lossless.

Pricing

EventPriceWhen
AUDIO_DOWNLOADED$0.045 / video (run ≤5) · $0.035 / video (run 6–10)Per video, one band per run (first 10 minutes included)
AUDIO_LONG_EXTRA+$0.015 / 5 min blockDelivered files longer than 10 minutes (podcasts, mixes)
  • Invalid/non-YouTube URLs → $0 (rejected before any attempt)
  • Live/upcoming streams → $0 (rejected before any download)
  • No start fee; platform usage is billed as normal Apify compute units (1024 MB container — a typical single-video run adds roughly 0.02–0.05 CU ≈ $0.005–$0.01 on top of the per-video price)
  • Cap spending with the standard maxTotalChargeUsd run option
  • Pricing-record switch-over: if a bill shows AUDIO_FAILED with a count of ×9 (per video, runs ≤5), ×7 (per video, runs 6–10) or ×3 (per 5-minute block), the amount is the same as the table above — see the note at the top of this page.
  • Keep the actor defaults — timeoutSecs 1800 (30 minutes) and a 1024 MB run. Runs set to timeoutSecs 280 / 512 MB measurably lose results: in one measured 24-hour window of real-world traffic (2026-10-26 → 2026-10-27), at least one video failed in 25.4% of those runs (29/114 runs), while every other configuration measured came in at ≤ 4.8% (240 s and 3600 s runs: 1.2% and 0%).
  • A video that was attempted still bills its attempt base ($0.045 or $0.035, per the run's band) even when it fails — that video's dataset row reports an error, but no file is delivered.
  • Tight deadline? Keep timeoutSecs at ≥ 400 s so the automatic retries and rescue rounds have room to settle every video.
  • These figures are an observation from one measurement window of real traffic — not a guarantee.

YouTube audio API

Everything the UI does is available through the JSON input API, so the actor drops straight into scripts, CI jobs, schedulers, and AI agents (Apify MCP server, webhooks, Zapier/Make):

{
"videos": [
{ "url": "https://www.youtube.com/watch?v=VIDEO_ID" },
{ "url": "https://www.youtube.com/watch?v=OTHER_ID",
"timeframe": "1:30-2:45",
"audioQuality": "low" }
]
}

Only url is required — empty fields fall back to the global defaults (Audio Quality, Timeframe). Start a run with POST https://api.apify.com/v2/acts/utils~youtube-link/runs and poll it, or use run webhooks and the scheduler for recurring jobs.

Each run produces:

  • Dataset — one item per video: url, title, duration, ok, method, filename, downloadUrl, seconds, bytes, attempt, error
  • Key-value store — the audio files themselves (m4a/webm); the main store, always used unless you opt into S3 below
  • No permanent public link. For files in the key-value store, downloadUrl is the Console page of the run's store (https://console.apify.com/storage/key-value-stores/<storeId>). The store is set to restricted access, so open downloadUrl while signed in as the account that ran the actor and download the file there. The Output tab shows a ready-made table to click through.
  • Pipelines: read the record with the token of the account that ran the actor — GET https://api.apify.com/v2/key-value-stores/<storeId>/records/<filename>?token=<YOUR_TOKEN>. The file stays available for your plan's data-retention window (about 7 days for a run's default store on the free plan), so fetch it promptly.
  • Shareable link: the account that ran the actor can copy a signed link for the record in Apify Console (or generate one with the Apify API, getRecordPublicUrl); signed links can be time-limited. No signed link is handed out with the run.

Optional: deliver to your own S3 bucket

The key-value store is the main store and works with zero setup. If your pipeline reads from your own object storage instead, fill the optional S3 delivery section (any S3-compatible service: AWS S3, Cloudflare R2, MinIO, Backblaze B2, ...) and switch the S3 delivery toggle on for the videos you want there:

FieldValuesDefault
s3.endpointS3 API endpoint URL— (disabled)
s3.bucketExisting bucket name—
s3.regione.g. us-east-1 · R2 needs autous-east-1
s3.accessKey / s3.secretKeyCredentials with PutObject on the bucket—
s3.publicBaseUrlPublic URL prefix for downloadUrl (optional)path-style endpoint URL
videos[].s3true = deliver this video to the bucketfalse (key-value store)
  • Optional by design — leave the section empty and nothing changes; toggles default to OFF.
  • Never fails the run — missing/invalid credentials or a failed upload automatically fall back to the key-value store.
  • Free tiers work fine (e.g. Cloudflare R2: 10GB + zero egress fees; MinIO self-hosted: unlimited).

Input reference

FieldValuesDefault
videosOne item per video (max 10) — required, at least one link or id—
videos[].urlYouTube URL or 11-char video id (required)—
videos[].timeframeMM:SS-MM:SS · HH:MM:SS-HH:MM:SSglobal
videos[].audioQualitybest · high · medium · low · aac · opusbest
videos[].s3true · false — see Optional: deliver to your own S3 bucketfalse

Global settings act as defaults for every video that leaves a field empty.

Videos longer than 10 hours are rejected before any download and reported in the dataset (the run's attempt base — $0.045 or $0.035 — applies).

More from T2 Solutions:

More YouTube tools:

Disclaimer

This actor is a technical tool provided for legitimate purposes only: research, study, and personal offline viewing of content you have the right to access. It does not encourage or support redistributing or re-publishing downloaded content in any way that violates YouTube's Terms of Service or copyright law. You are solely responsible for how you use it, and downloading a video grants you no right to it beyond the rights you already hold. Do not use the actor to obtain paid, members-only, DRM-protected or otherwise restricted material you have no right to view. The actor is provided "as is", without warranties of any kind, to the extent permitted by law. This is not legal advice: if you are unsure whether your use is permitted, check YouTube's terms and the law where you are.

Terms & acceptable use

  • You need the rights to the content. Only request videos you own, have explicit permission or a license for, or are otherwise entitled to use — the rights question is the same whether you stream the video in a browser or download it with this actor.
  • The platform's Terms and your local law still apply. Using this actor does not exempt you from YouTube's Terms of Service or from copyright and other laws where you are; complying with them is your responsibility, not the actor's.
  • No redistribution. Downloaded files are for your own permitted use — do not re-publish, re-upload, sell or otherwise distribute content you do not have the rights to.
  • Access can change or stop. The actor depends on a third-party platform, so supported link types, behaviour and availability may change at any time, without notice, and the actor may be withdrawn entirely.
  • No warranty, limited liability. The actor is provided "as is" (see the Disclaimer above) and, to the extent permitted by law, its publisher is not liable for any loss or damage arising from your use of it or from the content you download with it.

FAQ

What if a video fails? The engine already retried it through multiple connections, then tried a last-resort fallback — with a success rate over 95% on downloadable videos, almost everything lands. Anything still failing at the end is reported in the dataset with the exact error; just re-run it (invalid URLs are rejected before any attempt and cost nothing).

Is there a video limit? 10 links per run, each up to 10 hours long; longer videos are rejected before download. Need more? Chain runs via API — each run is independent and resumable.

Can I convert YouTube to MP3? Yes — files arrive in original lossless quality (m4a/AAC or webm/Opus), which makes converting to MP3 easy: one ffmpeg -i in.webm out.mp3 command or any audio converter, no re-download needed. Choose aac/opus in Audio Quality to pin the codec.

Do I need login, cookies, or an API key? No — the actor runs without a YouTube account, browser cookies, or any third-party API key. Opening the delivered file does need your Apify account (see Where is my file — is there a direct download link?).

Where is my file — is there a direct download link? The file is in the run's key-value store, and downloadUrl opens that store in Apify Console. The store is set to restricted access, so there is no permanent public link: open it signed in as the account that ran the actor and download there — or read the record with your Apify token from a pipeline. Need a shareable URL? The account that ran the actor can copy a signed link for the record in Console or generate one with the Apify API (getRecordPublicUrl); links can be time-limited. Files last for your plan's data-retention window (about 7 days for a run's default store on the free plan), not forever.

Can files go to my own S3/R2 bucket? Yes — optionally. Fill the S3 delivery section with your bucket's endpoint + credentials and turn the per-video toggle on; the file lands in your bucket and downloadUrl points there. The key-value store remains the main store, and any S3 problem (missing config, bad credentials, network) silently falls back to it — the run never fails because of S3.

What about country-restricted videos? The actor detects a region restriction, retries the video from other supported regions, then fetches it from one where it is available. A video that is unavailable in every supported region is reported in the dataset as a geo failure.

What about live streams? Ongoing live/premiere streams are rejected instantly (fast-fail, no endless download, no charge); ended live streams download as regular videos.

What about members-only videos? They're detected immediately and reported with the exact membership level required — no endless retries, and no file is delivered (the run's attempt base — $0.045 or $0.035 — applies, as with any attempted video).

Is downloading YouTube audio legal? That depends on the content, YouTube's Terms of Service and the law where you are — see the Disclaimer and Terms & acceptable use sections above. For content you have the right to access, personal offline viewing is the use this actor is built for.

Why does a run sometimes take 2 minutes for one video? Container start plus YouTube's anti-bot checks dominate single-video runs; batching 10 links into one run amortizes the startup and is cheaper per video.