Developer API

Add our API at your website and download MP3 Instant!



MP3 Converter API Code:



Javascript Method 1:

Somehwere in <head>

<script async src="https://www.y2mp3convert.com/api.js"></script>



Don't remove "async" from the Script tag, otherwise its won't work!

HTML Method 2:

Somehwere in <head>

<style>@media screen and (min-width: 651px) {#myframe{height:100px!important;}}@media (min-width: 400px) and (max-width: 650px) {#myframe{height:200px!important;}}@media (min-width: 200px) and (max-width: 399px) {#myframe{height:300px!important;}}</style>

Somehwere in <body>

<iframe id="myframe" src="https://www.y2mp3convert.com/mp3-api/YouTube-Video-ID" width="100%" height="100px" allowtransparency="true" scrolling="no" style="border:none;"></iframe>

Direct Link Method 3:

Direct Link to Our site

<a href="https://www.y2mp3convert.com/YouTube-Video-ID" target="_blank" rel="nofollow">Download</a>

Method 4:

Simply Copy Paste in "Custom API" under Admin Panel

<iframe id="myframe" src="https://www.y2mp3convert.com/mp3-api/<YOUTUBE_ID>" width="100%" height="100px"
allowtransparency="true" scrolling="no" style="border:none;"></iframe>


OR

<div id="yt2m" vid-id='<YOUTUBE_ID>'></div> <script async src="https://www.y2mp3convert.com/api.js"></script>

How our website api look like and working