Spotify

FREE
By stefan.skliarov
Updated 9 months ago
Music
0.5/10
Popularity Score
58644ms
Latency
-
Success Rate

Spotify API Documentation

Web API lets your applications fetch data from the Spotify music catalog and manage user’s playlists and saved music.

View API Details
POSTaddTracksToPlaylist
POSTcheckFollowingArtists
POSTcheckSavedAlbums
POSTcheckSavedTracks
POSTcheckUserFollowingPlaylist
POSTcreatePlaylist
POSTdeleteSavedAlbums
POSTfollowArtists
POSTfollowPlaylist
POSTfollowUsers
POSTgetAlbums
POSTgetArtists
POSTgetAvailableDevices
POSTgetCurrentPlayback
POSTgetCurrentlyPlaying
POSTgetFollowedArtists
POSTgetMyPlaylists
POSTgetMyProfile
POSTgetMyTopArtists
POSTgetMyTopTracks
POSTgetRecentlyPlayedTracks
POSTgetRecomendationPlaylist
POSTgetSavedAlbums
POSTgetSavedTracks
POSTgetSingleAlbum
POSTgetSingleAlbumTracks
POSTgetSingleArtist
POSTgetSingleArtistAlbums
POSTgetSingleArtistRelatedArtists
POSTgetSingleArtistTopTracks
POSTgetSingleCategory
POSTgetSingleCategoryPlaylists
POSTgetSingleTrack
POSTgetSingleTrackAudioAnalysis
POSTgetSingleTrackAudioFeatures
POSTgetTracks
POSTgetTracksAudioFeatures
POSTgetUserPlaylists
POSTgetUserProfile
POSTgetUserSinglePlaylist
POSTgetUserSinglePlaylistTracks
POSTlistCategories
POSTlistFeaturedPlaylists
POSTlistNewReleases
POSTpausePlayback
POSTpreviousPlayback
POSTremoveSavedTracks
POSTremoveTracksFromPlaylist
POSTreorderPlaylistTracks
POSTrepeatPlayback
POSTreplaceTracksInPlaylist
POSTsaveAlbums
POSTsaveTracks
POSTsearch
POSTseekPosition
POSTsetVolume
POSTshufflePlayback
POSTskipPlayback
POSTstartPlayback
POSTtransferPlayback
POSTunfollowArtists
POSTunfollowPlaylist
POSTunfollowUsers
POSTupdatePlaylist
POSTreorderPlaylistTracks

Reorder a track or a group of tracks in a playlist.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
userIdSTRING
REQUIREDThe user's Spotify user ID.
rangeStartNUMBER
REQUIREDThe position of the first track to be reordered.
insertBeforeNUMBER
REQUIREDThe position where the tracks should be inserted.
playlistIdSTRING
REQUIREDId of the playlist
accessTokenSTRING
REQUIREDaccessToken from user
Optional Parameters
snapshotIdSTRING
OPTIONALThe playlist's snapshot ID against which you want to make the changes.
rangeLengthNUMBER
OPTIONALThe amount of tracks to be reordered. Defaults to 1 if not set.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication