Developer API

Add our API at your website and download MP3 Instant!



Free MP3 Conversion API:


Method 1 - JSON REST API


Send an HTTP request to:

https://download.tubemp3convert.com/@api/json/mp3/{YouTube-Video-ID}

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


The API response is a JSON object that looks like the following, e.g.:

{
    "vidID": "CevxZvSJLk8",
    "vidTitle": "Katy Perry - Roar (Official)",
    "vidInfo": {
        "0": {
            "dloadUrl": "//download.tubemp3convert.com/@download/320-58e7c0e582ce2-10800000/mp3/CevxZvSJLk8/Katy%2BPerry%2B-%2BRoar%2B%2528Official%2529.mp3",
            "bitrate": 320,
            "mp3size": "10.3 MB"
        },
        "1": {
            "dloadUrl": "//download.tubemp3convert.com/@download/256-58e7c0e582ce2-8640000/mp3/CevxZvSJLk8/Katy%2BPerry%2B-%2BRoar%2B%2528Official%2529.mp3",
            "bitrate": 256,
            "mp3size": "8.24 MB"
        },
        "2": {
            "dloadUrl": "//download.tubemp3convert.com/@download/192-58e7c0e582ce2-6480000/mp3/CevxZvSJLk8/Katy%2BPerry%2B-%2BRoar%2B%2528Official%2529.mp3",
            "bitrate": 192,
            "mp3size": "6.18 MB"
        },
        "3": {
            "dloadUrl": "//download.tubemp3convert.com/@download/128-58e7c0e582ce2-4320000/mp3/CevxZvSJLk8/Katy%2BPerry%2B-%2BRoar%2B%2528Official%2529.mp3",
            "bitrate": 128,
            "mp3size": "4.12 MB"
        },
        "4": {
            "dloadUrl": "//download.tubemp3convert.com/@download/64-58e7c0e582ce2-2160000/mp3/CevxZvSJLk8/Katy%2BPerry%2B-%2BRoar%2B%2528Official%2529.mp3",
            "bitrate": 64,
            "mp3size": "2.06 MB"
        }
    }
}

Method 2 - Button/Iframe API


Set the "src" attribute of HTML iframe to:

https://download.tubemp3convert.com/@api/button/mp3/{YouTube-Video-ID}

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


The resulting iframe code should look like the following, e.g.:

<iframe id="myframe" src="https://download.tubemp3convert.com/@api/button/mp3/YFddthPQlnw" width="100%" height="100px" allowtransparency="true" scrolling="no" style="border:none"></iframe>

How our website api look like and working

Note: Dont forget to replace (YouTube-Video-ID) to your Video ID it can be random or static depends on your script or website. Video ID must contain a valid 11 digits/characters format like "NDHQJ6FgpwQ"




For any technical issue or API code & usage support please write to us [javascript protected email address]