Spotify API Routes
GET/api/platforms/spotify/profileGet user profile information
GET/api/platforms/spotify/top/tracksGet user's top tracks. Optional query param 'term' (short_term, medium_term, long_term)
GET/api/platforms/spotify/top/artistsGet user's top artists. Optional query param 'term' (short_term, medium_term, long_term)
GET/api/platforms/spotify/top/albumsGet user's top albums (derived from top tracks). Optional query param 'term' (short_term, medium_term, long_term)
GET/api/platforms/spotify/me/albumsGet all albums
GET/api/platforms/spotify/me/albums/:idGet single album
GET/api/platforms/spotify/me/tracksGet all tracks
GET/api/platforms/spotify/playlistsGet all playlists
GET/api/platforms/spotify/playlists/liked-playlistsGet all liked playlists
POST/api/platforms/spotify/playlistsCreate a new playlist
GET/api/platforms/spotify/playlists/:idGet single playlist
POST/api/platforms/spotify/playlists/:id/tracksAdd tracks to a playlist
DELETE/api/platforms/spotify/playlists/:id/tracksRemove tracks from a playlist
GET/api/platforms/spotify/searchSearch for tracks
GET/api/platforms/spotify/top/genresGet top artists for genres
Spotify Static Routes
GET/api/platforms/spotify/artists/:id/albumsGet artist albums
GET/api/platforms/spotify/artists/:id/related-artistsGet artist related artists
GET/api/platforms/spotify/artists/:id/top-tracksGet artist top tracks
GET/api/platforms/spotify/artists/:idGet artist
GET/api/platforms/spotify/audio-analysis/:idGet audio analysis
GET/api/platforms/spotify/audio-features/:idGet audio features
GET/api/platforms/spotify/audio-featuresGet audio features batch
GET/api/platforms/spotify/recommendationsGet recommendations
GET/api/platforms/spotify/recommendations/available-genre-seedsGet available genre seeds
GET/api/platforms/spotify/tracks/:idGet track by id
GET/api/platforms/spotify/me/tracksGet user's saved tracks
PUT/api/platforms/spotify/me/tracksSave tracks to user's library
DELETE/api/platforms/spotify/me/tracksRemove tracks from user's library
GET/api/platforms/spotify/me/tracks/containsCheck if tracks are saved to user's library
GET/api/platforms/spotify/me/albums/containsCheck if albums are saved to user's library
PUT/api/platforms/spotify/me/albumsSave albums to user's library
DELETE/api/platforms/spotify/me/albumsRemove albums from user's library
GET/api/platforms/spotify/albums/:id/tracksGet album tracks
GET/api/platforms/spotify/albums/:idGet album