RapidAPI logo

Sign Up

Log In

Youtube To Mp3 Download

FREE
By CoolGuruji
Updated 3 months ago
Tools
9.2/10
Popularity Score
408ms
Latency
100%
Success Rate

Youtube To Mp3 Download API Documentation

Convert & Download single video or multiple Youtube videos in Mp3 format using our youtube to mp3 API. Multiple Embedding features are supported like html link, javascript, iframe. Its free also provide affiliate programs.

View API Details
GETFor Downloading Single Videos as MP3
GETFor Downloading Multiple Videos as MP3
GETFor Downloading Single Videos as MP3

Enter the youtube video id that you want to download as mp3.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
video_idSTRING
REQUIREDIts for single video just enter its id like lF-jPBnZ098
Request Snippet
unirest.get("https://coolguruji-youtube-to-mp3-download-v1.p.rapidapi.com/?id=lF-jPBnZ098")
.header("X-RapidAPI-Host", "coolguruji-youtube-to-mp3-download-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://coolguruji-youtube-to-mp3-download-v1.p.rapidapi.com/?id=lF-jPBnZ098")
.header("X-RapidAPI-Host", "coolguruji-youtube-to-mp3-download-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