YouTube to MP3 & MP4 Developer APIs

If you are a Web Developer and looking for a Video Downloader API for your projects then you are at the right place. We offer super fast iFrame converter APIs to allow you download videos without using your server resources. APIs works with any programming language like PHP, Python, JavaScript, jQuery, Ajax, JSON, Node.JS, Swift, C#, Java, Android & iOS.

Our API supports video platforms like YouTube. Try our YouTube to MP3 API.


Single Button API

API does not work if used with " sandbox" iFrame attribute. Your domain or IP will be blocked.
ex: <iframe sandbox="allow-scripts allow-same-origin"...

GET
https://apiyt.cc/{FTYPE}/{VIDEO_ID}

Parameters

FTYPE

mp3 or mp4

VIDEO_ID

https://www.youtube.com/watch?v=pRpeEdMmmQ0

MP3 iFrame Code:

<iframe src="https://apiyt.cc/mp3/pRpeEdMmmQ0" style="width: 160px; height: 60px;"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Generates this:

Multi Button API

GET
https://apiyt.cc/buttons/{FTYPE}/{VIDEO_ID}

Parameters

FTYPE

mp3 or mp4

VIDEO_ID

https://www.youtube.com/watch?v=pRpeEdMmmQ0

iFrame Code:

<iframe id="buttonApi" src="https://apiyt.cc/buttons/mp3/mYHPnqa7B3Y"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically (Responsive) resizing:

<!-- Put the Library in your <head> tag -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js"></script>

<!-- Put the resizer code after the <iframe> tag -->
<script>iFrameResize({ log: false }, '#buttonApi')</script>

Generates this:

Widget API

GET
https://apiyt.cc/{FTYPE}/{VIDEO_ID}

Parameters

FTYPE

widget

VIDEO_ID

https://www.youtube.com/watch?v=pRpeEdMmmQ0

iFrame Code:

<iframe id="buttonApi" src="https://apiyt.cc/widget/mYHPnqa7B3Y"
width="100%" height="100%" allowtransparency="true"
 scrolling="no" style="border:none;overflow:hidden;height: 300px;width: 100%;"></iframe>

Javascript code for automatically (Responsive) resizing:

<!-- Put the Library in your <head> tag -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/iframeResizer.min.js"></script>

<!-- Put the resizer code after the <iframe> tag -->
<script>iFrameResize({ log: false }, '#widgetApi')</script>

Generates this:

Search API

API does not work if used with " sandbox" iFrame attribute. Your domain or IP will be blocked.
ex: <iframe sandbox="allow-scripts allow-same-origin"...

GET
https://apiyt.cc/{FTYPE}/{VIDEO_ID}

Parameters

FTYPE

search

VIDEO_ID

https://www.youtube.com/watch?v=pRpeEdMmmQ0

iFrame Code:

<iframe id="SearchApi" src="https://apiyt.cc/search/post+malone"
width="100%" height="530" allowtransparency="true" style="border:none"></iframe>

Generates this: