YTGrabber

FREE
By kaysush
Updated 5 months ago
Entertainment
8.8/10
Popularity Score
2130ms
Latency
100%
Success Rate

YTGrabber API Documentation

A YouTube video download API which gives you the download links of video in all possible formats even the HD ones

View API Details
GET/app/get
GET/app/get

Download the video using vid

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
vidSTRING
REQUIREDYouTube Video ID
Code Snippet
unirest.get("https://ytgrabber.p.rapidapi.com/app/get/YfcYPyxXVCo")
.header("X-RapidAPI-Host", "ytgrabber.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://ytgrabber.p.rapidapi.com/app/get/{vid}
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://ytgrabber.p.rapidapi.com/app/get/YfcYPyxXVCo")
.header("X-RapidAPI-Host", "ytgrabber.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