Spotify is a music streaming platform. Search the catalogue for tracks with a fuzzy match score that survives typos and hand-typed tracklists, create playlists, and add, replace or list their items.

Changelog

1 version
v1.0.0 Latest
  • Initial release.

Authentication

TypeDetails
OAuth 2
Scopes:
playlist-read-private playlist-modify-private playlist-modify-public user-library-modify

Actions

8
Add Items To Playlist icon

Add Items To Playlist

Adds tracks to a Spotify playlist, in chunks of 100 so a whole tracklist fits in one message. Accepts an array from Find Tracks or a comma / newline separated list of URIs, IDs or links.
Create Playlist icon

Create Playlist

Creates a new playlist for the connected Spotify account. The playlist is private unless you make it public.
Delete Playlist icon

Delete Playlist

Removes a playlist from the connected account's library. Spotify has no hard delete for playlists - this is what the Spotify clients themselves call "Delete".
Find Tracks icon

Find Tracks

Search the Spotify catalogue for tracks and score how well each result matches the requested artist and title. Built for hand-typed tracklists: typos, "ft"/"+" collaborators and "/four tet rmx" version suffixes still match. Results below the minimum score leave through the Not Found port.
List Playlist Items icon

List Playlist Items

Lists the tracks of a Spotify playlist, following Spotify's pagination to the end. Each record carries the track plus the entry's own metadata (when and by whom it was added).
List Playlists icon

List Playlists

Lists the playlists of the connected Spotify account, following Spotify's pagination to the end. Also backs the Playlist dropdown on the other components.
Make API Call icon

Make API Call

Perform an arbitrary authorized API call to the Spotify Web API. Provide a path (or full URL), method, headers, query parameters and body. The Authorization header is added automatically.
Replace Playlist Items icon

Replace Playlist Items

Replaces the entire contents of a Spotify playlist with the given tracks - the way to keep a rolling "latest show" playlist. Leave the URIs empty to clear the playlist.