Button/Iframe API

Send an HTTP request to:

https://music4u.me/@api/json/{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.:
GET https://music4u.me/@api/button/mp3/CevxZvSJLk8 HTTP/1.1
<iframe class="button-api-frame" src="https://music4u.me/@api/button/mp3/CevxZvSJLk8" width="100%" height="400px" allowtransparency="true" scrolling="no" style="border:none"></iframe>
...generates this:
GET https://music4u.me/@api/button/videos/CevxZvSJLk8 HTTP/1.1
<iframe class="button-api-frame" src="https://music4u.me/@api/button/videos/CevxZvSJLk8" width="100%" height="300px" allowtransparency="true" scrolling="no" style="border:none"></iframe>
...generates this:
GET https://music4u.me/@api/button/mergedstreams/CevxZvSJLk8 HTTP/1.1
<iframe class="button-api-frame" src="https://music4u.me/@api/button/mergedstreams/CevxZvSJLk8" width="100%" height="800px" allowtransparency="true" scrolling="no" style="border:none"></iframe>
...generates this:
GET https://music4u.me/@api/button/videostreams/CevxZvSJLk8 HTTP/1.1
<iframe class="button-api-frame" src="https://music4u.me/@api/button/videostreams/CevxZvSJLk8" width="100%" height="800px" allowtransparency="true" scrolling="no" style="border:none"></iframe>
...generates this:
GET https://music4u.me/@api/button/audiostreams/CevxZvSJLk8 HTTP/1.1
<iframe class="button-api-frame" src="https://music4u.me/@api/button/audiostreams/CevxZvSJLk8" width="100%" height="400px" allowtransparency="true" scrolling="no" style="border:none"></iframe>
...generates this:

Single Button/Iframe API

Send an HTTP request to:

https://music4u.me/widget/?&output={format}&video={YouTube-Video-ID}&quality={bitrate}&color={hexCode (without #)}

...where {format} is one of the following:
  • "mp3" : For MP3 output up to 320 kbps
  • "video" : For Low Quality Videos (up to 720p) mostly 360p. (MP4)
  • "hdvideo" : For FullHD / UHD Videos up to 8k (4320p). (MKV or WEBM)
  • Optional Parameters:
  • color: Background Color as Hex Color Code without # ex: 2480E7
  • quality: MP3 Quality: 320, 256, 192, 128 or 64
...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.:
GET https://music4u.me/widget/?color=2480E7&video=4oNhSeTSrQg&output=mp3&quality=320 HTTP/1.1
<iframe style="width:230px;height:60px;border:0;overflow:hidden;" scrolling="no" src="https://music4u.me/widget/?color=2480E7&video=4oNhSeTSrQg&output=mp3&quality=320"  allowtransparency="true"></iframe>
...generates this:
GET https://music4u.me/widget/?color=2480E7&video=4oNhSeTSrQg&output=video HTTP/1.1
<iframe style="width:230px;height:60px;border:0;overflow:hidden;" scrolling="no" src="https://music4u.me/widget/?color=2480E7&video=4oNhSeTSrQg&output=video"  allowtransparency="true"></iframe>
...generates this:
GET https://music4u.me/widget/?color=2480E7&video=4oNhSeTSrQg&output=hdvideo HTTP/1.1
<iframe style="width:230px;height:60px;border:0;overflow:hidden;" scrolling="no" src="https://music4u.me/widget/?color=2480E7&video=4oNhSeTSrQg&output=hdvideo"  allowtransparency="true"></iframe>
...generates this: