Playlist management operations
Get playlist by ID
Retrieves a playlist by its unique identifier. Public playlists can be accessed by anyone, private playlists only by their owners.
path Parameters
idPlaylist unique identifier
Get playlist by ID āŗ Responses
Playlist retrieved successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Update playlist
Updates playlist metadata (title, cover, visibility). Only the playlist owner can update it.
path Parameters
idPlaylist unique identifier
Update playlist āŗ Request Body
titlecoverUrlisPublicUpdate playlist āŗ Responses
Playlist updated successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Create a new playlist
Creates a new playlist for the authenticated user. The playlist starts empty and songs can be added later.
Create a new playlist āŗ Request Body
titlecoverUrlisPublicCreate a new playlist āŗ Responses
Playlist created successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Add song to playlist
Adds a song to the end of a playlist. Songs can be added multiple times to the same playlist. Only the playlist owner can add songs.
path Parameters
idPlaylist unique identifier
Add song to playlist āŗ Responses
Song added successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Move a single song to a new position
Moves a specific song entry to a new position in the playlist. This is more efficient than reordering the entire playlist when you only need to move one song.
path Parameters
idPlaylist unique identifier
playlistSongIdPlaylistSong entry unique identifier
Move a single song to a new position āŗ Request Body
newPositionThe new position for the song (1-based)
Move a single song to a new position āŗ Responses
Song moved successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Reorder songs in playlist
Reorders songs in a playlist by providing the new order of PlaylistSong IDs. This allows precise control over song positioning, including handling repeated songs.
path Parameters
idPlaylist unique identifier
Reorder songs in playlist āŗ Responses
Songs reordered successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Get playlists by user
Retrieves all playlists created by a specific user. Only returns public playlists unless the user is requesting their own playlists.
path Parameters
userIdUser unique identifier
Get playlists by user āŗ Responses
Playlists retrieved successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Remove song from playlist
Removes a specific song entry from a playlist using its unique PlaylistSong ID. This allows removing specific instances when the same song appears multiple times.
path Parameters
idPlaylist unique identifier
playlistSongIdPlaylistSong entry unique identifier
Remove song from playlist āŗ Responses
Song removed successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
List of songs in the playlist
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Advanced search for public playlists
Performs an advanced search using Levenshtein distance algorithm on public playlists only. Excludes deleted and blocked playlists. Results are ranked by relevance.
query Parameters
querypagesizeAdvanced search for public playlists āŗ Responses
Search results retrieved successfully
idUnique identifier of the playlist
titleTitle of the playlist
coverUrlCover URL of the playlist
userIdUnique identifier of the playlist owner
usernameUsername of the playlist owner
isPublicIndicates if the playlist is public
songCountTotal number of songs in the playlist
createdAtTimestamp when the playlist was created
updatedAtTimestamp when the playlist was last updated
relevanceScoreRelevance score for search results (null if not from search)
levenshteinDistanceLevenshtein distance for search results (null if not from search)
isSavedIndicates whether the current user has saved/bookmarked this collection
Get public playlists by mood
Retrieves public playlists that contain at least one song with the specified mood. Only non-deleted and non-blocked playlists are returned. Results are ordered by last update date (most recent first). Supports pagination.
query Parameters
moodMood to filter playlists by
pagePage number (0-indexed)
sizePage size
Get public playlists by mood āŗ Responses
Playlists retrieved successfully
totalElementstotalPagesnumberOfElementssizenumberfirstlastemptyGet public playlists by genre
Retrieves public playlists that contain at least one song with the specified genre. Only non-deleted and non-blocked playlists are returned. Results are ordered by last update date (most recent first). Supports pagination.
query Parameters
genreGenre to filter playlists by
pagePage number (0-indexed)
sizePage size
Get public playlists by genre āŗ Responses
Playlists retrieved successfully
totalElementstotalPagesnumberOfElementssizenumberfirstlastemptyGet playlist overview with period comparison
Returns comprehensive metrics overview for a specific playlist with all-time totals and period comparison. Requires start_date and end_date.
path Parameters
playlistIdPlaylist ID
query Parameters
startDateStart date (YYYY-MM-DD)
endDateEnd date (YYYY-MM-DD)
regionRegion to filter (optional)
User Region
Get playlist overview with period comparison āŗ Responses
Playlist overview metrics found
playlistIdPlaylist ID
titlePlaylist title
curatorCurator/Username
totalPlaysAll-time total plays (filtered by region if specified)
totalSavesAll-time total saves (filtered by region if specified)
Metric value with period comparison
Metric value with period comparison
Date range comparison with current and previous periods
regionThe region filter applied (null if not specified)