Appearance
Album
GET /v1/spotify/album
Retrieves detailed information about a Spotify album by its id or URL, including album metadata, artists, release date, cover art, copyright info, tracks, and sharing details.
Authentication
All requests require the x-api-key header. Get your key at scrapecreators.com.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
id | string | no | Spotify album id. If you'd prefer to use the URL instead, you can use the url parameter instead. | 0pgrg7phBbnwGJ2HBEl9EG |
url | string | no | Spotify album URL. If you'd prefer to use the id instead, you can use the id parameter instead. | https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/spotify/album' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ });
const res = await fetch(`https://api.scrapecreators.com/v1/spotify/album?${params}`, {
headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);Python
python
import os, requests
r = requests.get(
'https://api.scrapecreators.com/v1/spotify/album',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators spotify album --helpExample Response
json
{
"success": true,
"credits_remaining": 49997935402,
"id": "0pgrg7phBbnwGJ2HBEl9EG",
"uri": "spotify:album:0pgrg7phBbnwGJ2HBEl9EG",
"__typename": "Album",
"copyright": [
{
"text": "2025 IRL Angel",
"type": "C"
}
],
"courtesyLine": "",
"date": {
"isoString": "2025-03-16T00:00:00Z",
"precision": "DAY"
},
"isPreRelease": false,
"label": "IRL Angel",
"name": "BEFORE THE SUN RISES & WINTERR ENDS",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"preReleaseEndDateTime": null,
"saved": false,
"sharingInfo": {
"shareId": "mULFEWCzRY2MmJMhNahQMA",
"shareUrl": "https://open.spotify.com/album/0pgrg7phBbnwGJ2HBEl9EG?si=mULFEWCzRY2MmJMhNahQMA"
},
"tracksV2": [
{
"track": {
"artists": [
{
"profile": {
"name": "Miguel Angeles"
},
"uri": "spotify:artist:14xRX3JR8H4RWh8R7V3fvZ"
}
],
"associationsV3": {
"videoAssociations": {
"totalCount": 0
}
},
"contentRating": {
"label": "NONE"
},
"discNumber": 1,
"duration": {
"totalMilliseconds": 184109
},
"name": "AN IMPERRFECT BODY",
"playability": {
"playable": true
},
"playcount": 130437,
"relinkingInformation": null,
"saved": false,
"trackNumber": 1,
"uri": "spotify:track:0LfCnR4s7l6T4TyCNNsHBs"
},
"uid": "0c86f1002074d296d295"
}
],
"type": "SINGLE",
"visualIdentity": {
"squareCoverImage": {
"__typename": "VisualIdentityImage",
"extractedColorSet": {
"encoreBaseSetTextColor": {
"alpha": 255,
"blue": 224,
"green": 224,
"red": 224
},
"highContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 83,
"green": 83,
"red": 83
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 51,
"green": 51,
"red": 51
},
"textBase": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textBrightAccent": {
"alpha": 255,
"blue": 255,
"green": 255,
"red": 255
},
"textSubdued": {
"alpha": 255,
"blue": 205,
"green": 205,
"red": 205
}
},
"higherContrast": {
"backgroundBase": {
"alpha": 255,
"blue": 53,
"green": 53,
"red": 53
},
"backgroundTintedBase": {
"alpha": 255,
"blue": 86,
"green": 86,
"red": 86
},
"textBase": {
"alpha": 255,
"blue": 255,
"green":
... (truncated)Credits
Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.
Errors
| Status | Meaning | Action |
|---|---|---|
| 200 | Success. | Use the JSON payload. |
| 400 | Invalid or missing parameter. | Verify required parameters and value format. |
| 401 | Missing or invalid x-api-key. | Pass a valid API key in the header. |
| 402 | Out of credits. | Top up at scrapecreators.com or wait for plan reset. |
| 404 | Resource not found or private. | Confirm the handle, URL, or id and that the resource is public. |
| 429 | Rate limited. | Backoff and retry with exponential delay. |
| 500 | Server error or upstream platform failure. | Retry with backoff; report persistent errors to support. |