SpotifyMenu
Spotify
4 endpoints. All of them accept a JSON body, support cache_days and return the standard response envelope.
Limitations: Unofficial API: not affiliated with or endorsed by the platform. Public data only. Playlists must be public; private playlists and follower counts for artists or playlists are not returned.
/v1/spotify/trackA Spotify track by link/URI/ID: title, artists, duration, release date, explicit flag, cover image and 30-second preview URL.
Spotify Track Scraper API: use cases, pricing and questions
Body parameters
Send one of url, id or track. Add cache_days to any request to accept a cached result.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | One of | Track link, URI or ID.Example: https://open.spotify.com/track/0V3wPSX9ygBnCm8psDIegu |
id | string | One of | 22-character track ID.Example: 0V3wPSX9ygBnCm8psDIegu |
track | string | One of | Alias (link, URI or ID).Example: spotify:track:0V3wPSX9ygBnCm8psDIegu |
cache_days | integer | No | Accept a stored result up to this many days old (1 to 14). Omit for live data. |
Example request
curl -X POST https://api.scrapeeverything.com/v1/spotify/track \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://open.spotify.com/track/0V3wPSX9ygBnCm8psDIegu"}'Response fields (14)
Returned inside data. Fields marked or null are null when the platform does not expose the value.
| Field | Type | Description |
|---|---|---|
id | string | Spotify track ID |
link | string | open.spotify.com track URL |
title | string | Track title |
artists[] | array of objects | Credited artists |
artists[].id | string or null | Spotify artist ID |
artists[].name | string | Artist name |
artists[].link | string or null | open.spotify.com artist URL |
duration_ms | integer or null | Track length in milliseconds |
release_date | string or null | Release date, ISO string |
is_explicit | boolean | Marked explicit |
is_playable | boolean | Playable on Spotify |
has_video | boolean | Track has a video |
preview_url | string or null | 30-second MP3 preview URL |
image_url | string or null | Largest cover image URL |
Good to know
- Short links (spotify.link, spoti.fi) are not supported.
/v1/spotify/artistA Spotify artist by link/URI/ID: name, image and top tracks (~10) with durations and preview URLs.
Spotify Artist Scraper API: use cases, pricing and questions
Body parameters
Send one of url, id or artist. Add cache_days to any request to accept a cached result.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | One of | Artist link, URI or ID.Example: https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02 |
id | string | One of | 22-character artist ID.Example: 06HL4z0CvFAxyc27GXpf02 |
artist | string | One of | Alias (link, URI or ID).Example: spotify:artist:06HL4z0CvFAxyc27GXpf02 |
cache_days | integer | No | Accept a stored result up to this many days old (1 to 14). Omit for live data. |
Example request
curl -X POST https://api.scrapeeverything.com/v1/spotify/artist \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"}'Response fields (13)
Returned inside data. Fields marked or null are null when the platform does not expose the value.
| Field | Type | Description |
|---|---|---|
id | string | Spotify artist ID |
link | string | open.spotify.com artist URL |
name | string | Artist name |
image_url | string or null | Largest artist image URL |
top_tracks[] | array of objects | Artist's top tracks (~10) |
top_tracks[].id | string or null | Spotify track ID |
top_tracks[].title | string | Track title |
top_tracks[].artists_text | string | Artist names as one string |
top_tracks[].duration_ms | integer or null | Track length in milliseconds |
top_tracks[].is_explicit | boolean | Marked explicit |
top_tracks[].preview_url | string or null | 30-second MP3 preview URL |
top_tracks[].link | string or null | open.spotify.com track URL |
top_tracks_count | integer | Number of top tracks returned |
Good to know
- Monthly listeners, followers and genres are not publicly available and are not returned.
/v1/spotify/albumA Spotify album by link/URI/ID: title, artists, release date, cover and the full track list.
Spotify Album Scraper API: use cases, pricing and questions
Body parameters
Send one of url, id or album. Add cache_days to any request to accept a cached result.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | One of | Album link, URI or ID.Example: https://open.spotify.com/album/151w1FgRZfnKZA9FEcg9Z3 |
id | string | One of | 22-character album ID.Example: 151w1FgRZfnKZA9FEcg9Z3 |
album | string | One of | Alias (link, URI or ID).Example: spotify:album:151w1FgRZfnKZA9FEcg9Z3 |
cache_days | integer | No | Accept a stored result up to this many days old (1 to 14). Omit for live data. |
Example request
curl -X POST https://api.scrapeeverything.com/v1/spotify/album \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id":"151w1FgRZfnKZA9FEcg9Z3"}'Response fields (16)
Returned inside data. Fields marked or null are null when the platform does not expose the value.
| Field | Type | Description |
|---|---|---|
id | string | Spotify album ID |
link | string | open.spotify.com album URL |
title | string | Album title |
artists_text | string | Album artist names as one string |
release_date | string or null | Release date, ISO string |
is_explicit | boolean | Marked explicit |
image_url | string or null | Largest cover image URL |
track_count | integer | Number of tracks returned |
tracks[] | array of objects | Album track list |
tracks[].id | string or null | Spotify track ID |
tracks[].title | string | Track title |
tracks[].artists_text | string | Artist names as one string |
tracks[].duration_ms | integer or null | Track length in milliseconds |
tracks[].is_explicit | boolean | Marked explicit |
tracks[].preview_url | string or null | 30-second MP3 preview URL |
tracks[].link | string or null | open.spotify.com track URL |
/v1/spotify/playlistA public Spotify playlist by link/URI/ID: title, owner, cover, total duration and up to ~50 tracks.
Spotify Playlist Scraper API: use cases, pricing and questions
Body parameters
Send one of url, id or playlist. Add cache_days to any request to accept a cached result.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | One of | Playlist link, URI or ID.Example: https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M |
id | string | One of | 22-character playlist ID.Example: 37i9dQZF1DXcBWIGoYBM5M |
playlist | string | One of | Alias (link, URI or ID).Example: spotify:playlist:37i9dQZF1DXcBWIGoYBM5M |
cache_days | integer | No | Accept a stored result up to this many days old (1 to 14). Omit for live data. |
Example request
curl -X POST https://api.scrapeeverything.com/v1/spotify/playlist \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M"}'Response fields (15)
Returned inside data. Fields marked or null are null when the platform does not expose the value.
| Field | Type | Description |
|---|---|---|
id | string | Spotify playlist ID |
link | string | open.spotify.com playlist URL |
title | string | Playlist title |
owner | string | Owner display name |
image_url | string or null | Largest cover image URL |
total_duration_ms | integer or null | Whole-playlist duration in milliseconds |
track_count | integer | Tracks returned (max ~50), not total |
tracks[] | array of objects | First ~50 playlist tracks |
tracks[].id | string or null | Spotify track ID |
tracks[].title | string | Track title |
tracks[].artists_text | string | Artist names as one string |
tracks[].duration_ms | integer or null | Track length in milliseconds |
tracks[].is_explicit | boolean | Marked explicit |
tracks[].preview_url | string or null | 30-second MP3 preview URL |
tracks[].link | string or null | open.spotify.com track URL |
Good to know
- Public playlists only. Up to about 50 tracks are returned and track_count is the number of returned tracks.