Youtube to MP3 API

Youtube MP3 API for website developers.

Button does not work if used with "sandbox"

ex: <iframe sandbox="allow-scripts allow-same-origin"...


+ Add button Download MP3 and MP4 convert from Youtube.

+ The Download button is located in the IFrame, so it will not affect the speed of the site and visitors will never have to leave your website.

Features

It's fast and has a cache!
Support all Youtube videos
Free!
May appear ads
and more...

Demo & Instructions

Youtube MP3 Button

<iframe style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no" src="//ytbapi.com/dl.php?link=https://www.youtube.com/watch?v=cMg8KaMdDYo&format=mp3&text=fff&color=009688"></iframe>

Youtube MP4 Button

<iframe style="width:100%;min-width:200px;max-width:350px;height:57px;border:0;overflow:hidden;" scrolling="no" src="//ytbapi.com/dl.php?link=https://www.youtube.com/watch?v=cMg8KaMdDYo&format=mp4&text=fff&color=ff5722"></iframe>

Parameters:
&link= Youtube URL
&text= color of the text inside the button (string - hex code without #)
&color= color of the button (string - hex code without #)

Thank you for using youtube to mp3 converter!