Scraper API
Spotifyspotify.artistAvailable
Spotify artist
The artist with their top tracks: title, length, explicit mark and audio preview of each, and the artist's picture.
Give it an artist's Spotify id, or their 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
- 7 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/spotify.artist/runs
sent, and answered
a record of the run7 fields
ok1 unit a run
A record this scraper returned for this input. The first 7 of its 7 fields are set down here; the whole record is below.

What it is used for
- Read an artist's page
- An artist's name, picture and top tracks as Spotify lists them, each with its length, explicit mark and preview.
- Follow what plays most
- Read an artist's
top_trackson a schedule and see which songs enter the list and which leave it. - Present a line-up
- Show each artist's picture and top tracks with their previews on your own page about a festival, a venue or a label's roster.
What you send
An artist's Spotify id, or their address. These are its 2 inputs, as its schema has them.
idstring One of the two- The artist's Spotify id: the 22 characters after /artist/ in its address, e.g. 0OdUWJ0sBjDrqHygGUXeCF.
urlstring One of the two- The artist's address, e.g. https://open.spotify.com/artist/0OdUWJ0sBjDrqHygGUXeCF, or its URI, spotify:artist:0OdUWJ0sBjDrqHygGUXeCF.
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.artist/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"id":"0OdUWJ0sBjDrqHygGUXeCF"}}'
# 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.artist", {"id": "0OdUWJ0sBjDrqHygGUXeCF"})
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.artist", { id: "0OdUWJ0sBjDrqHygGUXeCF" });
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.artist", map[string]any{"id": "0OdUWJ0sBjDrqHygGUXeCF"})
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.artist", Map.of("id", "0OdUWJ0sBjDrqHygGUXeCF"));
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.artist --input id=0OdUWJ0sBjDrqHygGUXeCFInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The artist with their top tracks: title, length, explicit mark and audio preview of each, and the artist's picture. A record has 7 fields. One we could not read is null, never an empty string or a zero.
{
"id": "0OdUWJ0sBjDrqHygGUXeCF",
"uri": "spotify:artist:0OdUWJ0sBjDrqHygGUXeCF",
"url": "https://open.spotify.com/artist/0OdUWJ0sBjDrqHygGUXeCF",
"name": "Band of Horses",
"image": "https://image-cdn-fa.spotifycdn.com/image/ab6761610000e5eb2cb57b092374b2f975ee9adc",
"top_tracks": [
{
"position": 1,
"id": "5lRzWDEe7UuedU2QPsFg0K",
"url": "https://open.spotify.com/track/5lRzWDEe7UuedU2QPsFg0K",
"name": "The Funeral",
"artists": "Band of Horses",
"duration_ms": 322173,
"explicit": false,
"playable": true,
"preview_url": "https://p.scdn.co/mp3-preview/a3d4810ce9c8ea8771bf5d2de93cadc44ec1ee77"
},
{
"position": 2,
"id": "2IvNxLl01CTAfCOA103Tgx",
"url": "https://open.spotify.com/track/2IvNxLl01CTAfCOA103Tgx",
"name": "No One's Gonna Love You",
"artists": "Band of Horses",
"duration_ms": 217333,
"explicit": false,
"playable": true,
"preview_url": "https://p.scdn.co/mp3-preview/69cbe47f7bc308d9a67cab573a56da229bee587c"
}
],
"fetched_at": "2026-11-19T18:07:41.289215Z"
}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: top_tracks: 3 items, the first 2 shown.
The fields of a record
idstring- The artist's Spotify id.
uristring- The artist's Spotify URI.
urlstring- The artist's address on Spotify.
namestring- The artist's name.
imagestring or null- The address of the artist's picture (the largest the page gives).
top_trackslist of objects- The artist's top tracks as Spotify lists them: ten at most.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
- Ten top tracks, as Spotify lists them.
- Follower and listener counts are not on the page that is read, and are not returned.
Questions
What does Spotify artist return?
The artist with their top tracks: title, length, explicit mark and audio preview of each, and the artist's picture. A record has 7 fields, among them id, uri, url, name, image and top_tracks. A value that could not be read is null, never an empty string or a zero.
What do I send?
An artist's Spotify id, or their 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?
Ten top tracks, as Spotify lists them. Follower and listener counts 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.artist 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 playlist
spotify.playlistA public playlist's Spotify id, or its address. 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.
- 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.