OpenAny
Get API keyAPI Key
APIDataScrapers

spotify logo
Spotify Playlist API

Get Spotify Playlist data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by ScrapeCreators, pass parameters such as id, and retrieve structured data including spotify playlist identifier, playlist title, playlist description text, reported playlist follower count, and playlist owner username to analyze editorial playlists, export playlist tracklists, and attribute playlist curators.

Selected price
$0.00188 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Spotify Playlist API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Spotify Playlist API

Spotify Playlist API

Send a Spotify playlist id or url in the GET query string, omitting cursor for the first page. Responses return playlist metadata (name, description, followers, totalCount, ownerV2) alongside up to 50 items in tracks[] and a string cursor for subsequent pages.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs GET query: provide id or url (Spotify playlist). Optional string cursor returned by the previous response.
Selected implementation scrapecreators · Spotify — Playlist
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Analyze editorial playlists: Track playlist follower counts, descriptions and featured artists over time.
  • Export playlist tracklists: Page through tracks[] in batches of up to 50 to collect track IDs, albums, durations and play counts.
  • Attribute playlist curators: Inspect ownerV2.name and ownerV2.username alongside playlist artwork.

Returned Data

Field Meaning
id Spotify playlist identifier
name Playlist title
description Playlist description text
followers Reported playlist follower count
totalCount Total tracks reported in the playlist
ownerV2.username Playlist owner username
tracks[].name Track title
tracks[].artists[].profile.name Track artist name
tracks[].playcount Reported track play count
cursor String continuation cursor for the next page

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/scrapecreators/v1/spotify/playlist \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode id=37i9dQZF1DX4UtSsGT1Sbe

Request and Response Examples

The request is a calling template, while reference output illustrates the response structure and can refer to different records. Check returned identities against your query.

Published Spotify Playlist API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Spotify playlist id. If you'd prefer to use the URL instead, you can use the url parameter instead.
Spotify playlist URL. If you'd prefer to use the id instead, you can use the id parameter instead.
Cursor returned by the previous response. Omit it for the first page.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Spotify — Playlist · GET · View API reference$0.00188 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
Unit price
$0.00188

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.188

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/spotify/playlist
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
idURL query parametersquerystringNo

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

urlURL query parametersquerystringNo

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

cursorURL query parametersquerystringNo

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

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • __typenamestring
  • credits_chargedinteger
  • credits_remaininginteger
  • cursorinteger
  • descriptionstring
  • followersinteger
  • idstring
  • imagesobject[]
    • sourcesobject[]
      • heightnull
      • urlstring
      • widthnull
  • namestring
  • ownerV2object
    • __typenamestring
    • namestring
    • uristring
    • usernamestring
  • successboolean
  • totalCountinteger
  • tracksobject[]
    • albumOfTrackobject
      • namestring
      • uristring
    • artistsobject[]
      • profileobject
        • namestring
      • uristring
    • durationobject
      • totalMillisecondsinteger
    • idstring
    • namestring
    • playcountinteger
    • uristring
  • uristring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 3

    Review these request fields before running. Keep the published provider and request method unchanged.

    id
    Spotify playlist id. If you'd prefer to use the URL instead, you can use the url parameter instead.
    url
    Spotify playlist URL. If you'd prefer to use the id instead, you can use the id parameter instead.
    cursor
    Cursor returned by the previous response. Omit it for the first page.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/scrapecreators/v1/spotify/playlist?id=37i9dQZF1DX4UtSsGT1Sbe' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "__typename": "Playlist",
      "credits_charged": 1,
      "credits_remaining": 100,
      "cursor": 50,
      "description": "The biggest songs of the 1980s. Cover: Madonna",
      "followers": 12016730,
      "id": "37i9dQZF1DX4UtSsGT1Sbe",
      "images": [
        {
          "sources": [
            {
              "height": null,
              "url": "https://i.scdn.co/image/ab67706f00000002fb8e01f2c022ab1a32e2c5a0",
              "width": null
            }
          ]
        }
      ],
      "name": "All Out 80s",
      "ownerV2": {
        "__typename": "User",
        "name": "Spotify",
        "uri": "spotify:user:spotify",
        "username": "spotify"
      },
      "success": true,
      "totalCount": 150,
      "tracks": [
        {
          "albumOfTrack": {
            "name": "True Blue",
            "uri": "spotify:album:6fmnT17jc2Sc69q3nza1eD"
          },
          "artists": [
            {
              "profile": {
                "name": "Madonna"
              },
              "uri": "spotify:artist:6tbjWDEIzxoDsBA1FuhfPW"
            }
          ],
          "duration": {
            "totalMilliseconds": 242733
          },
          "id": "6r8k1vznHrzlEKYxL4dZEe",
          "name": "La Isla Bonita",
          "playcount": 785646615,
          "uri": "spotify:track:6r8k1vznHrzlEKYxL4dZEe"
        }
      ],
      "uri": "spotify:playlist:37i9dQZF1DX4UtSsGT1Sbe"
    }

Common questions

How many tracks are returned per request?

Each response returns up to 50 tracks; check totalCount and pass cursor to fetch additional pages.

Can I access private or collaborative-only playlists?

No. This public endpoint retrieves public Spotify playlists and does not accept buyer Spotify login tokens.

What format is the cursor parameter?

cursor is a string returned by the previous response; omit it on the first page.

Does each page of tracks cost one API call?

Yes. Each GET request is billed separately according to the selected implementation's per-call rate.

Do I need to supply both id and url?

No. Provide either a Spotify playlist id or a full Spotify playlist url.

Are play counts guaranteed to match real-time streaming totals?

playcount reflects the count reported by Spotify at retrieval time and may lag live playback.

Use Spotify Playlist API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.