Spotify
Connect to Spotify to read and manage Spotify Web API resources.
认证方式
| 方式 | 底层类型 | 状态 | 说明 |
|---|---|---|---|
| OAuth 2.0 (user authorization) | oauth2 | available | — |
| OAuth 2.0 (app-only) | oauth2 | available | — |
调用示例
import { createClient } from "@open-connector/sdk";const oc = createClient({ baseUrl: "https://api.openconnector.dev", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({ slug: "SPOTIFY_ADD_ITEMS_TO_PLAYLIST", connectedAccountId: "conn_...", arguments: { /* match this tool's input schema */ },});import Composio from "@composio/client";const composio = new Composio({ baseURL: "https://api.openconnector.dev/composio", apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("SPOTIFY_ADD_ITEMS_TO_PLAYLIST", { connected_account_id: "conn_...", arguments: { /* match this tool's input schema */ },});oc tools execute SPOTIFY_ADD_ITEMS_TO_PLAYLIST --data '{ }'Tool 目录
可用 Tools
95 个可调用操作
Add Items to PlaylistSPOTIFY_ADD_ITEMS_TO_PLAYLISTAdd one or more items to a user's playlist.需要连接2 scopes
Add one or more items to a user's playlist.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Add Item to Playback QueueSPOTIFY_ADD_TO_QUEUEAdd an item to be played next in 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.需要连接1 scope
Add an item to be played next in 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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Add Items to Playlist [DEPRECATED]SPOTIFY_ADD_TRACKS_TO_PLAYLIST**Deprecated:** Use [Add Items to Playlist](/documentation/web-api/reference/add-items-to-playlist) instead. Add one or more items to a user's playlist.需要连接2 scopes
**Deprecated:** Use [Add Items to Playlist](/documentation/web-api/reference/add-items-to-playlist) instead. Add one or more items to a user's playlist.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Change Playlist DetailsSPOTIFY_CHANGE_PLAYLIST_DETAILSChange a playlist's name and public/private state. (The user must, of course, own the playlist.)需要连接2 scopes
Change a playlist's name and public/private state. (The user must, of course, own the playlist.)
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Check If User Follows Artists or UsersSPOTIFY_CHECK_CURRENT_USER_FOLLOWSCheck to see if the current user is following one or more artists or other Spotify users. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接1 scope
Check to see if the current user is following one or more artists or other Spotify users. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountScopes
user-follow-readTags
Check if Current User Follows PlaylistSPOTIFY_CHECK_IF_USER_FOLLOWS_PLAYLISTCheck to see if the current user is following a specified playlist. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接
Check to see if the current user is following a specified playlist. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountTags
Check User's Saved ItemsSPOTIFY_CHECK_LIBRARY_CONTAINSCheck if one or more items are already saved in the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, artists, users, and playlists.需要连接3 scopes
Check if one or more items are already saved in the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, artists, users, and playlists.
认证
需要 Connected AccountScopes
user-library-readuser-follow-readplaylist-read-privateTags
Check User's Saved AlbumsSPOTIFY_CHECK_USERS_SAVED_ALBUMSCheck if one or more albums is already saved in the current Spotify user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接1 scope
Check if one or more albums is already saved in the current Spotify user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountScopes
user-library-readTags
Check User's Saved AudiobooksSPOTIFY_CHECK_USERS_SAVED_AUDIOBOOKSCheck if one or more audiobooks are already saved in the current Spotify user's library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接1 scope
Check if one or more audiobooks are already saved in the current Spotify user's library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountScopes
user-library-readTags
Check User's Saved EpisodesSPOTIFY_CHECK_USERS_SAVED_EPISODESCheck if one or more episodes is already saved in the current Spotify user's 'Your Episodes' library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接1 scope
Check if one or more episodes is already saved in the current Spotify user's 'Your Episodes' library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountScopes
user-library-readTags
Check User's Saved ShowsSPOTIFY_CHECK_USERS_SAVED_SHOWSCheck if one or more shows is already saved in the current Spotify user's library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接1 scope
Check if one or more shows is already saved in the current Spotify user's library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountScopes
user-library-readTags
Check User's Saved TracksSPOTIFY_CHECK_USERS_SAVED_TRACKSCheck if one or more tracks is already saved in the current Spotify user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.需要连接1 scope
Check if one or more tracks is already saved in the current Spotify user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Check User's Saved Items](/documentation/web-api/reference/check-library-contains) instead.
认证
需要 Connected AccountScopes
user-library-readTags
Create PlaylistSPOTIFY_CREATE_PLAYLISTCreate a playlist for the current 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.需要连接2 scopes
Create a playlist for the current 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.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Create Playlist for userSPOTIFY_CREATE_PLAYLIST_FOR_USER**Deprecated**: Use [Create Playlist](/documentation/web-api/reference/create-playlist) instead. 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.需要连接2 scopes
**Deprecated**: Use [Create Playlist](/documentation/web-api/reference/create-playlist) instead. 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.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Follow Artists or UsersSPOTIFY_FOLLOW_ARTISTS_USERSAdd the current user as a follower of one or more artists or other Spotify users. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接1 scope
Add the current user as a follower of one or more artists or other Spotify users. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
user-follow-modifyTags
Follow PlaylistSPOTIFY_FOLLOW_PLAYLISTAdd the current user as a follower of a playlist. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接2 scopes
Add the current user as a follower of a playlist. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Get Category's PlaylistsSPOTIFY_GET_A_CATEGORIES_PLAYLISTSGet a list of Spotify playlists tagged with a particular category.需要连接
Get a list of Spotify playlists tagged with a particular category.
认证
需要 Connected AccountTags
Get Single Browse CategorySPOTIFY_GET_A_CATEGORYGet a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).需要连接
Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).
认证
需要 Connected AccountTags
Get a ChapterSPOTIFY_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.需要连接
Get Spotify catalog information for a single audiobook chapter. Chapters are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
认证
需要 Connected AccountTags
Get Current User's PlaylistsSPOTIFY_GET_A_LIST_OF_CURRENT_USERS_PLAYLISTSGet a list of the playlists owned or followed by the current Spotify user.需要连接1 scope
Get a list of the playlists owned or followed by the current Spotify user.
认证
需要 Connected AccountScopes
playlist-read-privateTags
Get ShowSPOTIFY_GET_A_SHOWGet Spotify catalog information for a single show identified by its unique Spotify ID.需要连接1 scope
Get Spotify catalog information for a single show identified by its unique Spotify ID.
认证
需要 Connected AccountScopes
user-read-playback-positionTags
Get Show EpisodesSPOTIFY_GET_A_SHOWS_EPISODESGet Spotify catalog information about an show’s episodes. Optional parameters can be used to limit the number of episodes returned.需要连接1 scope
Get Spotify catalog information about an show’s episodes. Optional parameters can be used to limit the number of episodes returned.
认证
需要 Connected AccountScopes
user-read-playback-positionTags
Get Available DevicesSPOTIFY_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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-read-playback-stateTags
Get AlbumSPOTIFY_GET_AN_ALBUMGet Spotify catalog information for a single album.需要连接
Get Spotify catalog information for a single album.
认证
需要 Connected AccountTags
Get Album TracksSPOTIFY_GET_AN_ALBUMS_TRACKSGet Spotify catalog information about an album’s tracks. Optional parameters can be used to limit the number of tracks returned.需要连接
Get Spotify catalog information about an album’s tracks. Optional parameters can be used to limit the number of tracks returned.
认证
需要 Connected AccountTags
Get ArtistSPOTIFY_GET_AN_ARTISTGet Spotify catalog information for a single artist identified by their unique Spotify ID.需要连接
Get Spotify catalog information for a single artist identified by their unique Spotify ID.
认证
需要 Connected AccountTags
Get Artist's AlbumsSPOTIFY_GET_AN_ARTISTS_ALBUMSGet Spotify catalog information about an artist's albums.需要连接
Get Spotify catalog information about an artist's albums.
认证
需要 Connected AccountTags
Get Artist's Related ArtistsSPOTIFY_GET_AN_ARTISTS_RELATED_ARTISTSGet Spotify catalog information about artists similar to a given artist. Similarity is based on analysis of the Spotify community's listening history.需要连接
Get Spotify catalog information about artists similar to a given artist. Similarity is based on analysis of the Spotify community's listening history.
认证
需要 Connected AccountTags
Get Artist's Top TracksSPOTIFY_GET_AN_ARTISTS_TOP_TRACKSGet Spotify catalog information about an artist's top tracks by country.需要连接
Get Spotify catalog information about an artist's top tracks by country.
认证
需要 Connected AccountTags
Get an AudiobookSPOTIFY_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.需要连接
Get Spotify catalog information for a single audiobook. Audiobooks are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
认证
需要 Connected AccountTags
Get EpisodeSPOTIFY_GET_AN_EPISODEGet Spotify catalog information for a single episode identified by its unique Spotify ID.需要连接1 scope
Get Spotify catalog information for a single episode identified by its unique Spotify ID.
认证
需要 Connected AccountScopes
user-read-playback-positionTags
Get Track's Audio AnalysisSPOTIFY_GET_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.需要连接
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.
认证
需要 Connected AccountTags
Get Track's Audio FeaturesSPOTIFY_GET_AUDIO_FEATURESGet audio feature information for a single track identified by its unique Spotify ID.需要连接
Get audio feature information for a single track identified by its unique Spotify ID.
认证
需要 Connected AccountTags
Get Audiobook ChaptersSPOTIFY_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.需要连接
Get Spotify catalog information about an audiobook's chapters. Audiobooks are only available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
认证
需要 Connected AccountTags
Get Available MarketsSPOTIFY_GET_AVAILABLE_MARKETSGet the list of markets where Spotify is available.需要连接
Get the list of markets where Spotify is available.
认证
需要 Connected AccountTags
Get Several Browse CategoriesSPOTIFY_GET_CATEGORIESGet a list of categories used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).需要连接
Get a list of categories used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).
认证
需要 Connected AccountTags
Get Current User's ProfileSPOTIFY_GET_CURRENT_USERS_PROFILEGet detailed profile information about the current user (including the current user's username).需要连接2 scopes
Get detailed profile information about the current user (including the current user's username).
认证
需要 Connected AccountScopes
user-read-privateuser-read-emailTags
Get Featured PlaylistsSPOTIFY_GET_FEATURED_PLAYLISTSGet a list of Spotify featured playlists (shown, for example, on a Spotify player's 'Browse' tab).需要连接
Get a list of Spotify featured playlists (shown, for example, on a Spotify player's 'Browse' tab).
认证
需要 Connected AccountTags
Get Followed ArtistsSPOTIFY_GET_FOLLOWEDGet the current user's followed artists.需要连接1 scope
Get the current user's followed artists.
认证
需要 Connected AccountScopes
user-follow-readTags
Get Playback StateSPOTIFY_GET_INFORMATION_ABOUT_THE_USERS_CURRENT_PLAYBACKGet information about the user’s current playback state, including track or episode, progress, and active device.需要连接1 scope
Get information about the user’s current playback state, including track or episode, progress, and active device.
认证
需要 Connected AccountScopes
user-read-playback-stateTags
Get User's PlaylistsSPOTIFY_GET_LIST_USERS_PLAYLISTSGet a list of the playlists owned or followed by a Spotify user.需要连接2 scopes
Get a list of the playlists owned or followed by a Spotify user.
认证
需要 Connected AccountScopes
playlist-read-privateplaylist-read-collaborativeTags
Get Several AlbumsSPOTIFY_GET_MULTIPLE_ALBUMSGet Spotify catalog information for multiple albums identified by their Spotify IDs.需要连接
Get Spotify catalog information for multiple albums identified by their Spotify IDs.
认证
需要 Connected AccountTags
Get Several ArtistsSPOTIFY_GET_MULTIPLE_ARTISTSGet Spotify catalog information for several artists based on their Spotify IDs.需要连接
Get Spotify catalog information for several artists based on their Spotify IDs.
认证
需要 Connected AccountTags
Get Several AudiobooksSPOTIFY_GET_MULTIPLE_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.需要连接
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.
认证
需要 Connected AccountTags
Get Several EpisodesSPOTIFY_GET_MULTIPLE_EPISODESGet Spotify catalog information for several episodes based on their Spotify IDs.需要连接1 scope
Get Spotify catalog information for several episodes based on their Spotify IDs.
认证
需要 Connected AccountScopes
user-read-playback-positionTags
Get Several ShowsSPOTIFY_GET_MULTIPLE_SHOWSGet Spotify catalog information for several shows based on their Spotify IDs.需要连接
Get Spotify catalog information for several shows based on their Spotify IDs.
认证
需要 Connected AccountTags
Get New ReleasesSPOTIFY_GET_NEW_RELEASESGet a list of new album releases featured in Spotify (shown, for example, on a Spotify player’s “Browse” tab).需要连接
Get a list of new album releases featured in Spotify (shown, for example, on a Spotify player’s “Browse” tab).
认证
需要 Connected AccountTags
Get PlaylistSPOTIFY_GET_PLAYLISTGet a playlist owned by a Spotify user.需要连接
Get a playlist owned by a Spotify user.
认证
需要 Connected AccountTags
Get Playlist Cover ImageSPOTIFY_GET_PLAYLIST_COVERGet the current image associated with a specific playlist.需要连接
Get the current image associated with a specific playlist.
认证
需要 Connected AccountTags
Get Playlist ItemsSPOTIFY_GET_PLAYLISTS_ITEMSGet full details of the items of a playlist owned by a Spotify user. **Note**: This endpoint is only accessible for playlists owned by the current user or playlists the user is a collaborator of. A `403 Forbidden` status code will be returned if the user is neither the owner nor a collaborator of the playlist.需要连接1 scope
Get full details of the items of a playlist owned by a Spotify user. **Note**: This endpoint is only accessible for playlists owned by the current user or playlists the user is a collaborator of. A `403 Forbidden` status code will be returned if the user is neither the owner nor a collaborator of the playlist.
认证
需要 Connected AccountScopes
playlist-read-privateTags
Get Playlist Items [DEPRECATED]SPOTIFY_GET_PLAYLISTS_TRACKS**Deprecated:** Use [Get Playlist Items](/documentation/web-api/reference/get-playlists-items) instead. Get full details of the items of a playlist owned by a Spotify user.需要连接1 scope
**Deprecated:** Use [Get Playlist Items](/documentation/web-api/reference/get-playlists-items) instead. Get full details of the items of a playlist owned by a Spotify user.
认证
需要 Connected AccountScopes
playlist-read-privateTags
Get the User's QueueSPOTIFY_GET_QUEUEGet the list of objects that make up the user's queue.需要连接2 scopes
Get the list of objects that make up the user's queue.
认证
需要 Connected AccountScopes
user-read-currently-playinguser-read-playback-stateTags
Get Recently Played TracksSPOTIFY_GET_RECENTLY_PLAYEDGet tracks from the current user's recently played tracks. _**Note**: Currently doesn't support podcast episodes._需要连接1 scope
Get tracks from the current user's recently played tracks. _**Note**: Currently doesn't support podcast episodes._
认证
需要 Connected AccountScopes
user-read-recently-playedTags
Get Available Genre SeedsSPOTIFY_GET_RECOMMENDATION_GENRESRetrieve a list of available genres seed parameter values for [recommendations](/documentation/web-api/reference/get-recommendations).需要连接
Retrieve a list of available genres seed parameter values for [recommendations](/documentation/web-api/reference/get-recommendations).
认证
需要 Connected AccountTags
Get RecommendationsSPOTIFY_GET_RECOMMENDATIONSRecommendations are generated based on the available information for a given seed entity and matched against similar artists and tracks. If there is sufficient information about the provided seeds, a list of tracks will be returned together with pool size details. For artists and tracks that are very new or obscure there might not be enough data to generate a list of tracks.需要连接
Recommendations are generated based on the available information for a given seed entity and matched against similar artists and tracks. If there is sufficient information about the provided seeds, a list of tracks will be returned together with pool size details. For artists and tracks that are very new or obscure there might not be enough data to generate a list of tracks.
认证
需要 Connected AccountTags
Get Several Tracks' Audio FeaturesSPOTIFY_GET_SEVERAL_AUDIO_FEATURESGet audio features for multiple tracks based on their Spotify IDs.需要连接
Get audio features for multiple tracks based on their Spotify IDs.
认证
需要 Connected AccountTags
Get Several ChaptersSPOTIFY_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.需要连接
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.
认证
需要 Connected AccountTags
Get Several TracksSPOTIFY_GET_SEVERAL_TRACKSGet Spotify catalog information for multiple tracks based on their Spotify IDs.需要连接
Get Spotify catalog information for multiple tracks based on their Spotify IDs.
认证
需要 Connected AccountTags
Get Currently Playing TrackSPOTIFY_GET_THE_USERS_CURRENTLY_PLAYING_TRACKGet the object currently being played on the user's Spotify account.需要连接1 scope
Get the object currently being played on the user's Spotify account.
认证
需要 Connected AccountScopes
user-read-currently-playingTags
Get TrackSPOTIFY_GET_TRACKGet Spotify catalog information for a single track identified by its unique Spotify ID.需要连接
Get Spotify catalog information for a single track identified by its unique Spotify ID.
认证
需要 Connected AccountTags
Get User's ProfileSPOTIFY_GET_USERS_PROFILEGet public profile information about a Spotify user.需要连接
Get public profile information about a Spotify user.
认证
需要 Connected AccountTags
Get User's Saved AlbumsSPOTIFY_GET_USERS_SAVED_ALBUMSGet a list of the albums saved in the current Spotify user's 'Your Music' library.需要连接1 scope
Get a list of the albums saved in the current Spotify user's 'Your Music' library.
认证
需要 Connected AccountScopes
user-library-readTags
Get User's Saved AudiobooksSPOTIFY_GET_USERS_SAVED_AUDIOBOOKSGet a list of the audiobooks saved in the current Spotify user's 'Your Music' library.需要连接1 scope
Get a list of the audiobooks saved in the current Spotify user's 'Your Music' library.
认证
需要 Connected AccountScopes
user-library-readTags
Get User's Saved EpisodesSPOTIFY_GET_USERS_SAVED_EPISODESGet a list of the episodes saved in the current Spotify user's library.需要连接2 scopes
Get a list of the episodes saved in the current Spotify user's library.
认证
需要 Connected AccountScopes
user-library-readuser-read-playback-positionTags
Get User's Saved ShowsSPOTIFY_GET_USERS_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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-library-readTags
Get User's Saved TracksSPOTIFY_GET_USERS_SAVED_TRACKSGet a list of the songs saved in the current Spotify user's 'Your Music' library.需要连接1 scope
Get a list of the songs saved in the current Spotify user's 'Your Music' library.
认证
需要 Connected AccountScopes
user-library-readTags
Get User's Top ItemsSPOTIFY_GET_USERS_TOP_ARTISTS_AND_TRACKSGet the current user's top artists or tracks based on calculated affinity.需要连接1 scope
Get the current user's top artists or tracks based on calculated affinity.
认证
需要 Connected AccountScopes
user-top-readTags
Pause PlaybackSPOTIFY_PAUSE_A_USERS_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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Remove Users' Saved AlbumsSPOTIFY_REMOVE_ALBUMS_USERRemove one or more albums from the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接1 scope
Remove one or more albums from the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Remove User's Saved AudiobooksSPOTIFY_REMOVE_AUDIOBOOKS_USERRemove one or more audiobooks from the Spotify user's library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接1 scope
Remove one or more audiobooks from the Spotify user's library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Remove User's Saved EpisodesSPOTIFY_REMOVE_EPISODES_USERRemove one or more episodes from the current user's library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接1 scope
Remove one or more episodes from the current user's library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Remove Playlist ItemsSPOTIFY_REMOVE_ITEMS_PLAYLISTRemove one or more items from a user's playlist.需要连接2 scopes
Remove one or more items from a user's playlist.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Remove Items from LibrarySPOTIFY_REMOVE_LIBRARY_ITEMSRemove one or more items from the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.需要连接3 scopes
Remove one or more items from the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.
认证
需要 Connected AccountScopes
user-library-modifyuser-follow-modifyplaylist-modify-publicTags
Remove User's Saved ShowsSPOTIFY_REMOVE_SHOWS_USERDelete one or more shows from current Spotify user's library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接1 scope
Delete one or more shows from current Spotify user's library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Remove Playlist Items [DEPRECATED]SPOTIFY_REMOVE_TRACKS_PLAYLIST**Deprecated:** Use [Remove Playlist Items](/documentation/web-api/reference/remove-items-playlist) instead. Remove one or more items from a user's playlist.需要连接2 scopes
**Deprecated:** Use [Remove Playlist Items](/documentation/web-api/reference/remove-items-playlist) instead. Remove one or more items from a user's playlist.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Remove User's Saved TracksSPOTIFY_REMOVE_TRACKS_USERRemove one or more tracks from the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接1 scope
Remove one or more tracks from the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Update Playlist ItemsSPOTIFY_REORDER_OR_REPLACE_PLAYLISTS_ITEMSEither reorder or replace items in a playlist depending on the request's parameters. To reorder items, include `range_start`, `insert_before`, `range_length` and `snapshot_id` in the request's body. To replace items, include `uris` as either a query parameter or in the request's body. Replacing items in a playlist will overwrite its existing items. This operation can be used for replacing or clearing items in a playlist. <br/> **Note**: Replace and reorder are mutually exclusive operations which share the same endpoint, but have different parameters. These operations can't be applied together in a single request.需要连接2 scopes
Either reorder or replace items in a playlist depending on the request's parameters. To reorder items, include `range_start`, `insert_before`, `range_length` and `snapshot_id` in the request's body. To replace items, include `uris` as either a query parameter or in the request's body. Replacing items in a playlist will overwrite its existing items. This operation can be used for replacing or clearing items in a playlist. <br/> **Note**: Replace and reorder are mutually exclusive operations which share the same endpoint, but have different parameters. These operations can't be applied together in a single request.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Update Playlist Items [DEPRECATED]SPOTIFY_REORDER_OR_REPLACE_PLAYLISTS_TRACKS**Deprecated:** Use [Update Playlist Items](/documentation/web-api/reference/reorder-or-replace-playlists-items) instead. Either reorder or replace items in a playlist depending on the request's parameters. To reorder items, include `range_start`, `insert_before`, `range_length` and `snapshot_id` in the request's body. To replace items, include `uris` as either a query parameter or in the request's body. Replacing items in a playlist will overwrite its existing items. This operation can be used for replacing or clearing items in a playlist. <br/> **Note**: Replace and reorder are mutually exclusive operations which share the same endpoint, but have different parameters. These operations can't be applied together in a single request.需要连接2 scopes
**Deprecated:** Use [Update Playlist Items](/documentation/web-api/reference/reorder-or-replace-playlists-items) instead. Either reorder or replace items in a playlist depending on the request's parameters. To reorder items, include `range_start`, `insert_before`, `range_length` and `snapshot_id` in the request's body. To replace items, include `uris` as either a query parameter or in the request's body. Replacing items in a playlist will overwrite its existing items. This operation can be used for replacing or clearing items in a playlist. <br/> **Note**: Replace and reorder are mutually exclusive operations which share the same endpoint, but have different parameters. These operations can't be applied together in a single request.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags
Save Albums for Current UserSPOTIFY_SAVE_ALBUMS_USERSave one or more albums to the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接1 scope
Save one or more albums to the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Save Audiobooks for Current UserSPOTIFY_SAVE_AUDIOBOOKS_USERSave one or more audiobooks to the current Spotify user's library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接1 scope
Save one or more audiobooks to the current Spotify user's library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Save Episodes for Current UserSPOTIFY_SAVE_EPISODES_USERSave one or more episodes to the current user's library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接1 scope
Save one or more episodes to the current user's library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Save Items to LibrarySPOTIFY_SAVE_LIBRARY_ITEMSAdd one or more items to the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.需要连接3 scopes
Add one or more items to the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, users, and playlists.
认证
需要 Connected AccountScopes
user-library-modifyuser-follow-modifyplaylist-modify-publicTags
Save Shows for Current UserSPOTIFY_SAVE_SHOWS_USERSave one or more shows to current Spotify user's library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接1 scope
Save one or more shows to current Spotify user's library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Save Tracks for Current UserSPOTIFY_SAVE_TRACKS_USERSave one or more tracks to the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.需要连接1 scope
Save one or more tracks to the current user's 'Your Music' library. **Note:** This endpoint is deprecated. Use [Save Items to Library](/documentation/web-api/reference/save-library-items) instead.
认证
需要 Connected AccountScopes
user-library-modifyTags
Search for ItemSPOTIFY_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.需要连接
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.
认证
需要 Connected AccountTags
Seek To PositionSPOTIFY_SEEK_TO_POSITION_IN_CURRENTLY_PLAYING_TRACKSeeks 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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Set Repeat ModeSPOTIFY_SET_REPEAT_MODE_ON_USERS_PLAYBACKSet 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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Set Playback VolumeSPOTIFY_SET_VOLUME_FOR_USERS_PLAYBACKSet 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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Skip To NextSPOTIFY_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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Skip To PreviousSPOTIFY_SKIP_USERS_PLAYBACK_TO_PREVIOUS_TRACKSkips 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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Start/Resume PlaybackSPOTIFY_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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Toggle Playback ShuffleSPOTIFY_TOGGLE_SHUFFLE_FOR_USERS_PLAYBACKToggle 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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Transfer PlaybackSPOTIFY_TRANSFER_A_USERS_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.需要连接1 scope
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.
认证
需要 Connected AccountScopes
user-modify-playback-stateTags
Unfollow Artists or UsersSPOTIFY_UNFOLLOW_ARTISTS_USERSRemove the current user as a follower of one or more artists or other Spotify users. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接1 scope
Remove the current user as a follower of one or more artists or other Spotify users. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
user-follow-modifyTags
Unfollow PlaylistSPOTIFY_UNFOLLOW_PLAYLISTRemove the current user as a follower of a playlist. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.需要连接2 scopes
Remove the current user as a follower of a playlist. **Note:** This endpoint is deprecated. Use [Remove Items from Library](/documentation/web-api/reference/remove-library-items) instead.
认证
需要 Connected AccountScopes
playlist-modify-publicplaylist-modify-privateTags