YouTube to MP3 API

YouTube to MP3 API

Turn a YouTube URL into an MP3, M4A, Opus or Ogg file for transcription, podcasts or analysis. Submit the source, choose the audio output and collect the file from your storage.

Create my account Talk to the team
100 GB free for 7 days for eligible new accounts. Run one job type next to your pipeline.
MP364k to 320k
M4Asource audio, no re-encode
100jobs per request

Audio from YouTube, ready for your pipeline

Choose the audio output
Set audio_only to true and pick a format: mp3, m4a, opus or ogg. For MP3, audio_bitrate accepts 64k, 128k, 192k, 256k or 320k. Without a format, the job delivers M4A with the source audio stream and no re-encoding.
Match the format to the next step
Speech-to-text services accept MP3 and M4A; a lower bitrate keeps uploads small for long recordings. Keep the source stream when you need the best available audio for editing or dubbing.
Deliver to your storage
Files go to the destination configured for your key: Amazon S3, Cloudflare R2, Google Cloud Storage, Azure Blob Storage, Alibaba OSS, Google Drive or any S3-compatible bucket. Check the final job status before starting downstream work.
Designed for developers

One POST. We do the rest.

One request creates the job. Poll GET /jobs/{id} or pass a webhook_url, then read the file when the status is Completed. Failed jobs are not billed.

POST /jobs
curl --fail-with-body https://api.tornadoapi.io/jobs \
  -H "x-api-key: $TORNADO_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "url": "https://www.youtube.com/watch?v=VIDEO_ID",
  "audio_only": true,
  "format": "mp3",
  "audio_bitrate": "192k"
}'
FAQ

Questions, answered.

Something else on your mind? Talk to the team. Bring a sample URL or a job ID.

Which audio formats can I request?

MP3, M4A, Opus and Ogg. M4A is the default for audio-only jobs and keeps the source audio stream without re-encoding. MP3 is encoded at the bitrate you choose, 192k by default.

Is an audio file billed by its own size?

Billing uses billable volume under your account plan. A billing floor can make it differ from the delivered file size, especially for audio or clips. The dashboard shows the billable volume of every job, so check it on a sample before estimating a month.

Can I convert a whole playlist or channel?

Yes. A playlist or channel URL creates a batch with one job per video, and the bulk endpoint accepts up to 100 URLs per request. Each job has its own final status.

What happens when a video is unavailable?

The job ends with a status and a reason, for example private, removed or restricted in a region. It is not billed. Record the outcome and continue with the rest of the list.

Which content can I process?

Submit content you own, have licensed or are otherwise authorized to use. Access to a public URL does not grant rights to reuse the audio.