First step with the Youtube / Mp3 API :

Firstly, here is your public API key : Mjk3Mjg2NDEx
You will need this key to access to the API, this key is already inserted in all the code code examples below.
Don't worry about your key being used by someone else, it won't change anything on your side.
You can see the result on this youtube mp3 converter.

To display your download button, just insert this code where you want on your website after replacing the video ID by the one to convert :
<iframe width="250px" height="60px" scrolling="no" style="border:none;" src="https://www.download-mp3-youtube.com/api/?api_key=Mjk3Mjg2NDEx&format=mp3&video_id=JGwWNGJdvx8"></iframe>

The result of this code is :

Parameters and customization :

The size of the button can be modified directly from the frame code by changing width="250px" and height="60px" in the previous code.
The parameters below can be changed by editing the frame source URL.

Parameter Description Example Required
api_key Your public key necessary to access to the API Mjk3Mjg2NDEx YES
format The video output format (only mp3 is supported for now) mp3 YES
video_id The YouTube ID of the video to convert JGwWNGJdvx8 YES
button_color Hexadecimal code for button background color 1eb5bd NO
text_color Hexadecimal code for button text color ffffff NO


Example 1 :

<iframe width="300px" height="50px" scrolling="no" style="border:none;" src="https://www.download-mp3-youtube.com/api/?api_key=Mjk3Mjg2NDEx&format=mp3&video_id=JGwWNGJdvx8&button_color=11512f&text_color=dddddd"></iframe>



Example 2 :

<iframe width="220px" height="50px" scrolling="no" style="border:none;" src="https://www.download-mp3-youtube.com/api/?api_key=Mjk3Mjg2NDEx&format=mp3&video_id=JGwWNGJdvx8&button_color=dddddd&text_color=444444"></iframe>