Appearance
Artist
GET /v1/spotify/artist
Retrieves detailed information about a Spotify artist by their handle, including name, followers count, genres, and related artists. Accepts a handle as input and returns artist metadata such as id, name, followers, genres, and related artists.
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 artist id. If you'd prefer to use the URL instead, you can use the url parameter instead. | 0cGUm45nv7Z6M6qdXYQGTX |
url | string | no | Spotify artist URL. If you'd prefer to use the id instead, you can use the id parameter instead. | https://open.spotify.com/artist/0cGUm45nv7Z6M6qdXYQGTX |
Example Request
curl
bash
curl 'https://api.scrapecreators.com/v1/spotify/artist' \
-H 'x-api-key: $SCRAPECREATORS_API_KEY'Node / TypeScript
js
const params = new URLSearchParams({ });
const res = await fetch(`https://api.scrapecreators.com/v1/spotify/artist?${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/artist',
headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
params={},
)
r.raise_for_status()
print(r.json())CLI
bash
scrapecreators spotify artist --helpExample Response
json
{
"success": true,
"credits_remaining": 49998219840,
"__typename": "Artist",
"discography": {
"albums": [
{
"copyright": [
{
"text": "© 2025 ILH Production Co. LLC, under exclusive license to Def Jam Recordings, a division of UMG Recordings, Inc.",
"type": "C"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02a958d093e94944dd0e7258b2",
"width": 300
}
]
},
"date": {
"day": 5,
"month": 9,
"precision": "DAY",
"year": 2025
},
"id": "2KrREEyHxkdFGYAd1DmMdS",
"label": "JRC Entertainment, LLC / ILH Production Co. LLC / Def Jam Recordings",
"name": "SWAG II",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "qFHryKZOR8WHlZqyx0JtIQ",
"shareUrl": "https://open.spotify.com/album/2KrREEyHxkdFGYAd1DmMdS?si=qFHryKZOR8WHlZqyx0JtIQ"
},
"tracks": {
"totalCount": 44
},
"type": "ALBUM",
"uri": "spotify:album:2KrREEyHxkdFGYAd1DmMdS"
}
],
"compilations": [],
"latest": null,
"popularReleasesAlbums": [
{
"copyright": [
{
"text": "© 2025 ILH Production Co. LLC, under exclusive license to Def Jam Recordings, a division of UMG Recordings, Inc.",
"type": "C"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02d65c4773bc5061fd27facc5b",
"width": 300
}
]
},
"date": {
"day": 11,
"month": 7,
"precision": "DAY",
"year": 2025
},
"id": "5vD5M5VW62LL78Ko8x0CVZ",
"label": "JRC Entertainment, LLC / ILH Production Co. LLC / Def Jam Recordings",
"name": "SWAG",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "6RjT1v-oQYubnPs8d_n1hQ",
"shareUrl": "https://open.spotify.com/album/5vD5M5VW62LL78Ko8x0CVZ?si=6RjT1v-oQYubnPs8d_n1hQ"
},
"tracks": {
"totalCount": 21
},
"type": "ALBUM",
"uri": "spotify:album:5vD5M5VW62LL78Ko8x0CVZ"
}
],
"singles": [
{
"copyright": [
{
"text": "(P) 2023 Top Dawg Entertainment, under exclusive license to RCA Records",
"type": "P"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e028ac04014f5db1daf4eb3731f",
"width": 300
}
]
},
... (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. |