App Logo
open.spotify.com

Remove tracks from a Spotify playlist

Automatically remove tracks from a Spotify playlist on open.spotify.com. 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.

Input

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: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the open.spotify.com cookies saved by the Reduck extension.
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 part of Reduck's official curated catalogue.

Start building not clicking