Scraper API
Spotifyspotify.playlistAvailable
Spotify playlist
The playlist with its tracks in order: title, artists, length, explicit mark and audio preview of each, the owner's name as shown and the cover image.
Give it a public playlist's Spotify id, or its address.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 2
- Record
- 9 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/spotify.playlist/runs
sent, and answered
a record of the run9 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 9 fields are set down here; the whole record is below.

What it is used for
- Read a playlist in order
- A public playlist's title, owner and cover, with its first tracks in order, each with its artists, length and preview.
- Check your placements
- Read the playlists you pitch to and see whether your track is in them, and at what place in the order.
- Follow a curated list
- Read a playlist on a schedule and see which tracks were added and which were dropped between two runs.
What you send
A public playlist's Spotify id, or its address. These are its 2 inputs, as its schema has them.
idstring One of the two- The playlist's Spotify id: the 22 characters after /playlist/ in its address, e.g. 37i9dQZF1DXcBWIGoYBM5M.
urlstring One of the two- The playlist's address, e.g. https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M, or its URI, spotify:playlist:37i9dQZF1DXcBWIGoYBM5M.
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/spotify.playlist/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"id":"37i9dQZF1DXcBWIGoYBM5M"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("spotify.playlist", {"id": "37i9dQZF1DXcBWIGoYBM5M"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("spotify.playlist", { id: "37i9dQZF1DXcBWIGoYBM5M" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "spotify.playlist", map[string]any{"id": "37i9dQZF1DXcBWIGoYBM5M"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("spotify.playlist", Map.of("id", "37i9dQZF1DXcBWIGoYBM5M"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run spotify.playlist --input id=37i9dQZF1DXcBWIGoYBM5MInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The playlist with its tracks in order: title, artists, length, explicit mark and audio preview of each, the owner's name as shown and the cover image. A record has 9 fields. One we could not read is null, never an empty string or a zero.
{
"id": "37i9dQZF1DXcBWIGoYBM5M",
"uri": "spotify:playlist:37i9dQZF1DXcBWIGoYBM5M",
"url": "https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M",
"name": "Today’s Top Hits",
"owner_name": "Spotify",
"image": "https://i.scdn.co/image/ab67706f00000002f04528c743e20039ac4eff07",
"track_count": 3,
"tracks": [
{
"position": 1,
"id": "3h5T5JypYU7huFiVYhv1dr",
"url": "https://open.spotify.com/track/3h5T5JypYU7huFiVYhv1dr",
"name": "BbY WOW",
"artists": "KAROL G, Judeline, rusowsky",
"duration_ms": 225834,
"explicit": false,
"playable": true,
"preview_url": "https://p.scdn.co/mp3-preview/f6ab45a8375c5bcf6f03161edd9f44c1fad501c8"
},
{
"position": 2,
"id": "2sFepQNyl1WjpROruP8bJ0",
"url": "https://open.spotify.com/track/2sFepQNyl1WjpROruP8bJ0",
"name": "Housewife",
"artists": "Tate McRae",
"duration_ms": 208810,
"explicit": false,
"playable": true,
"preview_url": "https://p.scdn.co/mp3-preview/724b097d9dc53e0541de27d199adfe3f610944ba"
}
],
"fetched_at": "2026-11-19T18:07:41.292555Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
Values shortened for this page: tracks: 3 items, the first 2 shown.
The fields of a record
idstring- The playlist's Spotify id.
uristring- The playlist's Spotify URI.
urlstring- The playlist's address on Spotify.
namestring- The playlist's title.
owner_namestring or null- The name shown as the playlist's owner, e.g. "Spotify".
imagestring or null- The address of the playlist's cover image.
track_countinteger- How many tracks the page lists: the playlist's first 100 at most.
trackslist of objects- The tracks the page lists, in the playlist's order.Each holds
position,id,url,name,artists,duration_ms,explicit,playable,preview_url. fetched_atdatetime- When the page was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- The first 100 tracks of a playlist; a longer one is cut there.
- A playlist's description and follower count are not on the page that is read, and are not returned.
Questions
What does Spotify playlist return?
The playlist with its tracks in order: title, artists, length, explicit mark and audio preview of each, the owner's name as shown and the cover image. A record has 9 fields, among them id, uri, url, name, owner_name and image. A value that could not be read is null, never an empty string or a zero.
What do I send?
A public playlist's Spotify id, or its address. Of id and url, send one of the two.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
What does it not do?
The first 100 tracks of a playlist; a longer one is cut there. A playlist's description and follower count are not on the page that is read, and are not returned.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id spotify.playlist and the same input. It costs what the same API call costs.
Spotify
Tracks, albums, artists and public playlists on Spotify, as a visitor who is not signed in sees them.
Spotify track
spotify.trackA track's Spotify id, or its address. The track: its artists, release date, length, explicit mark, audio preview and cover image.
Spotify album
spotify.albumAn album's Spotify id, or its address. The album with its tracks in order: title, artists, length, explicit mark and audio preview of each, and the cover image.
Spotify artist
spotify.artistAn artist's Spotify id, or their address. The artist with their top tracks: title, length, explicit mark and audio preview of each, and the artist's picture.
- Industry
- News, music and books
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.