Operator
← All integrations
Spotify logo

Connect Spotify to OpenClaw on Operator.io

Spotify is a streaming service for music and podcasts with millions of tracks from artists worldwide. Enjoy personalized playlists, recommendations, and seamless listening across all your devices.

Automate Spotify with AI

Operator puts an OpenClaw agent in front of Spotify. You describe the job from Telegram or Discord and it handles the rest inside Spotify, picking the right calls from the 84 Spotify actions and checking its own work as it goes.

Your agent reaches Spotify directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh for you, so there is nothing to wire up and no API keys to paste.

What your agent can do with Spotify

Your agent can call any of these Spotify actions by name as part of a larger task. Ask for the outcome you want and it picks the right ones.

Add items to playlist

Add one or more items to a user's playlist.

Add item to playback queue

Add an item to the end of the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required scope: user-mod...

Change playlist details

Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name,...

Check if user follows artists or users

Check to see if the current user is following one or more artists or other Spotify users.

Check if users follow playlist

Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Impor...

Check user s saved albums

Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.

Check user s saved audiobooks

Check if one or more audiobooks are already saved in the current Spotify user's library. Returns an array of boolean values indicating whether each audiobook (by ID) is saved in the user's library. Requires user-library-read scope.

Check User's Saved Episodes

Check if one or more podcast episodes are saved in the current Spotify user's 'Your Episodes' library. Returns an array of boolean values corresponding to each episode ID provided. **Required OAuth Scope:** user-library-read **Note:** Th...

Check user's saved shows

Check if one or more shows is already saved in the current Spotify user's library. This endpoint checks whether the specified shows are saved in the authenticated user's library. It returns a list of boolean values, one for each show ID...

Check User's Saved Tracks

Check if one or more tracks is already saved in the current Spotify user's 'Your Music' library. Returns an array of boolean values indicating whether each track is saved (true) or not (false), in the same order as the requested IDs.

Create playlist

