API REFERENCE
Get Artist
On this page
/api/spotify/artist/Get Spotify catalog information for a single artist identified by their unique Spotify ID.
Authentication
See the authentication guide for API key and account access requirements.
Request
curl --request GET \
--url 'https://api.recoupable.dev/api/spotify/artist/?id=YOUR_ID' \
--header 'x-api-key: YOUR_API_KEY'Replace the YOUR_ placeholders with your values. Required query parameters are included; optional parameters are listed below.
Parameters
Query parameters
idstringrequiredThe Spotify ID of the artist
Responses
200Artist retrieved successfully+
application/json
artistobjectnullableThe Spotify artist object (null if error)
Properties for artist
external_urlsobjectProperties for external_urls
spotifystringThe Spotify URL for the object
followersobjectProperties for followers
hrefstringnullableThis will always be set to null
totalintegerThe total number of followers
genresarray<string>A list of the genres the artist is associated with
Item properties for genres
string
hrefstringA link to the Web API endpoint providing full details
idstringThe Spotify ID for the artist
imagesarray<SpotifyImage>Images of the artist in various sizes
Item properties for images
urlstringThe source URL of the image
heightintegernullableThe image height in pixels
widthintegernullableThe image width in pixels
namestringThe name of the artist
popularityintegerThe popularity of the artist (0-100)
typestring · enumThe object type, always 'artist'
Values: "artist"
uristringThe Spotify URI for the artist
errorobjectnullableError object if request failed (null if successful)
400Bad request - missing required parameters+
application/json
errorobjectError details
Properties for error
statusintegerHTTP status code
messagestringError message
Full specification
Download the OpenAPI file for complete schemas, constraints, and examples.
Download social.jsonView operation source
{
"description": "Get Spotify catalog information for a single artist identified by their unique Spotify ID.",
"parameters": [
{
"name": "id",
"in": "query",
"description": "The Spotify ID of the artist",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Artist retrieved successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SpotifyGetArtistResponse"
}
}
}
},
"400": {
"description": "Bad request - missing required parameters",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SpotifyErrorResponse"
}
}
}
}
}
}