RapidAPI logo

Get Video and Audio URL

FREEMIUM
By Top-Rated
Updated 4 months ago
Data
9.7/10
Popularity Score
3694ms
Latency
100%
Success Rate

Get Video and Audio URL API Documentation

Get direct links to download video or audio files from almost any hosting website, like Youtube, Twitch, SoundCloud, etc with download api.

View API Details
GET/
GET/supported-sites/
GET/

Extract links to video/audio for direct download, and get thumbnail, info about uploader, likes, etc.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDURL of video/audio page
Code Snippet
unirest.get("https://getvideo.p.rapidapi.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnfWlot6h_JM")
.header("X-RapidAPI-Host", "getvideo.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://getvideo.p.rapidapi.com/
Request Method: GET
Response Headers
Response Body
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://getvideo.p.rapidapi.com/?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnfWlot6h_JM")
.header("X-RapidAPI-Host", "getvideo.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