Spotify Artist API
Provide one of: id, url. Get Spotify artist
Quick start
cURL
curl --request GET 'https://api.fetchproof.com/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02' \
--header 'x-api-key: YOUR_API_KEY' JavaScript
const response = await fetch("https://api.fetchproof.com/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02", {
method: 'GET',
headers: {
'x-api-key': process.env.FETCHPROOF_API_KEY,
},
});
const data = await response.json();
console.log(data); Python
import os
import requests
response = requests.get(
"https://api.fetchproof.com/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02",
headers={"x-api-key": os.environ["FETCHPROOF_API_KEY"]},
)
print(response.json()) Go
package main
import (
"fmt"
"io"
"net/http"
"os"
)
func main() {
req, _ := http.NewRequest("GET", "https://api.fetchproof.com/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02", nil)
req.Header.Set("x-api-key", os.Getenv("FETCHPROOF_API_KEY"))
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
} PHP
<?php
$ch = curl_init("https://api.fetchproof.com/v1/spotify/artist?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
'x-api-key: ' . getenv('FETCHPROOF_API_KEY'),
],
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response; {
"success": true,
"credits_remaining": 100,
"credits_charged": 1,
"__typename": "Artist",
"discography": {
"albums": [
{},
{},
{}
],
"compilations": [
{
"releases": [
{
"copyright": [
{
"text": "© 2024 Taylor Swift",
"type": "C"
},
{
"text": "℗ 2024 Taylor Swift",
"type": "P"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02c246cd7fb142b383672627c8",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d00004851c246cd7fb142b383672627c8",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b273c246cd7fb142b383672627c8",
"width": 640
}
]
},
"date": {
"day": 3,
"month": 10,
"precision": "DAY",
"year": 2024
},
"id": "30gDvYhEgyTbGEdCIY8FWV",
"label": "Taylor Swift",
"name": "THE TORTURED POETS DEPARTMENT | TS The Eras Tour Setlist",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "57FuQQnsSreIxLgA2BO3Yw",
"shareUrl": "https://open.spotify.com/album/30gDvYhEgyTbGEdCIY8FWV"
},
"tracks": {
"totalCount": 7
},
"type": "COMPILATION",
"uri": "spotify:album:30gDvYhEgyTbGEdCIY8FWV"
}
]
}
],
"latest": {
"copyright": [
{
"text": "© 2026 Taylor Swift",
"type": "C"
},
{
"text": "℗ 2026 Taylor Swift",
"type": "P"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e0216bc19366517944ef91c6654",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d0000485116bc19366517944ef91c6654",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b27316bc19366517944ef91c6654",
"width": 640
}
]
},
"date": {
"day": 16,
"month": 10,
"precision": "DAY",
"year": 2026
},
"id": "3rU7c934ngxDXPfjgXyzyu",
"label": "Taylor Swift",
"name": "Patient Zero",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "e1AgYF8mTn-ksVu3Y4aX-A",
"shareUrl": "https://open.spotify.com/album/3rU7c934ngxDXPfjgXyzyu"
},
"tracks": {
"totalCount": 3
},
"type": "SINGLE",
"uri": "spotify:album:3rU7c934ngxDXPfjgXyzyu"
},
"popularReleasesAlbums": [
{
"copyright": [
{
"text": "© 2026 Taylor Swift",
"type": "C"
},
{
"text": "℗ 2026 Taylor Swift",
"type": "P"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02cf3de6b538d8b1ed73a4d5d1",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d00004851cf3de6b538d8b1ed73a4d5d1",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b273cf3de6b538d8b1ed73a4d5d1",
"width": 640
}
]
},
"date": {
"day": 25,
"month": 9,
"precision": "DAY",
"year": 2026
},
"id": "4hF2gTGuPYlykYuphDxi8J",
"label": "Taylor Swift",
"name": "The Life of a Showgirl: The Encore",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "NUKy6Cv5TxuWfTsdjxJqlA",
"shareUrl": "https://open.spotify.com/album/4hF2gTGuPYlykYuphDxi8J"
},
"tracks": {
"totalCount": 16
},
"type": "ALBUM",
"uri": "spotify:album:4hF2gTGuPYlykYuphDxi8J"
},
{
"copyright": [
{
"text": "© 2025 Taylor Swift",
"type": "C"
},
{
"text": "℗ 2025 Taylor Swift",
"type": "P"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02d7812467811a7da6e6a44902",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d00004851d7812467811a7da6e6a44902",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b273d7812467811a7da6e6a44902",
"width": 640
}
]
},
"date": {
"day": 3,
"month": 10,
"precision": "DAY",
"year": 2025
},
"id": "4a6NzYL1YHRUgx9e3YZI6I",
"label": "Taylor Swift",
"name": "The Life of a Showgirl",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "d-NjWAETSQq69DAkP2PzKw",
"shareUrl": "https://open.spotify.com/album/4a6NzYL1YHRUgx9e3YZI6I"
},
"tracks": {
"totalCount": 12
},
"type": "ALBUM",
"uri": "spotify:album:4a6NzYL1YHRUgx9e3YZI6I"
},
{
"copyright": [
{
"text": "© 2020 Taylor Swift",
"type": "C"
},
{
"text": "℗ 2020 Taylor Swift",
"type": "P"
}
],
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e0295f754318336a07e85ec59bc",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d0000485195f754318336a07e85ec59bc",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b27395f754318336a07e85ec59bc",
"width": 640
}
]
},
"date": {
"day": 24,
"month": 7,
"precision": "DAY",
"year": 2020
},
"id": "2fenSS68JI1h4Fo296JfGr",
"label": "Taylor Swift",
"name": "folklore",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"sharingInfo": {
"shareId": "TTw_jY10Q_CK8D2sTM-3Sg",
"shareUrl": "https://open.spotify.com/album/2fenSS68JI1h4Fo296JfGr"
},
"tracks": {
"totalCount": 16
},
"type": "ALBUM",
"uri": "spotify:album:2fenSS68JI1h4Fo296JfGr"
}
],
"singles": [
{},
{},
{}
],
"topTracks": [
{
"track": {
"albumOfTrack": {
"coverArt": {
"sources": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02cf3de6b538d8b1ed73a4d5d1"
},
{
"url": "https://i.scdn.co/image/ab67616d00004851cf3de6b538d8b1ed73a4d5d1"
},
{
"url": "https://i.scdn.co/image/ab67616d0000b273cf3de6b538d8b1ed73a4d5d1"
}
]
},
"uri": "spotify:album:4hF2gTGuPYlykYuphDxi8J"
},
"artists": [
{
"profile": {
"name": "Taylor Swift"
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
}
],
"associationsV3": {
"videoAssociations": {
"totalCount": 1
}
},
"contentRating": {
"label": "NONE"
},
"discNumber": 2,
"duration": {
"totalMilliseconds": 225868
},
"id": "11hcBLPtbMp4aQI6zGQLub",
"name": "Patient Zero",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"playcount": 153088491,
"uri": "spotify:track:11hcBLPtbMp4aQI6zGQLub"
},
"uid": "f2742f3bb186cfa725cb"
},
{
"track": {
"albumOfTrack": {
"coverArt": {
"sources": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02d7812467811a7da6e6a44902"
},
{
"url": "https://i.scdn.co/image/ab67616d00004851d7812467811a7da6e6a44902"
},
{
"url": "https://i.scdn.co/image/ab67616d0000b273d7812467811a7da6e6a44902"
}
]
},
"uri": "spotify:album:4a6NzYL1YHRUgx9e3YZI6I"
},
"artists": [
{
"profile": {
"name": "Taylor Swift"
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
}
],
"associationsV3": {
"videoAssociations": {
"totalCount": 1
}
},
"contentRating": {
"label": "NONE"
},
"discNumber": 1,
"duration": {
"totalMilliseconds": 226073
},
"id": "53iuhJlwXhSER5J2IYYv1W",
"name": "The Fate of Ophelia",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"playcount": 1788255253,
"uri": "spotify:track:53iuhJlwXhSER5J2IYYv1W"
},
"uid": "231bf597ddd1da456200"
},
{
"track": {
"albumOfTrack": {
"coverArt": {
"sources": [
{
"url": "https://i.scdn.co/image/ab67616d00001e029abdf14e6058bd3903686148"
},
{
"url": "https://i.scdn.co/image/ab67616d000048519abdf14e6058bd3903686148"
},
{
"url": "https://i.scdn.co/image/ab67616d0000b2739abdf14e6058bd3903686148"
}
]
},
"uri": "spotify:album:2QJmrSgbdM35R67eoGQo4j"
},
"artists": [
{
"profile": {
"name": "Taylor Swift"
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
}
],
"associationsV3": {
"videoAssociations": {
"totalCount": 1
}
},
"contentRating": {
"label": "NONE"
},
"discNumber": 1,
"duration": {
"totalMilliseconds": 231826
},
"id": "1p80LdxRV74UKvL8gnD7ky",
"name": "Blank Space",
"playability": {
"playable": true,
"reason": "PLAYABLE"
},
"playcount": 2672527890,
"uri": "spotify:track:1p80LdxRV74UKvL8gnD7ky"
},
"uid": "757bc433e2b78d7729b7"
}
]
},
"goods": {
"concerts": [],
"merch": []
},
"headerImage": {},
"id": "06HL4z0CvFAxyc27GXpf02",
"onPlatformReputationTrait": {
"verification": {
"isRegistered": true,
"isVerified": true
}
},
"preRelease": null,
"profile": {
"biography": {
"text": "And, baby, that’s sh0w business f0r y0u ❤️🔥",
"type": "AUTOBIOGRAPHY"
},
"externalLinks": [
{
"name": "FACEBOOK",
"url": "https://facebook.com/TaylorSwift"
},
{
"name": "INSTAGRAM",
"url": "https://instagram.com/taylorswift"
},
{
"name": "TWITTER",
"url": "https://twitter.com/taylorswift13"
}
],
"name": "Taylor Swift",
"pinnedItem": {
"backgroundImageV2": null,
"comment": "And, baby, thats sh0w business f0r y0u",
"itemV2": {
"__typename": "AlbumResponseWrapper",
"data": {
"__typename": "Album",
"coverArt": {
"sources": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02cf3de6b538d8b1ed73a4d5d1",
"width": 300
},
{
"height": 64,
"url": "https://i.scdn.co/image/ab67616d00004851cf3de6b538d8b1ed73a4d5d1",
"width": 64
},
{
"height": 640,
"url": "https://i.scdn.co/image/ab67616d0000b273cf3de6b538d8b1ed73a4d5d1",
"width": 640
}
]
},
"name": "The Life of a Showgirl: The Encore",
"preReleaseEndDateTime": {
"isoString": "2026-09-25T04:00:00Z"
},
"type": "ALBUM",
"uri": "spotify:album:4hF2gTGuPYlykYuphDxi8J"
}
},
"subtitle": "Album • New Release",
"thumbnailImage": {},
"title": "The Life of a Showgirl: The Encore",
"type": "ALBUM",
"uri": "spotify:album:4hF2gTGuPYlykYuphDxi8J"
},
"playlistsV2": [
{},
{},
{}
]
},
"relatedContent": {
"appearsOn": [
{},
{},
{}
],
"discoveredOnV2": [
{},
{},
{}
],
"featuringV2": [
{},
{},
{}
],
"relatedArtists": [
{
"id": "1McMsnEElThX1knmY4oliG",
"profile": {
"name": "Olivia Rodrigo"
},
"uri": "spotify:artist:1McMsnEElThX1knmY4oliG",
"visuals": {
"avatarImage": {
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761610000e5ebb14eb4dcfd2f3858bed06e44",
"width": 640
},
{
"height": 160,
"url": "https://i.scdn.co/image/ab6761610000f178b14eb4dcfd2f3858bed06e44",
"width": 160
},
{
"height": 320,
"url": "https://i.scdn.co/image/ab67616100005174b14eb4dcfd2f3858bed06e44",
"width": 320
}
]
}
}
},
{
"id": "74KM79TiuVKeVCqs8QtB0B",
"profile": {
"name": "Sabrina Carpenter"
},
"uri": "spotify:artist:74KM79TiuVKeVCqs8QtB0B",
"visuals": {
"avatarImage": {
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761610000e5eb78e45cfa4697ce3c437cb455",
"width": 640
},
{
"height": 160,
"url": "https://i.scdn.co/image/ab6761610000f17878e45cfa4697ce3c437cb455",
"width": 160
},
{
"height": 320,
"url": "https://i.scdn.co/image/ab6761610000517478e45cfa4697ce3c437cb455",
"width": 320
}
]
}
}
},
{
"id": "4tuJ0bMpJh08umKkEXKUI5",
"profile": {
"name": "Gracie Abrams"
},
"uri": "spotify:artist:4tuJ0bMpJh08umKkEXKUI5",
"visuals": {
"avatarImage": {
"sources": [
{
"height": 640,
"url": "https://i.scdn.co/image/ab6761610000e5ebe1800836d95b63c49e60ea3b",
"width": 640
},
{
"height": 160,
"url": "https://i.scdn.co/image/ab6761610000f178e1800836d95b63c49e60ea3b",
"width": 160
},
{
"height": 320,
"url": "https://i.scdn.co/image/ab67616100005174e1800836d95b63c49e60ea3b",
"width": 320
}
]
}
}
}
]
},
"relatedMusicVideos": [
{
"_uri": "spotify:track:5UuzwCObT3X0CRIZd7JzMs",
"data": {
"__typename": "Track",
"albumOfTrack": {
"coverArt": {
"sources": [
{
"height": 720,
"url": "https://i.scdn.co/image/ab6742d3000053b769f575905e3f445e148008e4",
"width": 1280
},
{
"height": 360,
"url": "https://i.scdn.co/image/ab6742d3000052b769f575905e3f445e148008e4",
"width": 640
},
{
"height": 720,
"url": "https://i.scdn.co/image/ab6742d3000053b769f575905e3f445e148008e4",
"width": 1280
}
]
},
"uri": "spotify:album:2aQd4t6DAhhXjLqlwwLcoN"
},
"artists": [
{
"profile": {
"name": "Taylor Swift"
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
}
],
"associationsV3": {
"audioAssociations": [
{
"trackAudio": {
"_uri": "spotify:track:2mvabkN1i2gLnGAPUVdwek",
"data": {
"__typename": "Track",
"contentRating": {
"label": "NONE"
},
"contentRatingV2": null
}
}
}
]
},
"contentRating": {
"label": "NONE"
},
"contentRatingV2": null,
"name": "Christmas Tree Farm",
"uri": "spotify:track:5UuzwCObT3X0CRIZd7JzMs"
}
},
{
"_uri": "spotify:track:3cXSFCQt93P3jDQB31NElw",
"data": {
"__typename": "Track",
"albumOfTrack": {
"coverArt": {
"sources": [
{
"height": 720,
"url": "https://i.scdn.co/image/ab6742d3000053b71dfe24f265158f4cbe3eafdf",
"width": 1280
},
{
"height": 360,
"url": "https://i.scdn.co/image/ab6742d3000052b71dfe24f265158f4cbe3eafdf",
"width": 640
},
{
"height": 720,
"url": "https://i.scdn.co/image/ab6742d3000053b71dfe24f265158f4cbe3eafdf",
"width": 1280
}
]
},
"uri": "spotify:album:6iujSlGXULV63oLFsJsW8Y"
},
"artists": [
{
"profile": {
"name": "Taylor Swift"
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
}
],
"associationsV3": {
"audioAssociations": [
{
"trackAudio": {
"_uri": "spotify:track:5kHMfzgLZP95O9NBy0ku4v",
"data": {
"__typename": "Track",
"contentRating": {
"label": "NONE"
},
"contentRatingV2": null
}
}
}
]
},
"contentRating": {
"label": "NONE"
},
"contentRatingV2": null,
"name": "I Can See You (Taylor’s Version) (From The Vault)",
"uri": "spotify:track:3cXSFCQt93P3jDQB31NElw"
}
},
{
"_uri": "spotify:track:5Jly8ltNN6mNQo1jwFT9Ye",
"data": {
"__typename": "Track",
"albumOfTrack": {
"coverArt": {
"sources": [
{
"height": 720,
"url": "https://i.scdn.co/image/ab6742d3000053b7c2ff4b27f2a4a3a219f555a4",
"width": 1280
},
{
"height": 360,
"url": "https://i.scdn.co/image/ab6742d3000052b7c2ff4b27f2a4a3a219f555a4",
"width": 640
},
{
"height": 720,
"url": "https://i.scdn.co/image/ab6742d3000053b7c2ff4b27f2a4a3a219f555a4",
"width": 1280
}
]
},
"uri": "spotify:album:4Qgwr00zy0Mz5oBGPxzVyC"
},
"artists": [
{
"profile": {
"name": "Taylor Swift"
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02"
}
],
"associationsV3": {
"audioAssociations": [
{
"trackAudio": {
"_uri": "spotify:track:3RauEVgRgj1IuWdJ9fDs70",
"data": {
"__typename": "Track",
"contentRating": {
"label": "NONE"
},
"contentRatingV2": null
}
}
}
]
},
"contentRating": {
"label": "NONE"
},
"contentRatingV2": null,
"name": "The Man",
"uri": "spotify:track:5Jly8ltNN6mNQo1jwFT9Ye"
}
}
],
"saved": false,
"sharingInfo": {
"shareId": "9QlhNC9WSDGf_rQgOplTMA",
"shareUrl": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
},
"stats": {
"followers": 166670065,
"monthlyListeners": 96630945,
"topCities": [
{
"city": "London",
"country": "GB",
"numberOfListeners": 1336233,
"region": "ENG"
},
{
"city": "Quezon City",
"country": "PH",
"numberOfListeners": 1325516,
"region": "00"
},
{
"city": "Jakarta",
"country": "ID",
"numberOfListeners": 1132119,
"region": "JK"
}
],
"worldRank": 6
},
"uri": "spotify:artist:06HL4z0CvFAxyc27GXpf02",
"watchFeedEntrypoint": null
} What it returns
- success boolean
- credits_remaining integer
- credits_charged integer
- __typename string
- discography object
- goods object
- headerImage object
- id string
- onPlatformReputationTrait object
- preRelease null
Parameters
Spotify artist ID. Provide id or url.
Spotify artist URL. Provide id or url.
Use cases
- Verify the artist ID associated with a release
- Populate a public artist card for a festival lineup
- Disambiguate profiles that use the same stage name
- Inspect artist metadata before recommending catalogue links
Billing
Errors cost zero credits. Empty results follow this operation’s rules.
Default: 1 credit
An empty result costs 0 credits.
How charges are determined
Cost is decided per call, not per endpoint: the same operation can cost different amounts depending on what it returns.
A call that fails costs 0 credits. A result served from cache costs 0 credits.
`default` is the cost when no rule matches. Rules are evaluated in order and the first whose conditions all hold wins.
A `when` condition is one of: `param` (the request parameter is true), `outcome` (the classifier's outcome), `empty` / `nonEmpty` (a response field is empty and absent, or a non-empty array or string), `flag` (a response field is exactly true).
A cost of `{ perStartedMinute: n, of: [fields] }` is n x max(1, ceil(seconds / 60)), so even a short result bills at least one minute.
Related Spotify endpoints
FAQ
How much does the Spotify Artist API cost?
A call costs 1 credit by default. Errors cost 0 credits. New accounts get 100 free credits with no card. After that, credits come in one-time packs that never expire: 25,000 for $27 and 500,000 for $297 (plus any tax). There is no subscription.
What do I need to call it?
An API key in the x-api-key header, and one of id or url. You don't need a Spotify account or developer app.
What does it return?
Typed JSON. Top-level fields include __typename, discography, goods, headerImage, id and onPlatformReputationTrait. The full schema and a real sample response are on this page and in the API reference.
Is this an official Spotify API?
No. Fetchproof is an unofficial API that returns public Spotify data only.