Developers API

What is YT-API.COM service?

YT-API.COM is an online conversion service like Youtube to mp3 conversion, which allows you to convert your All favorite YouTube videos into Mp3 quality And Mp4 Videos files. We offer Hd audio quality to download mp3 into 320kbps It's actually pretty simple to use too. Just copy youtube video url and enter the YouTube URL of your selected video and we will provide you with a download link to the Mp3/mp4 file within seconds.You Can Easily download it.

We offer the fastest conversion speed in the market. There are no limits to the number of videos each user can convert. There are no limits on the length of videos either, unlike some other services in this space.

YT-API.COM is designed to be mobile friendly. It looks and works great on any PC, Mac, Tablet, iPhone or Android device. There is no software installation required. Just use your favorite browser on your device of choice. And best of all, it's absolutely free.

NEW Simple Converter API Iframe Code


MP3 Download button

Set the "src" attribute of an HTML iframe to:

https://mp3.yt-api.com/button/{YouTube-Video-ID}/{Button-Colors}

MP4 Download button

Set the "src" attribute of an HTML iframe to:

https://mp4.yt-api.com/button/{YouTube-Video-ID}/{Button-Colors}

...where {YouTube-Video-ID} is any valid YouTube video ID.

...and {Button-Colors} is one of the following:

  • "default" : Bootstrap Button Default
  • "primary" : Bootstrap Button Primary
  • "secondary" : Bootstrap Button Secondary
  • "success" : Bootstrap Button Success
  • "info" : Bootstrap Button Info
  • "warning" : Bootstrap Button Warning
  • "danger" : Bootstrap Button Danger
  • "light" : Bootstrap Button Light
  • "dark" : Bootstrap Button Dark

The resulting iframe code and corresponding output should look like one of the following, e.g.:

<iframe src="https://mp3.yt-api.com/button/Imyx6rt70OU/success" allowtransparency="true" style="width:100%;height:50px;border:0;" scrolling="no"></iframe>

...generates this:

<iframe src="https://mp4.yt-api.com/button/Imyx6rt70OU/success" allowtransparency="true" style="width:100%;height:50px;border:0;" scrolling="no"></iframe>

...generates this:



NEW Converter API Iframe Code



Set the "src" attribute of an HTML iframe to:

https://yt-api.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 resulting iframe code and corresponding output should look like one of the following, e.g.:

<iframe class="button-api-frame" src="https://yt-api.com/@api/button/mp3/vov5SS2xCXA" 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>

...generates this:

<iframe class="button-api-frame" src="https://yt-api.com/@api/button/videos/vov5SS2xCXA" 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>

...generates this:

<iframe class="button-api-frame" src="https://yt-api.com/@api/button/mergedstreams/vov5SS2xCXA" 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>

...generates this:

<iframe class="button-api-frame" src="https://yt-api.com/@api/button/videostreams/vov5SS2xCXA" 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>

...generates this:

<iframe class="button-api-frame" src="https://yt-api.com/@api/button/audiostreams/vov5SS2xCXA" 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>

...generates this: