Youtube To MP3 and MP4 Downloader API (Button/Iframe)

Abdholi

New member
Registered
Joined
Aug 20, 2019
Messages
2
Points
3

Reputation:

Set the "src" attribute of an HTML iframe to:
Code:
https://api.download-lagu-mp3.com/@api/button/{format}/{YouTube-Video-ID}

Where {format} is one of the following:
"mp3" : for MP3 results
"videos" : for Video w/Audio results
"videostreams" : for Video-Only results
"audiostreams" : for Audio-Only results
And {YouTube-Video-ID} is any valid YouTube video ID.
The resulting iframe code and corresponding output should look like one of the following, e.g.:

MP3 :

Code:
<iframe class="button-api-frame" src="https://api.download-lagu-mp3.com/@api/button/mp3/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

VIDEO :

Code:
<iframe class="button-api-frame" src="https://api.download-lagu-mp3.com/@api/button/videos/CevxZvSJLk8" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

<!-- Optional script that automatically makes iframe content responsive. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/3.5.14/iframeResizer.min.js"></script>
<script>iFrameResize({}, '.button-api-frame');</script>

Source : https://api.download-lagu-mp3.com
 

kiniemxua

Nhất Túy Tiêu Dao
Collaborate
Registered
Joined
Jun 30, 2019
Messages
83
Points
243

Reputation:

Hummm! i will creat a new page to test ?
 

mark.andrew

New member
Registered
Joined
Jun 24, 2022
Messages
1
Points
3

Reputation:

Tryout new version of YouTube Converter API for free It also support more video sites like YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK & AOL.


1. Single Button API

Parameters
FTYPE
mp3, mp4, webm
VIDEO_URL
any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL
iFrame Code:
HTML:
HTML:
<iframe src="https://convert2mp3s.com/api/single/mp3?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>
API Preview :
Single Button API

2. Button API

Parameters
FTYPE
mp3, mp4, webm
VIDEO_URL
any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL
iFrame Code:
HTML:
HTML:
<iframe id="buttonApi" src="https://convert2mp3s.com/api/button/mp3?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>
API Preview :
Button API

3. Widget API

Parameters
VIDEO_URL
any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL
iFrame Code:
HTML:
HTML:
<iframe id="widgetApi" src="https://convert2mp3s.com/api/widget?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>
API Preview :
Widget API

4. Widget v2 API

Parameters
VIDEO_URL
any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL
iFrame Code:
HTML:
HTML:
<iframe id="widgetv2Api" src="https://convert2mp3s.com/api/widgetv2?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0" width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>
API Preview :
Widget V2 API

Official API Websites:
 
Top