YouTube to MP3 converter Agent Skill
Give your AI agent a YouTube to MP3 converter through one prompt — it connects the official AgentBody skill and calls the real API automatically.
- A Real MP3 File, Not a Redirect
- Eight Formats, Bitrate Control
- Works With Every YouTube Link Shape
- Agent-Native Skill Install
Install Skill
Read https://docs.agentbody.io/quickstart.md and help me safely connect, configure, and use AgentBody's APIs with the official AgentBody Skill in this agent environment.
Features
This YouTube to MP3 converter turns one public YouTube video into a real audio file you can keep: the response contains a permanent download link plus normalized track metadata, not a temporary redirect.
A Real MP3 File, Not a Redirect
Many converters hand back a short-lived CDN link that expires or fails outside your browser. This YouTube to MP3 converter saves the actual audio file and returns a permanent download URL your agent can fetch from any machine — plus the title, channel, duration, and file size alongside it.
Eight Formats, Bitrate Control
MP3 is the default for universal playback, with M4A, WAV, AAC, FLAC, OPUS, Vorbis, and ALAC available. Bitrate runs from 64k up to 320k, plus an automatic default and a source option that keeps the original stream with no re-encode.
Works With Every YouTube Link Shape
Paste a full watch URL, a youtu.be short link, a Shorts link, or an embed URL — the converter resolves them all. Only public videos can be converted; private and age-restricted content is rejected by the platform itself.
Agent-Native Skill Install
One prompt installs the official AgentBody skill into your agent. The agent reads the quickstart, asks for your key, stores it locally, and from then on routes any youtube video to mp3 request to the API with the right parameters.
How to use
Three steps give your agent a working YouTube to MP3 converter.
Send The Install Prompt
Paste the install prompt from this page into your AI agent. It fetches the official AgentBody skill — no plugin store, no manual wiring, and no key embedded in the prompt itself.
Let The Agent Configure Your Key
The agent reads the quickstart, asks you for an AgentBody API key, and stores it in its own configuration. You create the key in a free AgentBody account; the agent never sees a login form and never shares the key.
Ask For Audio In Plain Language
Say something like "convert this YouTube video to MP3" with a link, and the agent calls the API, waits for the conversion, and returns the permanent download link with the track's title, duration, and file size.
Frequently asked questions
How does the agent install the YouTube to MP3 converter?
Paste the install prompt from this page into your agent. It downloads the official AgentBody skill, reads the bundled quickstart, and asks you for an API key from your free AgentBody account. After that one-time setup, any request to convert a YouTube video to audio routes to the real API automatically.
Is my API key safe inside the agent?
The key is never embedded in the install prompt or sent anywhere except the AgentBody API. The agent stores it in its local configuration exactly like any other credential you give it, and every call is authenticated server-to-server over HTTPS.
What can the agent convert once installed?
Any public YouTube video in any common link shape — watch pages, youtu.be short links, Shorts, and embed URLs. It outputs MP3 by default, and the agent can pass another format (M4A, WAV, AAC, FLAC, OPUS, Vorbis, ALAC) or bitrate (up to 320k, or source for no re-encode) when you ask.
Can the agent batch a whole playlist?
The API converts exactly one video per call and rejects playlist URLs, so the agent processes playlist requests as a loop of individual conversions, each with its own idempotency key. Videos longer than roughly 25 minutes are declined by an upstream cost guard.
What does the agent hand back after a conversion?
A permanent download URL for the saved audio file, plus the normalized metadata: video ID, title, channel, duration in seconds, file size, format, and bitrate. Because the link never expires, the agent can also save the file to disk or upload it to your storage directly.
What usage rules apply to agent conversions?
Each successful conversion draws a fixed amount from your AgentBody balance at the gateway-governed price; failures are not billed. Convert only public content you own, have permission to save, or have another lawful basis to download — the API cannot access private, unlisted, or age-restricted videos at all.