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.

Button/Iframe API


Setze das "src" Attribut eines HTML iframe zu:

https://yt-api.com/@api/button/{format}/{YouTube-Video-ID}

...wobei{format} duch eines der folgenden Parameter ersetzt wird:

  • "mp3" : für MP3 ergebnisse
  • "videos" : für Video mit Audio ergebnisse
  • "mergedstreams" : für Zusammengeführtes Video + Audio ergebnisse
  • "videostreams" : für Nur Video ergebnisse
  • "audiostreams" : für Nur Audio ergebnisse

...und {YouTube-Video-ID} durch eine gültige YouTube-Video-ID.

Der daraus resultierende Iframe-Code und die entsprechende Ausgabe sollten wie folgt aussehen:

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

...Erzeugt dies:

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

...Erzeugt dies:

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

...Erzeugt dies:

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

...Erzeugt dies:

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

...Erzeugt dies: