Spotify
Spotify is a digital music and podcast streaming service with millions of tracks, personalized playlists, and social sharing features
This is a first-class FlyMyAI MCP. Agents discover it automatically via tool search and call the actions below on demand - you never wire it up by hand. See the Composio catalog for how discovery works.
Connect
Spotify connects with a single OAuth click - there is no token to paste. The first time an agent uses a Spotify action, FlyMyAI asks you to authorize your Spotify account. Approve it once and the connection is reused for every later run.
- Provider: Spotify
Actions
Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.
| Action | What it does | Required inputs |
|---|---|---|
SPOTIFY_ADD_ITEMS_TO_PLAYLIST | Add one or more items to a user's playlist. | playlist_id |
SPOTIFY_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. | uri |
SPOTIFY_ADD_TRACKS_TO_PLAYLIST | Add one or more items to a user's playlist. <<DEPRECATED use add_items_to_playlist>> | playlist_id |
SPOTIFY_CHANGE_PLAYLIST_DETAILS | Change a playlist's name and public/private state. (the user must, of course, own the playlist.) | playlist_id |
SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST | Check to see if one or more spotify users are following a specified playlist. | playlist_id, ids |
SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS | Check to see if the current user is following one or more artists or other spotify users. | type, ids |
SPOTIFY_CHECK_USER_S_SAVED_ALBUMS | Check if one or more albums is already saved in the current spotify user's 'your music' library. | ids |
SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKS | Check if one or more audiobooks are already saved in the current spotify user's library. | ids |
SPOTIFY_CHECK_USER_S_SAVED_EPISODES | This spotify api endpoint (in beta) checks if episodes are saved in a user's library. feedback and issues can be shared in the developer forum. | ids |
SPOTIFY_CHECK_USER_S_SAVED_SHOWS | Check if one or more shows is already saved in the current spotify user's library. | ids |
SPOTIFY_CHECK_USER_S_SAVED_TRACKS | Check if one or more tracks is already saved in the current spotify user's 'your music' library. | ids |
SPOTIFY_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. | user_id, name |
SPOTIFY_FOLLOW_ARTISTS_OR_USERS | Add the current user as a follower of one or more artists or other spotify users. | type, ids, ids |
SPOTIFY_FOLLOW_PLAYLIST | Add the current user as a follower of a playlist. | playlist_id |
SPOTIFY_GET_ALBUM | Get spotify catalog information for a single album. | id |
SPOTIFY_GET_ALBUM_TRACKS | Get spotify catalog information about an album’s tracks. optional parameters can be used to limit the number of tracks returned. | id |
SPOTIFY_GET_AN_ARTIST | Get spotify catalog information for a single artist identified by their unique spotify id. <<DEPRECATED use get_artist>> | id |
SPOTIFY_GET_AN_ARTISTS_ALBUMS | Get spotify catalog information about an artist's albums. <<DEPRECATED use get_artist_s_albums>> | id |
SPOTIFY_GET_AN_ARTISTS_TOP_TRACKS | Get spotify catalog information about an artist's top tracks by country. <<DEPRECATED use get_artist_s_top_tracks>> | id |
SPOTIFY_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. | id |
SPOTIFY_GET_ARTIST | Get spotify catalog information for a single artist identified by their unique spotify id. | id |
SPOTIFY_GET_ARTIST_S_ALBUMS | Get spotify catalog information about an artist's albums. | id |
SPOTIFY_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. | id |
SPOTIFY_GET_ARTIST_S_TOP_TRACKS | Get spotify catalog information about an artist's top tracks by country. | id |
SPOTIFY_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. | id |
SPOTIFY_GET_AVAILABLE_DEVICES | Get information about a user’s available spotify connect devices. some device models are not supported and will not be listed in the api response. | - |
SPOTIFY_GET_AVAILABLE_GENRE_SEEDS | Retrieve a list of available genres seed parameter values for [recommendations] (/documentation/web-api/reference/get-recommendations). | - |
SPOTIFY_GET_AVAILABLE_MARKETS | Get the list of markets where spotify is available. | - |
SPOTIFY_GET_A_CHAPTER | Get spotify catalog information for a single audiobook chapter. chapters are only available within the us, uk, canada, ireland, new zealand and australia markets. | id |
SPOTIFY_GET_A_LIST_OF_CURRENT_USERS_PLAYLISTS | Get a list of the playlists owned or followed by the current spotify user. <<DEPRECATED use get_current_user_s_playlists>> | - |
SPOTIFY_GET_A_SHOWS_EPISODES | Get spotify catalog information about an show’s episodes. optional parameters can be used to limit the number of episodes returned. <<DEPRECATED use get_show_episodes>> | id |
SPOTIFY_GET_A_USERS_AVAILABLE_DEVICES | Get information about a user’s available spotify connect devices. some device models are not supported and will not be listed in the api response. <<DEPRECATED use get_available_devices>> | - |
SPOTIFY_GET_CATEGORY_S_PLAYLISTS | Get a list of spotify playlists tagged with a particular category. | category_id |
SPOTIFY_GET_CURRENTLY_PLAYING_TRACK | Get the object currently being played on the user's spotify account. | - |
SPOTIFY_GET_CURRENT_USERS_PROFILE | Get detailed profile information about the current user (including the current user's username). <<DEPRECATED use get_current_user_s_profile>> | - |
SPOTIFY_GET_CURRENT_USER_S_PLAYLISTS | Get a list of the playlists owned or followed by the current spotify user. | - |
SPOTIFY_GET_CURRENT_USER_S_PROFILE | Get detailed profile information about the current user (including the current user's username). | - |
SPOTIFY_GET_EPISODE | Get spotify catalog information for a single episode identified by its unique spotify id. | id |
SPOTIFY_GET_FEATURED_PLAYLISTS | Get a list of spotify featured playlists (shown, for example, on a spotify player's 'browse' tab). | - |
SPOTIFY_GET_FOLLOWED_ARTISTS | Get the current user's followed artists. | type |
SPOTIFY_GET_INFORMATION_ABOUT_THE_USERS_CURRENT_PLAYBACK | Get information about the user’s current playback state, including track or episode, progress, and active device. <<DEPRECATED use get_playback_state>> | - |
SPOTIFY_GET_LIST_USERS_PLAYLISTS | Get a list of the playlists owned or followed by a spotify user. <<DEPRECATED use get_user_s_playlists>> | user_id |
SPOTIFY_GET_NEW_RELEASES | Get a list of new album releases featured in spotify (shown, for example, on a spotify player’s “browse” tab). | - |
SPOTIFY_GET_PLAYBACK_STATE | Get information about the user’s current playback state, including track or episode, progress, and active device. | - |
SPOTIFY_GET_PLAYLIST | Get a playlist owned by a spotify user. | playlist_id |
SPOTIFY_GET_PLAYLIST_COVER_IMAGE | Get the current image associated with a specific playlist. | playlist_id |
SPOTIFY_GET_PLAYLIST_ITEMS | Get full details of the items of a playlist owned by a spotify user. | playlist_id |
SPOTIFY_GET_QUEUE | Get the list of objects that make up the user's queue. <<DEPRECATED use get_the_user_s_queue>> | - |
SPOTIFY_GET_RECENTLY_PLAYED | Get tracks from the current user's recently played tracks. note: currently doesn't support podcast episodes. <<DEPRECATED use get_recently_played_tracks>> | - |
SPOTIFY_GET_RECENTLY_PLAYED_TRACKS | Get tracks from the current user's recently played tracks. note: currently doesn't support podcast episodes. | - |
SPOTIFY_GET_RECOMMENDATIONS | Recommendations are based on seed entity data, matched with similar artists and tracks. if data is ample, a track list and pool size are returned. for new or obscure artists and tracks, data may be insufficient for recommendations. | - |
SPOTIFY_GET_SEVERAL_ALBUMS | Get spotify catalog information for multiple albums identified by their spotify ids. | ids |
SPOTIFY_GET_SEVERAL_ARTISTS | Get spotify catalog information for several artists based on their spotify ids. | ids |
SPOTIFY_GET_SEVERAL_AUDIOBOOKS | Get spotify catalog information for several audiobooks identified by their spotify ids. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets. | ids |
SPOTIFY_GET_SEVERAL_BROWSE_CATEGORIES | Get a list of categories used to tag items in spotify (on, for example, the spotify player’s “browse” tab). | - |
SPOTIFY_GET_SEVERAL_CHAPTERS | Get spotify catalog information for several audiobook chapters identified by their spotify ids. chapters are only available within the us, uk, canada, ireland, new zealand and australia markets. | ids |
SPOTIFY_GET_SEVERAL_EPISODES | Get spotify catalog information for several episodes based on their spotify ids. | ids |
SPOTIFY_GET_SEVERAL_SHOWS | Get spotify catalog information for several shows based on their spotify ids. | ids |
SPOTIFY_GET_SEVERAL_TRACKS | Get spotify catalog information for multiple tracks based on their spotify ids. | ids |
SPOTIFY_GET_SEVERAL_TRACKS_AUDIO_FEATURES | Get audio features for multiple tracks based on their spotify ids. | ids |
SPOTIFY_GET_SHOW | Get spotify catalog information for a single show identified by its unique spotify id. | id |
SPOTIFY_GET_SHOW_EPISODES | Get spotify catalog information about an show’s episodes. optional parameters can be used to limit the number of episodes returned. | id |
SPOTIFY_GET_SINGLE_BROWSE_CATEGORY | Get a single category used to tag items in spotify (on, for example, the spotify player’s “browse” tab). | category_id |
SPOTIFY_GET_THE_USERS_CURRENTLY_PLAYING_TRACK | Get the object currently being played on the user's spotify account. <<DEPRECATED use get_currently_playing_track>> | - |
SPOTIFY_GET_THE_USER_S_QUEUE | Get the list of objects that make up the user's queue. | - |
SPOTIFY_GET_TRACK | Get spotify catalog information for a single track identified by its unique spotify id. | id |
SPOTIFY_GET_TRACK_S_AUDIO_ANALYSIS | Get a low-level audio analysis for a track in the spotify catalog. the audio analysis describes the track’s structure and musical content, including rhythm, pitch, and timbre. | id |
SPOTIFY_GET_TRACK_S_AUDIO_FEATURES | Get audio feature information for a single track identified by its unique spotify id. | id |
SPOTIFY_GET_USERS_PROFILE | Get public profile information about a spotify user. <<DEPRECATED use get_user_s_profile>> | user_id |
SPOTIFY_GET_USERS_SAVED_TRACKS | Get a list of the songs saved in the current spotify user's 'your music' library. <<DEPRECATED use get_user_s_saved_tracks>> | - |
SPOTIFY_GET_USERS_TOP_ARTISTS | Get the current user's top artists based on calculated affinity. <<DEPRECATED use get_user_s_top_artists>> | - |
SPOTIFY_GET_USERS_TOP_TRACKS | Get the current user's top tracks based on calculated affinity. <<DEPRECATED use get_user_s_top_tracks>> | - |
SPOTIFY_GET_USER_S_PLAYLISTS | Get a list of the playlists owned or followed by a spotify user. | user_id |
SPOTIFY_GET_USER_S_PROFILE | Get public profile information about a spotify user. | user_id |
SPOTIFY_GET_USER_S_SAVED_ALBUMS | Get a list of the albums saved in the current spotify user's 'your music' library. | - |
SPOTIFY_GET_USER_S_SAVED_AUDIOBOOKS | Get a list of the audiobooks saved in the current spotify user's 'your music' library. | - |
SPOTIFY_GET_USER_S_SAVED_EPISODES | This api endpoint, currently in beta, allows retrieving episodes saved in a spotify user's library. changes may occur without notice. feedback and issues can be shared in spotify's developer forum. | - |
SPOTIFY_GET_USER_S_SAVED_SHOWS | Get a list of shows saved in the current spotify user's library. optional parameters can be used to limit the number of shows returned. | - |
SPOTIFY_GET_USER_S_SAVED_TRACKS | Get a list of the songs saved in the current spotify user's 'your music' library. | - |
SPOTIFY_GET_USER_S_TOP_ARTISTS | Get the current user's top artists based on calculated affinity. | - |
SPOTIFY_GET_USER_S_TOP_TRACKS | Get the current user's top tracks based on calculated affinity. | - |
SPOTIFY_PAUSE_PLAYBACK | Pause playback on the user's account. 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. | - |
SPOTIFY_REMOVE_PLAYLIST_ITEMS | Remove one or more items from a user's playlist. | playlist_id, tracks |
SPOTIFY_REMOVE_USERS_SAVED_ALBUMS | Remove one or more albums from the current user's 'your music' library. | ids |
SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS | Remove one or more audiobooks from the spotify user's library. | ids |
SPOTIFY_REMOVE_USER_S_SAVED_EPISODES | This api endpoint, currently in beta, allows for the removal of episodes from a user's library and may change without notice. feedback and issues can be shared on the spotify developer forum. | ids |
SPOTIFY_REMOVE_USER_S_SAVED_SHOWS | Delete one or more shows from current spotify user's library. | ids |
SPOTIFY_REMOVE_USER_S_SAVED_TRACKS | Remove one or more tracks from the current user's 'your music' library. | ids |
SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USER | Save one or more albums to the current user's 'your music' library. | ids |
SPOTIFY_SAVE_ALBUMS_USER | Save one or more albums to the current user's 'your music' library. <<DEPRECATED use save_albums_for_current_user>> | ids |
SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USER | Save one or more audiobooks to the current spotify user's library. | ids |
SPOTIFY_SAVE_EPISODES_FOR_CURRENT_USER | This api endpoint, currently in beta, allows saving episodes to a user's library. users are encouraged to provide feedback or report issues in the spotify developer forum. | ids, ids |
SPOTIFY_SAVE_SHOWS_FOR_CURRENT_USER | Save one or more shows to current spotify user's library. | ids |
SPOTIFY_SAVE_TRACKS_FOR_CURRENT_USER | Save one or more tracks to the current user's 'your music' library. | ids, ids |
SPOTIFY_SEARCH | Get spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets. <<DEPRECATED use search_f… | q, type |
SPOTIFY_SEARCH_FOR_ITEM | Get spotify catalog information about albums, artists, playlists, tracks, shows, episodes or audiobooks that match a keyword string. audiobooks are only available within the us, uk, canada, ireland, new zealand and australia markets. | q, type |
SPOTIFY_SEEK_TO_POSITION | Seeks to the given position in the user’s currently playing track. 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. | position_ms |
SPOTIFY_SET_PLAYBACK_VOLUME | Set the volume for the user’s current playback device. 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. | volume_percent |
SPOTIFY_SET_REPEAT_MODE | Set the repeat mode for the user's playback. 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. | state |
SPOTIFY_SKIP_TO_NEXT | Skips to next track in the user’s 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. | - |
SPOTIFY_SKIP_TO_PREVIOUS | Skips to previous track in the user’s 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. | - |
SPOTIFY_SKIP_USERS_PLAYBACK_TO_NEXT_TRACK | Skips to next track in the user’s 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. <<DEPRECATED use skip_to_next>> | - |
SPOTIFY_START_A_USERS_PLAYBACK | Start a new context or resume current playback on the user's active device. 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. <<DEPRECATED use start_resume_p… | - |
SPOTIFY_START_RESUME_PLAYBACK | Start a new context or resume current playback on the user's active device. 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. | - |
SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE | Toggle shuffle on or off for user’s playback. 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. | state |
SPOTIFY_TRANSFER_PLAYBACK | Transfer playback to a new device and optionally begin playback. 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. | device_ids |
SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS | Remove the current user as a follower of one or more artists or other spotify users. | type, ids |
SPOTIFY_UNFOLLOW_PLAYLIST | Remove the current user as a follower of a playlist. | playlist_id |
SPOTIFY_UPDATE_PLAYLIST_ITEMS | To modify a playlist, use rearrange (with 'range start', 'insert before', 'range length', 'snapshot id') or replace items ('uris' in body/query). replace overwrites items. operations can't combine in one request; they are exclusive but share an endpoint. | playlist_id |
Links
We love our partners - FlyMy.AI builds with the best. Thanks, Spotify!