RapidAPI logo

Billboard-API

FREEMIUM
By LDVIN
Updated a month ago
Music
5/10
Popularity Score
1142ms
Latency
67%
Success Rate

Billboard-API API Documentation

Providing the Billboard chart rankings and information on titles, artists, lyrics, images, and more.

View API Details
CHARTS
GETHOT 100
GETARTIST 100
GETBILLBOARD 200
GETHOT 100

Provide the HOT 100 chart information

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
dateDATE (YYYY-MM-DD)
REQUIREDformat(YYYY-MM-DD)
rangeSTRING
REQUIREDmax range(1-100)
Code Snippet
unirest.get("https://billboard-api2.p.rapidapi.com/hot-100?date=2019-05-11&range=1-10")
.header("X-RapidAPI-Host", "billboard-api2.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://billboard-api2.p.rapidapi.com/hot-100
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://billboard-api2.p.rapidapi.com/hot-100?date=2019-05-11&range=1-10")
.header("X-RapidAPI-Host", "billboard-api2.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