YouTube Downloader With MP3

FREE
By lifehacker-rayhan
Updated 4 months ago
8.8/10
Popularity Score
59481ms
Latency
-
Success Rate

YouTube Downloader With MP3 API Documentation

This a simple YouTube Downloader API. We provide YouTube video's Audio and Video Download link, size, itag and so on.

Our generated Download Links are proxified and 100% working.

Our proxy is provided by GenYouTube & YouTubeMp3API

You are most wellcome to use our API…

View API Details
GET/json
GET/mp3
GET/json

Use this endpoint to generate YouTube Video Download link. You may want to be using caching because download links get updated after each hour of download link generation .

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
idSTRING
REQUIREDThe YouTube Video ID...
Code Snippet
unirest.get("https://ytapi.p.rapidapi.com/json?id=kELQmfcnKqQ")
.header("X-RapidAPI-Host", "ytapi.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://ytapi.p.rapidapi.com/json
Request Method: GET
Response Headers
Response Body

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://ytapi.p.rapidapi.com/json?id=kELQmfcnKqQ")
.header("X-RapidAPI-Host", "ytapi.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