- Home
- Documentation
- download_audio
download_audio
MCPTube download_audio tool: download YouTube audio as MP3 with cover art and tags, or as M4A with the original AAC stream, right in Otherside, Claude, ChatGPT or Cursor.
Download YouTube audio · REST: POST /v1/audio
MP3 with cover art and tags, or M4A with the original AAC stream, no re-encoding. Returns a temporary download link.
| Parameter | Type | Description |
|---|---|---|
urlrequired | string | URL or ID of a YouTube video. |
formatdefault: mp3 | "mp3" | "m4a" | MP3 with cover art and tags, or M4A with the original AAC. |
audioLanguageoptional | string | Preferred track for dubbed videos, such as "pt", "en" or "original". |
Example
Ask your assistant
Download the audio of this video as MP3: youtu.be/jNQXAC9IVRw
Your assistant calls download_audio and answers with the file link.
curl
curl https://mcp.mcptube.com/v1/audio \ -H "Authorization: Bearer mct_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "youtu.be/jNQXAC9IVRw", "format": "mp3"}'
Response
Response
{
"videoId": "jNQXAC9IVRw",
"title": "Me at the zoo",
"author": "jawed",
"durationSeconds": 19,
"fileName": "jNQXAC9IVRw-Me at the zoo.mp3",
"fileSizeBytes": 412160,
"downloadUrl": "https://mcp.mcptube.com/files/7HqZ2mWv…/jNQXAC9IVRw-Me%20at%20the%20zoo.mp3",
"expiresAt": "2026-10-21T19:31:00.000Z",
"audioFormat": { "container": "mp4", "audioCodec": "mp4a.40.2", "videoCodec": null, "height": null, "fps": null, "audioTrack": null }
}On MCP, your assistant gets these same fields. The link is valid for 60 minutes. See files and links.