curl --request GET \
--url https://spotify-api31.p.rapidapi.com/api/v1/artists/related \
--header 'x-rapidapi-key: <api-key>'{
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
},
"data": {
"totalCount": 40,
"items": [
{
"id": "0b1sIQumIAsNbqAoIClSpy",
"name": "j-hope",
"uri": "spotify:artist:0b1sIQumIAsNbqAoIClSpy",
"avatars": [
{
"url": "https://i.scdn.co/image/ab6761610000e5eb25c2401c3595f0ac35e19b98",
"width": 640,
"height": 640
}
]
}
]
}
}Get artists related to the specified artist (Fans also like)
curl --request GET \
--url https://spotify-api31.p.rapidapi.com/api/v1/artists/related \
--header 'x-rapidapi-key: <api-key>'{
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
},
"data": {
"totalCount": 40,
"items": [
{
"id": "0b1sIQumIAsNbqAoIClSpy",
"name": "j-hope",
"uri": "spotify:artist:0b1sIQumIAsNbqAoIClSpy",
"avatars": [
{
"url": "https://i.scdn.co/image/ab6761610000e5eb25c2401c3595f0ac35e19b98",
"width": 640,
"height": 640
}
]
}
]
}
}API Key
Spotify artist URI to get related artists
^spotify:artist:[a-zA-Z0-9]+$"spotify:artist:3Nrfpe0tUJi4K4DXYWgMUX"
Was this page helpful?