Scraper API
Spotifyspotify.albumAvailable
Spotify album
The album with its tracks in order: title, artists, length, explicit mark and audio preview of each, and the cover image.
Give it an album'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
- 10 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/spotify.album/runs
sent, and answered
a record of the run10 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 10 fields are set down here; the whole record is below.

What it is used for
- Fill in an album record
- An album's title, artists, cover and explicit mark, with its tracks in order and the length and preview of each, keyed by its Spotify id.
- Link releases from your pages
- Keep an album's Spotify
uriand address beside your own records, so a release can be opened from a shop, a review or a newsletter. - Screen a release for content
explicitmarks an album and each track Spotify flags, so you know what to leave out for an audience it would not suit.
What you send
An album's Spotify id, or its address. These are its 2 inputs, as its schema has them.
idstring One of the two- The album's Spotify id: the 22 characters after /album/ in its address, e.g. 4aawyAB9vmqN3uQ7FjRGTy.
urlstring One of the two- The album's address, e.g. https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy, or its URI, spotify:album:4aawyAB9vmqN3uQ7FjRGTy.
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.album/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"id":"4aawyAB9vmqN3uQ7FjRGTy"}}'
# 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.album", {"id": "4aawyAB9vmqN3uQ7FjRGTy"})
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.album", { id: "4aawyAB9vmqN3uQ7FjRGTy" });
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.album", map[string]any{"id": "4aawyAB9vmqN3uQ7FjRGTy"})
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.album", Map.of("id", "4aawyAB9vmqN3uQ7FjRGTy"));
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.album --input id=4aawyAB9vmqN3uQ7FjRGTyInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The album with its tracks in order: title, artists, length, explicit mark and audio preview of each, and the cover image. A record has 10 fields. One we could not read is null, never an empty string or a zero.
{
"id": "4aawyAB9vmqN3uQ7FjRGTy",
"uri": "spotify:album:4aawyAB9vmqN3uQ7FjRGTy",
"url": "https://open.spotify.com/album/4aawyAB9vmqN3uQ7FjRGTy",
"name": "Global Warming",
"artists": "Pitbull",
"explicit": false,
"image": "https://image-cdn-ak.spotifycdn.com/image/ab67616d0000b2732c5b24ecfa39523a75c993c4",
"track_count": 3,
"tracks": [
{
"position": 1,
"id": "6OmhkSOpvYBokMKQxpIGx2",
"url": "https://open.spotify.com/track/6OmhkSOpvYBokMKQxpIGx2",
"name": "Global Warming (feat. Sensato)",
"artists": "Pitbull, Sensato",
"duration_ms": 85400,
"explicit": true,
"playable": true,
"preview_url": "https://p.scdn.co/mp3-preview/3a0c6a756290ac0fa5e44344d8e1d104b5abc016"
},
{
"position": 2,
"id": "2iblMMIgSznA464mNov7A8",
"url": "https://open.spotify.com/track/2iblMMIgSznA464mNov7A8",
"name": "Don't Stop the Party (feat. TJR)",
"artists": "Pitbull, TJR",
"duration_ms": 206120,
"explicit": false,
"playable": true,
"preview_url": "https://p.scdn.co/mp3-preview/3a47421528d6522b6ac0a3eefb9bbcc6b1e39613"
}
],
"fetched_at": "2026-11-19T18:07:41.285019Z"
}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 album's Spotify id.
uristring- The album's Spotify URI.
urlstring- The album's address on Spotify.
namestring- The album's title.
artistsstring or null- The album's artists as shown, in one line.
explicitboolean or null- Spotify marks the album as explicit.
imagestring or null- The address of the cover image (the largest the page gives).
track_countinteger- How many tracks the page lists.
trackslist of objects- The album's tracks, in 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 album's release date and label are not on the page that is read, and are not returned.
Questions
What does Spotify album return?
The album with its tracks in order: title, artists, length, explicit mark and audio preview of each, and the cover image. A record has 10 fields, among them id, uri, url, name, artists and explicit. A value that could not be read is null, never an empty string or a zero.
What do I send?
An album'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 album's release date and label 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.album 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 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.
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.