curl --request GET \
--url https://spotify-api31.p.rapidapi.com/api/v1/artists/singles \
--header 'x-rapidapi-key: <api-key>'{
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
},
"data": {
"totalCount": 61,
"items": [
{
"releases": {
"items": [
{
"id": "5I3jxZBcD0iSfTsjBHM1MD",
"name": "Boom Boom Beats: Kids Mix",
"uri": "spotify:album:5I3jxZBcD0iSfTsjBHM1MD",
"type": "EP",
"coverArts": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02197ab9d5df763d4e6df9818b",
"width": 300,
"height": 300
}
]
}
]
}
}
]
}
}Get singles for the specified artist
curl --request GET \
--url https://spotify-api31.p.rapidapi.com/api/v1/artists/singles \
--header 'x-rapidapi-key: <api-key>'{
"message": "Success",
"statusCode": 200,
"pagination": {
"total": 100,
"hasMore": true,
"continuation": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
},
"data": {
"totalCount": 61,
"items": [
{
"releases": {
"items": [
{
"id": "5I3jxZBcD0iSfTsjBHM1MD",
"name": "Boom Boom Beats: Kids Mix",
"uri": "spotify:album:5I3jxZBcD0iSfTsjBHM1MD",
"type": "EP",
"coverArts": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02197ab9d5df763d4e6df9818b",
"width": 300,
"height": 300
}
]
}
]
}
}
]
}
}API Key
Spotify artist URI to get artist singles
^spotify:artist:[a-zA-Z0-9]+$"spotify:artist:1yxSLGMDHlW21z4YXirZDS"
Offset for pagination (default: 0)
x >= 00
Number of results to return
1 <= x <= 10020
Order by
DATE_ASC, DATE_DESC "DATE_DESC"
Was this page helpful?