App Logo
open.spotify.com

Remove tracks from a Spotify playlist

TL;DR

Automatically remove tracks from a Spotify playlist on open.spotify.com. Remove tracks from a Spotify playlist that your account can edit.

About

It removes every copy of each track you give. Tracks that are not in the playlist are listed and left alone: if none is in it, nothing changes. It returns the number of tracks before and after. To undo it, use the add_tracks_to_playlist script. It needs a browser signed in to Spotify.

Inputs

tracks required

Tracks to remove, each an id, a spotify:track: uri or an open.spotify.com/track/ link.

playlist required

Playlist id, spotify:playlist: uri or open.spotify.com/playlist/ link. The signed-in account must be able to edit it.

Output

removed required

How many playlist entries were removed, read back from Spotify after the removal.

not_found required

Requested track uris that were not in the playlist.

playlist_id required
track_count_after required
track_count_before required
playlist_name optional

FAQ

Remove tracks from a playlist the signed-in Spotify account can edit. Every occurrence of each given track is removed. A track that is not in the playlist is reported in not_found and left alone; if none of them is in it, nothing is changed. Returns the playlist's track count before and after. The inverse of add_tracks_to_playlist.
Ask an AI agent connected to Reduck to run reduck/open.spotify.com/remove_tracks_from_playlist, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/open.spotify.com/remove_tracks_from_playlist
You do not need one. "Remove tracks from a Spotify playlist" drives the real open.spotify.com pages in a browser, so it works whether or not open.spotify.com offers an API for this.
Required: playlist, tracks.
It returns removed, not_found, playlist_id, playlist_name, track_count_after, track_count_before.
Yes. It acts as you on open.spotify.com: in your browser it reuses your session, and on a cloud browser it loads your Auth session cookies for open.spotify.com.
It makes changes on open.spotify.com, like sending, posting, booking or buying something.
Ask an AI agent connected to Reduck to run reduck/open.spotify.com/remove_tracks_from_playlist, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/open.spotify.com/remove_tracks_from_playlist
It is one of Reduck's official scripts.

Start building not clicking