
1 minute read
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, 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.
Advertisement
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
Parameters
FTYPE mp3, mp4, webm
VIDEO URL any YouTube, SoundCloud, Facebook, Twitter, Instagram, TikTok, Vimeo, Dailymotion, VK, or AOL Video URL iFrame Code:
Generates this:
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://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=htt width="100%" height="100%" allowtransparency="true" scrolling="no" style="b
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/if
<!-- Put the resizer code after your <iframe> tag -->
<script>iFrameResize({ log: false, minHeight: 360 }, '#buttonApi')</script>
Convert2MP3
Generates this:
Widget 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://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:/ width="100%" height="100%" allowtransparency="true" scrolling="no" style="b
<!-- Put the Library in your <head> tag --> <script src="https://cdnjs.cloudflare.com/ajax/libs/iframe-resizer/4.3.2/if
<!-- Put the resizer code after your <iframe> tag -->
Javascript code for automatically resizing: Generates this: Shakira - Waka Waka (This Time for Africa) (The Shakira - Waka Waka (This Time for Africa) (The Ofcial 2010 FIFA World Cup™ Song) Ofcial 2010 FIFA World Cup™ Song) log: false, minHeight: 400 }, '#widgetApi')</script>
Widget v2 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://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=htt width="100%" height="100%" allowtransparency="true" scrolling="no" style="b
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/if
<!-- Put the resizer code after your <iframe> tag --> <script>iFrameResize({ log: false, minHeight: 400 }, '#widgetv2Api')</scrip
Generates this: