Youtube to mp3 conversion API's

Download-lagu-mp3.com

Administrator
Staff member
#1
Public access to the youtube to mp3 API's.png

Button/Iframe API
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
  • "mergedstreams" : for Merged Video + Audio results
  • "videostreams" : for Video-Only results
  • "audiostreams" : for Audio-Only results
And {YouTube-Video-ID} is any valid YouTube video ID.
The API request and corresponding JSON response 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/[YOUTUBE ID]" 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/[YOUTUBE ID]" 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 Only

Code:
<iframe class="button-api-frame" src="https://api.download-lagu-mp3.com/@api/button/videostreams/[YOUTUBE ID]" 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>

Audio Only

Code:
<iframe class="button-api-frame" src="https://api.download-lagu-mp3.com/@api/button/audiostreams/[YOUTUBE ID]" 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>

Reference : https://api.download-lagu-mp3.com/@developers
 
Last edited:
Top