Spotify
Music streaming API with playback control
| API | Protocol | Base URL | Docs | Reference | OpenAPI | SDKs |
|---|---|---|---|---|---|---|
| Main | rest | https://api.spotify.com/ | link | — | — | — |
Actions (49)
Albums · 7
- Check if albums are savedGET /me/albums/contains
Check whether one or more albums are saved in the current user’s library.
documented - Get album by IDGET /albums/{id}
Retrieve metadata for a single album.
documented - Get album tracksGET /albums/{id}/tracks
List tracks that belong to an album.
documented - Get multiple albumsGET /albums
Retrieve metadata for multiple albums by comma-separated IDs via query param.
documented - Get user's saved albumsGET /me/albums
List albums saved in the current user's library.
documented - Remove albums from current userDELETE /me/albums
Remove one or more albums from the current user's library.
documented - Save albums for current userPUT /me/albums
Save one or more albums to the current user's library.
documented
Artists · 5
- Get artistGET /artists/{id}
Retrieve a single artist by ID.
documented - Get artist's albumsGET /artists/{id}/albums
List albums by a given artist.
documented - Get artist's top tracksGET /artists/{id}/top-tracks
List an artist's top tracks in a territory.
documented - Get multiple artistsGET /artists
Retrieve metadata for several artists by IDs in query.
documented - Get related artistsGET /artists/{id}/related-artists
List artists related to a given artist.
documented
Ad Accounts · 4
- Create Ad Account for BusinessPOST /businesses/{business_id}/ad_accounts
Create a new ad account under a business.
documented - Get Ad Account by IDGET /ad_accounts/{ad_account_id}
Retrieve ad account details by ID.
documented - Get Ad Accounts for BusinessGET /businesses/{business_id}/ad_accounts
List ad accounts for a business.
documented - Update Ad AccountPATCH /ad_accounts/{ad_account_id}
Update an ad account's fields.
documented
Player · 4
- Get playback stateGET /me/player
Get information about the user's current playback.
documented - Pause playbackPUT /me/player/pause
Pause playback on the user's active device.
documented - Start or resume playbackPUT /me/player/play
Start or resume playback on the user's active device.
documented - Transfer playbackPOST /me/player/transfer
Transfer playback to a new device.
documented