Create a playlist for a Spotify user. (The playlist will be empty until you [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each user is generally limited to a maximum of 11000 playlists.

Follow artists or users

Follow one or more artists or Spotify users on behalf of the current authenticated user. This action adds the specified artists or users to the current user's "Following" list, making their content appear in the user's personalized feed....

Follow playlist

Add the current user as a follower of a playlist. This action adds the current user as a follower of a specified playlist. The 'public' parameter controls whether the playlist will appear in the user's public profile (visible to others)...

Get a chapter

Get Spotify catalog information for a single audiobook chapter including name, description, duration, release date, narrators, and playback information. Audiobook chapters are only available within the US, UK, Canada, Ireland, New Zealan...

Get Album Details

Get Spotify catalog information for a single album. Returns comprehensive album data including metadata, track listing, artist information, cover artwork, popularity score, and availability by market. Use this to fetch details about any...

Get album tracks

Get Spotify catalog information about an album's tracks. Optional parameters can be used to limit the number of tracks returned.

Get an audiobook

Get Spotify catalog information for a single audiobook. Audiobooks are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.

Get artist

Get detailed Spotify catalog information for a single artist. Returns comprehensive artist data including the artist's name, genres, follower count, profile images, popularity score (0-100), and links to their Spotify profile. Use this a...

Get artist s albums

Get Spotify catalog information about an artist's albums.

Get artist s related artists

Get Spotify catalog information about artists similar to a given artist. Similarity is based on analysis of the Spotify community's listening history.

Get Artist's Top Tracks

Get Spotify catalog information about an artist's top tracks by country/market. Returns up to 10 of the artist's most popular tracks in the specified market. Each track includes detailed metadata such as album information, duration, popu...

Get audiobook chapters

Get Spotify catalog information about an audiobook's chapters. Audiobooks are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.

Get Available Devices

Get information about the user's available Spotify Connect devices. Returns a list of devices that can be used for playback, including their names, types (computer, smartphone, speaker), active status, volume levels, and whether they sup...

Get available markets

Get the list of markets where Spotify is available. Returns an array of ISO 3166-1 alpha-2 country codes.

Get currently playing track

Get the object currently being played on the user's Spotify account.

Get current user s playlists

Get a list of the playlists owned or followed by the current Spotify user. Returns a paginated list of playlists (both public and private) that the current user owns or follows. Each playlist includes basic metadata such as name, descrip...

Get current user s profile

Get detailed profile information about the current authenticated user. This endpoint returns comprehensive user profile data including display name, email address, country, subscription level (premium/free), explicit content settings, pr...

Get episode

Get Spotify catalog information for a single podcast episode identified by its unique Spotify ID. This endpoint retrieves detailed information about a podcast episode including its name, description, duration, release date, cover art, sh...

Get featured playlists

Get a list of Spotify's editorially curated featured playlists. These are the playlists shown on a Spotify player's 'Browse' tab and are updated regularly by Spotify's editorial team. The response includes a localized message and a pagin...

Get followed artists

Get all artists followed by the current user. Returns a cursor-paginated list of artist objects with full details including name, genres, popularity, images, and follower counts. Use the 'after' parameter to navigate through pages of res...

Get new releases

Get a list of new album releases featured in Spotify (shown, for example, on a Spotify player's "Browse" tab).

Get playback state

Get information about the user's current playback state, including track or episode, progress, and active device. Returns detailed playback information when content is actively playing, including the current track/episode, playback progr...

Get playlist

Get a playlist owned by a Spotify user. This endpoint retrieves detailed information about a specific Spotify playlist, including its metadata (name, description, public/collaborative status), owner information, cover images, and the tra...

Get playlist cover image

Get the current image(s) associated with a specific playlist. Returns an array of image objects containing the URL, height, and width of each cover image. The array may be empty if the playlist has no cover image, or contain up to three...

Get playlist items

Get full details of the items of a playlist owned by a Spotify user. This endpoint retrieves the tracks and/or episodes in a playlist. It supports pagination and allows filtering the response fields for optimization.

Get recently played tracks

Get tracks from the current user's recently played tracks. _**Note**: Currently doesn't support podcast episodes._

Get recommendations

Get track recommendations based on seed artists, genres, and/or tracks. At least one seed is required (up to 5 total). Optionally tune recommendations with audio feature parameters (acousticness, danceability, energy, etc.). IMPORTANT: T...

Get several albums

Get Spotify catalog information for multiple albums identified by their Spotify IDs. Returns detailed album data including name, artists, tracks, release date, images, and more. Maximum 20 album IDs per request.

Get several artists

Get Spotify catalog information for several artists based on their Spotify IDs.

Get several audiobooks

Retrieve Spotify catalog information for multiple audiobooks in a single request. This action fetches detailed metadata for up to 50 audiobooks at once using their Spotify IDs. Each audiobook object includes: - Title, description, and ed...

Get several browse categories

Get a list of categories used to tag items in Spotify (on, for example, the Spotify player's "Browse" tab).

Get several chapters

Get Spotify catalog information for several audiobook chapters identified by their Spotify IDs. This endpoint allows you to fetch detailed information about up to 50 chapters at once, including chapter metadata, duration, descriptions, i...

Get several episodes

Get Spotify catalog information for several episodes based on their Spotify IDs.

Get several shows

Get Spotify catalog information for several shows (podcasts) based on their Spotify IDs. This endpoint allows you to retrieve detailed information about multiple shows in a single request, with a maximum of 50 show IDs per request.

Get several tracks

Get Spotify catalog information for multiple tracks based on their Spotify IDs.

Get show

Get Spotify catalog information for a single show (podcast) identified by its unique Spotify ID.

Get show episodes

Get Spotify catalog information about a show's episodes. Optional parameters can be used to limit the number of episodes returned. This endpoint retrieves a paginated list of episodes for a specific podcast/show.

Get single browse category

Get a single category used to tag items in Spotify (on, for example, the Spotify player's "Browse" tab). Returns detailed information about the category including its name, icons, and unique identifier.

Plus 36 more Spotify actions your agent can call.

How to connect Spotify

You authorize Spotify once from your dashboard. Operator holds the connection and refreshes the access tokens on its own, so your agent keeps working with Spotify without you signing in again. The same setup unlocks every other app your agent can reach, so you only do it once.

When you are ready, the get started guide walks through standing up your OpenClaw agent.

Common questions about Spotify

How do I connect Spotify to Operator?
Connecting Spotify is a one time sign in from your Operator dashboard. Operator keeps the connection live and rotates the token on its own, so the agent stays connected to Spotify and you never reauthorize by hand.
What can my agent do with Spotify?
Your agent can run 84 Spotify actions on its own, including add items to playlist, add item to playback queue, change playlist details. You describe the outcome you want in plain language and it picks the right ones, checking its work as it goes.
Do I need to write code or manage Spotify API keys?
No. Operator manages the Spotify connection and token refresh, so there are no API keys to paste and nothing to deploy.
Can my agent use Spotify together with my other apps?
Yes. The same agent reaches every app you connect, so it can move between Spotify and tools like Youtube, Elevenlabs, Amara in one job, reading from one and acting in another without you wiring anything between them.

Connect Spotify to another app

Your agent can run Spotify together with any of these. Each page shows what it does across both apps in one job.

More apps to automate

Apps your agent runs alongside Spotify, or browse all integrations.

Put your agent on Spotify

Sign in, connect Spotify, and hand your agent the work. Your first week is free.

Try for free