Spotify Playlists API

The Playlists API from Spotify — 10 operation(s) for playlists.

GitHub OpenAPI
Business capability
On-Demand Catalogue Curation BC-3730.30

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /playlists/{playlist_id} Get a playlist · Get Playlist #
Ask an LLM
“How do I fetch the tracks in a playlist?”
“Can I get a playlist's details for a specific market?”
Tell an agent
Get playlist {playlist_id}.
Show playlist {playlist_id} for market {market}.
PUT /playlists/{playlist_id} Rename or change a playlist's privacy · Change Playlist Details #
Ask an LLM
“How do I make my playlist public or private?”
“Can I change a playlist's description?”
Tell an agent
Set playlist {playlist_id} to public {public}.
Rename playlist {playlist_id} to {name}.
GET /playlists/{playlist_id}/tracks List a playlist's tracks (deprecated) · Get Playlist Items [DEPRECATED] #
Ask an LLM
“How do I list the tracks in a playlist using the older deprecated call?”
“Can I get a playlist's tracks with a limit and offset?”
Tell an agent
List the tracks of playlist {playlist_id} with the deprecated call.
Get {limit} tracks of playlist {playlist_id} from offset {offset}.
POST /playlists/{playlist_id}/tracks Add tracks to a playlist (deprecated) · Add Items to Playlist [DEPRECATED] #
Ask an LLM
“How do I add tracks to a playlist with the older deprecated call?”
“Can I insert tracks into a playlist at a specific position?”
Tell an agent
Add tracks to playlist {playlist_id} with the deprecated call.
Insert tracks into playlist {playlist_id} at position {position} with the deprecated call.
PUT /playlists/{playlist_id}/tracks Reorder or replace a playlist's tracks (deprecated) · Update Playlist Items [DEPRECATED] #
Ask an LLM
“How do I reorder tracks in a playlist with the older deprecated call?”
“Can I replace a playlist's tracks with the deprecated endpoint?”
Tell an agent
Reorder the tracks of playlist {playlist_id} with the deprecated call.
Replace the tracks of playlist {playlist_id} with the deprecated call.
DELETE /playlists/{playlist_id}/tracks Remove tracks from a playlist (deprecated) · Remove Playlist Items [DEPRECATED] #
Ask an LLM
“How do I remove tracks from a playlist with the older deprecated call?”
“Can I clear a playlist's tracks with the deprecated endpoint?”
Tell an agent destructive · confirm first
Remove tracks from playlist {playlist_id} with the deprecated call.
Clear the tracks of playlist {playlist_id} with the deprecated call.
GET /playlists/{playlist_id}/items Get a playlist's items · Get Playlist Items #
Ask an LLM
“How do I fetch the full details of a playlist's items?”
“Can I list a playlist's items for a specific market?”
Tell an agent
Get the items of playlist {playlist_id}.
Show playlist {playlist_id} items for market {market}.
POST /playlists/{playlist_id}/items Add items to a playlist · Add Items to Playlist #
Ask an LLM
“How do I add tracks or episodes to a playlist?”
“Can I add items to a playlist at a specific position?”
Tell an agent
Add items to playlist {playlist_id}.
Insert items into playlist {playlist_id} at position {position}.
PUT /playlists/{playlist_id}/items Reorder or replace a playlist's items · Update Playlist Items #
Ask an LLM
“How do I reorder a playlist's items?”
“Can I replace a playlist's items with a new set?”
Tell an agent
Reorder the items of playlist {playlist_id}.
Replace the items of playlist {playlist_id}.
DELETE /playlists/{playlist_id}/items Remove items from a playlist · Remove Playlist Items #
Ask an LLM
“How do I remove tracks or episodes from a playlist?”
“Can I remove several items from a playlist at once?”
Tell an agent destructive · confirm first
Remove items from playlist {playlist_id}.
Delete specific tracks from playlist {playlist_id}.
GET /me/playlists List my playlists · Get Current User's Playlists #
Ask an LLM
“Which playlists do I own or follow?”
“Can I list my playlists with a limit and offset?”
Tell an agent
List my playlists.
Show {limit} of my playlists starting at offset {offset}.
POST /me/playlists Create a playlist · Create Playlist #
Ask an LLM
“How do I create an empty playlist for myself?”
“Can I make a new playlist collaborative?”
Tell an agent
Create a playlist named {name}.
Create a playlist {name} that is public {public}.
GET /users/{user_id}/playlists List a user's playlists · Get User's Playlists #
Ask an LLM
“Which playlists does a particular user own or follow?”
“Can I list someone else's playlists?”
Tell an agent
List the playlists of user {user_id}.
Show {limit} playlists for user {user_id}.
POST /users/{user_id}/playlists Create a playlist for another user (deprecated) · Create Playlist for user #
Ask an LLM
“How do I create a playlist for someone else with the older deprecated call?”
“Can I create a collaborative playlist for another user?”
Tell an agent
Create a playlist named {name} for user {user_id} with the deprecated call.
Create a collaborative playlist for user {user_id} with the deprecated call.
GET /browse/categories/{category_id}/playlists Get playlists in a category · Get Category's Playlists #
Ask an LLM
“Which playlists are tagged with a particular category?”
“Can I browse a category's playlists?”
Tell an agent
Get the playlists in category {category_id}.
Show {limit} playlists from category {category_id}.
GET /playlists/{playlist_id}/images Get a playlist's cover image · Get Playlist Cover Image #
Ask an LLM
“What cover image is set on a playlist?”
“Can I fetch a playlist's cover image?”
Tell an agent
Get the cover image of playlist {playlist_id}.
Show the cover of playlist {playlist_id}.
PUT /playlists/{playlist_id}/images Replace a playlist's cover image · Add Custom Playlist Cover Image #
Ask an LLM
“How do I upload a custom cover image for a playlist?”
“Can I replace a playlist's cover image?”
Tell an agent
Replace the cover image of playlist {playlist_id}.
Upload a custom cover for playlist {playlist_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spotify:spotify-playlists-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spotify-playlists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: You can use Spotify's Web API to discover music and podcasts, manage your Spotify library, control audio playback, and much more.
  version: 1.0.0
  title: Spotify Web Playlists API
  termsOfService: https://developer.spotify.com/terms/
  contact:
    name: Spotify for Developers Community
    url: https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
servers:
- url: https://api.spotify.com/v1
tags:


# --- truncated at 32 KB (80 KB total) ---
# Full source: https://artifacts.apis.io/spotify/openapi/spotify-playlists-api-openapi.yml