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, Android, iOS.

Our API supports video platforms like YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL. Try our YouTube to MP3 API, YouTube Video Downloader API, Facebook Video Downloader API, Instagram Video Downloader API, Twitter Video Downloader API, SoundCloud Downloader API etc.

1. Single Button API

GET
https://convert2mp3s.com/api/single/{FTYPE}?url={VIDEO_URL}

Parameters

FTYPE

mp3, mp4, webm

VIDEO_URL

any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe src="https://convert2mp3s.com/api/single/mp3?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Generates this:

2. Button API

GET
https://convert2mp3s.com/api/button/{FTYPE}?url={VIDEO_URL}

Parameters

FTYPE

mp3, mp4, webm

VIDEO_URL

any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe id="buttonApi" src="https://convert2mp3s.com/api/button/mp3?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically 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 your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 360 }, '#buttonApi')</script>

Generates this:

3. Widget API

GET
https://convert2mp3s.com/api/widget?url={VIDEO_URL}

Parameters

VIDEO_URL

any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe id="widgetApi" src="https://convert2mp3s.com/api/widget?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically 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 your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 400 }, '#widgetApi')</script>

Generates this:

4. Widget v2 API

GET
https://convert2mp3s.com/api/widgetv2?url={VIDEO_URL}

Parameters

VIDEO_URL

any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL

iFrame Code:

<iframe id="widgetv2Api" src="https://convert2mp3s.com/api/widgetv2?url=https://www.youtube.com/watch?v=pRpeEdMmmQ0"
width="100%" height="100%" allowtransparency="true" scrolling="no" style="border:none"></iframe>

Javascript code for automatically 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 your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 400 }, '#widgetv2Api')</script>

Generates this:

Please write to us for any query or technical support : convert2mp3s@gmail.com