PeumeAPI

Social media data · Spotify

Get Spotify Playlist

Get a Spotify playlist and its tracks by id or URL.

$0.0028 per call

Call it

curl https://api.peume.com/v1/call/get-spotify-playlist \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "cursor": "your cursor",
    "id": "your id"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: get-spotify-playlist.

Parameters

cursorstring

Cursor returned by the previous response. Omit it for the first page.

idstring

Spotify playlist id. If you'd prefer to use the URL instead, you can use the url parameter instead.

urlstring

Spotify playlist URL. If you'd prefer to use the id instead, you can use the id parameter instead.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.