RapidAPI logo

Sign Up

Log In

youtubeTOmp3

FREE
By kashyap32
Updated 3 months ago
Other
-/10
Popularity Score
-
Latency
-
Success Rate

youtubeTOmp3 API Documentation

Convert Any video into Mp3 using youtubeinmp3.

Search the song convert first video into MP3

View API Details
GET/{song-name}
GET/{song-name}
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
song-nameSTRING
REQUIRED
Request Snippet
unirest.get("https://kashyap32-youtubetomp3-v1.p.rapidapi.com/{song-name}")
.header("X-RapidAPI-Host", "kashyap32-youtubetomp3-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://kashyap32-youtubetomp3-v1.p.rapidapi.com/{song-name}")
.header("X-RapidAPI-Host", "kashyap32-youtubetomp3-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication