RapidAPI logo

rdio

FREE
By community
Updated 4 months ago
Media
-/10
Popularity Score
-
Latency
-
Success Rate

rdio API Documentation

Rdio has millions of songs, from massive hits to rare gems to cult classics, with more added every week. It’s more music than you could listen to in a lifetime.

View API Details
Playback
POSTgetPlaybackToken
Social Network
POSTfindUser
POSTaddFriend
POSTuserFollowers
POSTuserFollowing
Playlists
POSTgetPlaylists
POSTgetUserPlaylists
Activity and Statistics
POSTgetActivityStream
POSTgetHeavyRotation
POSTgetNewReleases
POSTgetTopCharts
Catalog
POSTgetAlbumsForArtist
POSTgetAlbumsByUPC
POSTgetArtistsForLabel
POSTgetAlbumsForLabel
POSTgetTracksByISRC
POSTgetTracksForArtist
POSTsearch
POSTsearchSuggestions
Collection
POSTaddToCollection
POSTgetAlbumsForArtistInCollection
GETgetAlbumsInCollection
POSTgetArtistsInCollection
POSTgetTracksForAlbumInCollection
POSTgetTracksForArtistInCollection
POSTgetTracksInCollection
POSTremoveFromCollection
Core
POSTget
POSTgetObjectFromShortCode
POSTgetObjectFromUrl
POSTgetPlaybackToken

Get an playback token. If you are using this for web playback you must supply a domain.

Authorization:

OAuth 1.0 based authentication

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthorizationOAUTH1
REQUIREDOAuth 1.0 based authentication
Optional Parameters
domainSTRING
OPTIONALthe domain that the playback SWF will be embedded in
Code Snippet
unirest.post("https://mashape-community-rdio.p.rapidapi.com/getPlaybackToken")
.header("X-RapidAPI-Host", "mashape-community-rdio.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://mashape-community-rdio.p.rapidapi.com/getPlaybackToken
Request Method: POST
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.post("https://mashape-community-rdio.p.rapidapi.com/getPlaybackToken")
.header("X-RapidAPI-Host", "mashape-community-rdio.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Authorization", "")
.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