About the API:
Retrieve the audio from any Youtube video you want in MP3 format at 128kpbs. Easy to use and implement.
Be sure that you are complying with all Copyright and Intelectual Property rights before using this API.
This API will receive the video ID from where you want to extract the audio. After that, you will be receiving the download URL and that's it!
Download your MP3 and start using it in your projects.
Downloading copyright-free music: This API is ideal for those content creators that need to bulk download non-copyrighted audio from youtube.
Download your owned audio from your videos: If you need to get access to your owned MP3, this API is for you.
Besides API call limitations per month, the audios cannot be longer than 90 minutes.
{"link":"https:\/\/mu.123tokyo.xyz\/get.php\/d\/d5\/kPa7bsKwL-c.mp3?n=Lady%20Gaga%2C%20Bruno%20Mars%20-%20Die%20With%20A%20Smile%20%28Official%20Music%20Video%29&uT=R&uN=QWxlam9aeWxhTGFicw%3D%3D&h=HKnGC7NE9DQTDYYFjwe-mw&s=1767994108&uT=R&uN=QWxlam9aeWxhTGFicw%3D%3D","progress":100,"pc":0,"title":"Lady Gaga, Bruno Mars - Die With A Smile (Official Music Video)","filesize":3623399,"duration":252.36903620707,"status":"ok","msg":"success"}
curl --location --request GET 'https://zylalabs.com/api/381/youtube+to+audio+api/8884/get+audio?id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
{"downloadUrl":"https://downloadapi.elislab.xyz/yt/audio?url=https://www.youtube.com/watch?v=_Yhyp-_hX2s"}
curl --location --request GET 'https://zylalabs.com/api/381/youtube+to+audio+api/22174/download+audio?url=https://www.youtube.com/watch?v=_Yhyp-_hX2s' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
Each endpoint returns a download URL for the MP3 audio extracted from the specified YouTube video. The response includes the URL that allows users to download the audio file in MP3 format at 128kbps.
The key field in the response data is the "download_url," which provides the direct link to the MP3 file. Additional metadata may include the video ID and audio quality, depending on the implementation.
The primary parameter required is the "video URL," which must be provided to extract the audio. Ensure the URL is valid and corresponds to a YouTube video.
The response data is typically structured in JSON format, containing key-value pairs. The main structure includes the "download_url" field, which is essential for accessing the MP3 file.
Common use cases include downloading copyright-free music for content creation and retrieving audio from personal YouTube videos. Users can easily integrate the MP3 files into their projects.
Data accuracy is maintained by directly extracting audio from YouTube videos, ensuring that the MP3 files reflect the original content. Users should verify compliance with copyright laws.
Each endpoint provides access to audio content from YouTube videos, specifically the MP3 format. Users can retrieve audio from various genres, including music, podcasts, and other audio content.
Users can utilize the returned download URL to save the MP3 file locally or stream it in their applications. This allows for seamless integration of audio content into various projects and platforms.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
522ms
Service Level:
100%
Response Time:
811ms
Service Level:
100%
Response Time:
712ms
Service Level:
100%
Response Time:
641ms
Service Level:
100%
Response Time:
444ms
Service Level:
100%
Response Time:
1,157ms
Service Level:
100%
Response Time:
576ms
Service Level:
100%
Response Time:
1,609ms
Service Level:
100%
Response Time:
1,360ms
Service Level:
100%
Response Time:
545ms
Service Level:
100%
Response Time:
202ms
Service Level:
100%
Response Time:
76ms
Service Level:
100%
Response Time:
88ms
Service Level:
100%
Response Time:
5,153ms
Service Level:
100%
Response Time:
49ms
Service Level:
100%
Response Time:
3,501ms
Service Level:
100%
Response Time:
2,585ms
Service Level:
100%
Response Time:
1,685ms
Service Level:
100%
Response Time:
1,008ms
Service Level:
100%
Response Time:
494ms