App Logo
open.spotify.com

Add tracks to a Spotify playlist

Automatically add tracks to a Spotify playlist on open.spotify.com. Add one or more tracks to the end of a playlist the signed-in Spotify account can edit, in the order given. Spotify accepts duplicates, so a track already in the playlist is added again. Returns the playlist's track count before and after, so the addition can be checked. Use remove_tracks_from_playlist to undo it.

Input

tracks required

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

playlist required

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

Output

added required

How many tracks the playlist gained, read back from Spotify after the addition.

requested required
playlist_id required
playlist_name required
track_count_after required
track_count_before required
track_uris optional

The tracks sent, as uris, in order.

playlist_url optional

FAQ

Add one or more tracks to the end of a playlist the signed-in Spotify account can edit, in the order given. Spotify accepts duplicates, so a track already in the playlist is added again. Returns the playlist's track count before and after, so the addition can be checked. Use remove_tracks_from_playlist to undo it.
Ask an AI agent connected to Reduck to run reduck/open.spotify.com/add_tracks_to_playlist, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/open.spotify.com/add_tracks_to_playlist
You do not need one. "Add tracks to 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 added, requested, track_uris, playlist_id, playlist_url, 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/add_tracks_to_playlist, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/open.spotify.com/add_tracks_to_playlist
It is part of Reduck's official curated catalogue.

Start building not clicking