instatunes

FREE
By ijameelkhan
Updated 4 months ago
Entertainment
7.3/10
Popularity Score
30ms
Latency
-
Success Rate

instatunes API Documentation

Love music ? This API will search for tracks/ songs in mp3 formate and gets direct download/stream links to you. You can then either stream the track directly or download it. it can search for all indian , english and other local music. download wont cost you anything!!!

View API Details
POSTsearch
POSTsearch

searches for mp3 files around the world

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
TermJSON_STRING
REQUIREDthis is the search term
Code Snippet
unirest.post("https://instatunes.p.rapidapi.com/search")
.header("X-RapidAPI-Host", "instatunes.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"title":"Breaking Benjamin"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://instatunes.p.rapidapi.com/search
Request Method: POST
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.post("https://instatunes.p.rapidapi.com/search")
.header("X-RapidAPI-Host", "instatunes.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"title":"Breaking Benjamin"})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication