Skip to main content
Spotify logo

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.

Actions

Every action this integration exposes. Agents pick the right one from the task; you do not call them by name.

ActionWhat it doesRequired inputs
SPOTIFY_ADD_ITEMS_TO_PLAYLISTAdd one or more items to a user's playlist.playlist_id
SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUEAdd 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_PLAYLISTAdd one or more items to a user's playlist. <<DEPRECATED use add_items_to_playlist>>playlist_id
SPOTIFY_CHANGE_PLAYLIST_DETAILSChange a playlist's name and public/private state. (the user must, of course, own the playlist.)playlist_id
SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLISTCheck to see if one or more spotify users are following a specified playlist.playlist_id, ids
SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERSCheck to see if the current user is following one or more artists or other spotify users.type, ids
SPOTIFY_CHECK_USER_S_SAVED_ALBUMSCheck if one or more albums is already saved in the current spotify user's 'your music' library.ids
SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKSCheck if one or more audiobooks are already saved in the current spotify user's library.ids
SPOTIFY_CHECK_USER_S_SAVED_EPISODESThis 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_SHOWSCheck if one or more shows is already saved in the current spotify user's library.ids
SPOTIFY_CHECK_USER_S_SAVED_TRACKSCheck if one or more tracks is already saved in the current spotify user's 'your music' library.ids
SPOTIFY_CREATE_PLAYLISTCreate 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_USERSAdd the current user as a follower of one or more artists or other spotify users.type, ids, ids
SPOTIFY_FOLLOW_PLAYLISTAdd the current user as a follower of a playlist.playlist_id
SPOTIFY_GET_ALBUMGet spotify catalog information for a single album.id
SPOTIFY_GET_ALBUM_TRACKSGet spotify catalog information about an album’s tracks. optional parameters can be used to limit the number of tracks returned.id
SPOTIFY_GET_AN_ARTISTGet spotify catalog information for a single artist identified by their unique spotify id. <<DEPRECATED use get_artist>>id
SPOTIFY_GET_AN_ARTISTS_ALBUMSGet spotify catalog information about an artist's albums. <<DEPRECATED use get_artist_s_albums>>id
SPOTIFY_GET_AN_ARTISTS_TOP_TRACKSGet spotify catalog information about an artist's top tracks by country. <<DEPRECATED use get_artist_s_top_tracks>>id
SPOTIFY_GET_AN_AUDIOBOOKGet 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_ARTISTGet spotify catalog information for a single artist identified by their unique spotify id.id
SPOTIFY_GET_ARTIST_S_ALBUMSGet spotify catalog information about an artist's albums.id
SPOTIFY_GET_ARTIST_S_RELATED_ARTISTSGet 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_TRACKSGet spotify catalog information about an artist's top tracks by country.id
SPOTIFY_GET_AUDIOBOOK_CHAPTERSGet 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_DEVICESGet 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_SEEDSRetrieve a list of available genres seed parameter values for [recommendations] (/documentation/web-api/reference/get-recommendations).-
SPOTIFY_GET_AVAILABLE_MARKETSGet the list of markets where spotify is available.-
SPOTIFY_GET_A_CHAPTERGet 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_PLAYLISTSGet a list of the playlists owned or followed by the current spotify user. <<DEPRECATED use get_current_user_s_playlists>>-
SPOTIFY_GET_A_SHOWS_EPISODESGet 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_DEVICESGet 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_PLAYLISTSGet a list of spotify playlists tagged with a particular category.category_id
SPOTIFY_GET_CURRENTLY_PLAYING_TRACKGet the object currently being played on the user's spotify account.-
SPOTIFY_GET_CURRENT_USERS_PROFILEGet 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_PLAYLISTSGet a list of the playlists owned or followed by the current spotify user.-
SPOTIFY_GET_CURRENT_USER_S_PROFILEGet detailed profile information about the current user (including the current user's username).-
SPOTIFY_GET_EPISODEGet spotify catalog information for a single episode identified by its unique spotify id.id
SPOTIFY_GET_FEATURED_PLAYLISTSGet a list of spotify featured playlists (shown, for example, on a spotify player's 'browse' tab).-
SPOTIFY_GET_FOLLOWED_ARTISTSGet the current user's followed artists.type
SPOTIFY_GET_INFORMATION_ABOUT_THE_USERS_CURRENT_PLAYBACKGet 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_PLAYLISTSGet a list of the playlists owned or followed by a spotify user. <<DEPRECATED use get_user_s_playlists>>user_id
SPOTIFY_GET_NEW_RELEASESGet a list of new album releases featured in spotify (shown, for example, on a spotify player’s “browse” tab).-
SPOTIFY_GET_PLAYBACK_STATEGet information about the user’s current playback state, including track or episode, progress, and active device.-
SPOTIFY_GET_PLAYLISTGet a playlist owned by a spotify user.playlist_id
SPOTIFY_GET_PLAYLIST_COVER_IMAGEGet the current image associated with a specific playlist.playlist_id
SPOTIFY_GET_PLAYLIST_ITEMSGet full details of the items of a playlist owned by a spotify user.playlist_id
SPOTIFY_GET_QUEUEGet the list of objects that make up the user's queue. <<DEPRECATED use get_the_user_s_queue>>-
SPOTIFY_GET_RECENTLY_PLAYEDGet 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_TRACKSGet tracks from the current user's recently played tracks. note: currently doesn't support podcast episodes.-
SPOTIFY_GET_RECOMMENDATIONSRecommendations 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_ALBUMSGet spotify catalog information for multiple albums identified by their spotify ids.ids
SPOTIFY_GET_SEVERAL_ARTISTSGet spotify catalog information for several artists based on their spotify ids.ids
SPOTIFY_GET_SEVERAL_AUDIOBOOKSGet 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_CATEGORIESGet a list of categories used to tag items in spotify (on, for example, the spotify player’s “browse” tab).-
SPOTIFY_GET_SEVERAL_CHAPTERSGet 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_EPISODESGet spotify catalog information for several episodes based on their spotify ids.ids
SPOTIFY_GET_SEVERAL_SHOWSGet spotify catalog information for several shows based on their spotify ids.ids
SPOTIFY_GET_SEVERAL_TRACKSGet spotify catalog information for multiple tracks based on their spotify ids.ids
SPOTIFY_GET_SEVERAL_TRACKS_AUDIO_FEATURESGet audio features for multiple tracks based on their spotify ids.ids
SPOTIFY_GET_SHOWGet spotify catalog information for a single show identified by its unique spotify id.id
SPOTIFY_GET_SHOW_EPISODESGet 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_CATEGORYGet 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_TRACKGet the object currently being played on the user's spotify account. <<DEPRECATED use get_currently_playing_track>>-
SPOTIFY_GET_THE_USER_S_QUEUEGet the list of objects that make up the user's queue.-
SPOTIFY_GET_TRACKGet spotify catalog information for a single track identified by its unique spotify id.id
SPOTIFY_GET_TRACK_S_AUDIO_ANALYSISGet 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_FEATURESGet audio feature information for a single track identified by its unique spotify id.id
SPOTIFY_GET_USERS_PROFILEGet public profile information about a spotify user. <<DEPRECATED use get_user_s_profile>>user_id
SPOTIFY_GET_USERS_SAVED_TRACKSGet 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_ARTISTSGet the current user's top artists based on calculated affinity. <<DEPRECATED use get_user_s_top_artists>>-
SPOTIFY_GET_USERS_TOP_TRACKSGet the current user's top tracks based on calculated affinity. <<DEPRECATED use get_user_s_top_tracks>>-
SPOTIFY_GET_USER_S_PLAYLISTSGet a list of the playlists owned or followed by a spotify user.user_id
SPOTIFY_GET_USER_S_PROFILEGet public profile information about a spotify user.user_id
SPOTIFY_GET_USER_S_SAVED_ALBUMSGet a list of the albums saved in the current spotify user's 'your music' library.-
SPOTIFY_GET_USER_S_SAVED_AUDIOBOOKSGet a list of the audiobooks saved in the current spotify user's 'your music' library.-
SPOTIFY_GET_USER_S_SAVED_EPISODESThis 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_SHOWSGet 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_TRACKSGet a list of the songs saved in the current spotify user's 'your music' library.-
SPOTIFY_GET_USER_S_TOP_ARTISTSGet the current user's top artists based on calculated affinity.-
SPOTIFY_GET_USER_S_TOP_TRACKSGet the current user's top tracks based on calculated affinity.-
SPOTIFY_PAUSE_PLAYBACKPause 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_ITEMSRemove one or more items from a user's playlist.playlist_id, tracks
SPOTIFY_REMOVE_USERS_SAVED_ALBUMSRemove one or more albums from the current user's 'your music' library.ids
SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKSRemove one or more audiobooks from the spotify user's library.ids
SPOTIFY_REMOVE_USER_S_SAVED_EPISODESThis 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_SHOWSDelete one or more shows from current spotify user's library.ids
SPOTIFY_REMOVE_USER_S_SAVED_TRACKSRemove one or more tracks from the current user's 'your music' library.ids
SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USERSave one or more albums to the current user's 'your music' library.ids
SPOTIFY_SAVE_ALBUMS_USERSave 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_USERSave one or more audiobooks to the current spotify user's library.ids
SPOTIFY_SAVE_EPISODES_FOR_CURRENT_USERThis 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_USERSave one or more shows to current spotify user's library.ids
SPOTIFY_SAVE_TRACKS_FOR_CURRENT_USERSave one or more tracks to the current user's 'your music' library.ids, ids
SPOTIFY_SEARCHGet 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_ITEMGet 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_POSITIONSeeks 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_VOLUMESet 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_MODESet 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_NEXTSkips 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_PREVIOUSSkips 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_TRACKSkips 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_PLAYBACKStart 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_PLAYBACKStart 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_SHUFFLEToggle 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_PLAYBACKTransfer 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_USERSRemove the current user as a follower of one or more artists or other spotify users.type, ids
SPOTIFY_UNFOLLOW_PLAYLISTRemove the current user as a follower of a playlist.playlist_id
SPOTIFY_UPDATE_PLAYLIST_ITEMSTo 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
We love our partners - FlyMy.AI builds with the best. Thanks, Spotify!