Get an Artist's Albums
Developing
GET
/artists/{id}/albums
category-artists
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/v1/artists//albums' \
--header 'Authorization;'
Response Response Example
200 - Example 1
{
"href": "string",
"items": [
{
"album_group": "string",
"album_type": "string",
"artists": [
{
"external_urls": {
"spotify": "string"
},
"href": "string",
"id": "string",
"name": "string",
"type": "string",
"uri": "string"
}
],
"available_markets": [
"string"
],
"external_urls": {
"spotify": "string"
},
"href": "string",
"id": "string",
"images": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"name": "string",
"release_date": "string",
"release_date_precision": "string",
"restrictions": {
"reason": "string"
},
"total_tracks": 0,
"type": "string",
"uri": "string"
}
],
"limit": 0,
"next": "string",
"offset": 0,
"previous": "string",
"total": 0
}
Request
Path Params
id
string
required
Query Params
include_groups
string
optional
album
single
appears_on
compilation
For example:
include_groups=album,single
.market
string
optional
country
. An ISO 3166-1 alpha-2 country code or the string from_token
.Supply this parameter to limit the response to one particular geographical market. For example, for albums available in Sweden:
market=SE
.If not given, results will be returned for all markets and you are likely to get duplicate results per album, one for each market in which the album is available!
limit
integer
optional
limit=2
offset
integer
optional
limit
to get the next set of albums.Header Params
Authorization
string
required
Responses
Modified at 2022-09-12 10:04:50