YouTube MP3 Downloader
Pricing
from $60.00 / 1,000 results
YouTube MP3 Downloader
Download any YouTube video as high-quality MP3 audio. Search by song name or paste a direct URL. Fast, reliable, and API-ready. Works with n8n, Make.com, and Zapier.
Pricing
from $60.00 / 1,000 results
Rating
0.0
(0)
Developer
Leisurely Heparin
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Download any YouTube video as high-quality MP3 audio. Search by song name or paste a YouTube URL.
Features
- Search by name — just type "Despacito Luis Fonsi" and get the MP3
- Direct URL — paste any YouTube video URL
- High quality — best available audio quality
- Fast — downloads typically complete in 5-10 seconds
- Music videos supported — works with VEVO and label-protected content
How to use
Option 1: Search by song name
Set the Song name field:
Despacito Luis Fonsi
Option 2: YouTube URL
Set the YouTube URL field:
https://www.youtube.com/watch?v=kJQP7kiw5Fk
Only one field is required. If both are provided, the URL takes priority.
Output
The Actor returns a JSON object with:
{"success": true,"file_url": "https://example.com/files/abc123_Despacito.mp3","filename": "abc123_Despacito.mp3","size": 4676277}
| Field | Description |
|---|---|
success | true if download completed |
file_url | Direct link to download the MP3 file |
filename | Name of the downloaded file |
size | File size in bytes |
API Usage
Call the Actor via the Apify API:
curl -X POST "https://api.apify.com/v2/acts/leisurely_heparin~youtube-mp3-downloader/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"query": "Despacito Luis Fonsi"}'
Or with a direct YouTube URL:
curl -X POST "https://api.apify.com/v2/acts/leisurely_heparin~youtube-mp3-downloader/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"url": "https://www.youtube.com/watch?v=kJQP7kiw5Fk"}'
Get results
After the run completes, retrieve the results from the dataset:
$curl "https://api.apify.com/v2/actor-runs/YOUR_RUN_ID/dataset/items?token=YOUR_API_TOKEN"
Integrations
Works with n8n, Make.com, Zapier, and any tool that supports HTTP requests or the Apify API.
n8n Example
Use an HTTP Request node:
- Method: POST
- URL:
https://api.apify.com/v2/acts/leisurely_heparin~youtube-mp3-downloader/runs?token=YOUR_API_TOKEN - Body:
{"query": "{{ $json.song_name }}"}
Python Example
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("leisurely_heparin/youtube-mp3-downloader").call(run_input={"query": "Despacito Luis Fonsi"})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item["file_url"])
Limitations
- Downloaded files are available for 30 minutes
- One song per request
- Playlists are not supported (use individual URLs)
Legal Notice
This Actor is intended for downloading content you have the right to access. Users are responsible for compliance with applicable laws and YouTube's Terms of Service.