RapidAPI logo

Sign Up

Log In

Audiosocket

FREEMIUM
By audiosocket
Updated 3 months ago
-/10
Popularity Score
-
Latency
-
Success Rate

Audiosocket API Documentation

Audiosocket's MaaS (Music as a Service) application allows application and game developers to incorporate amazing music into their experiences without the hassle of a formal licensing agreement.

View API Details
GETPing
GETTracks
GET/tracks/{id}.{format}
GET
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Request Snippet
unirest.("https://audiosocket.p.rapidapi.com")
.header("X-RapidAPI-Host", "audiosocket.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.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.("https://audiosocket.p.rapidapi.com")
.header("X-RapidAPI-Host", "audiosocket.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication