Get Several Albums
AlbumBulkRetrieveResponse Albums.BulkRetrieve(AlbumBulkRetrieveParamsparameters, CancellationTokencancellationToken = default)
GET/albums
Get Spotify catalog information for multiple albums identified by their Spotify IDs.
Parameters
Returns
Get Several Albums
AlbumBulkRetrieveParams parameters = new()
{
Ids = "382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo,2noRn2Aes5aoNVsU6iWThc"
};
var response = await client.Albums.BulkRetrieve(parameters);
Console.WriteLine(response);{
"albums": [
{
"id": "2up3OPMp9Tb4dAKM2erWXQ",
"album_type": "compilation",
"available_markets": [
"CA",
"BR",
"IT"
],
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "name",
"release_date": "1981-12",
"release_date_precision": "year",
"total_tracks": 9,
"type": "album",
"uri": "spotify:album:2up3OPMp9Tb4dAKM2erWXQ",
"artists": [
{
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"name": "name",
"published": true,
"type": "artist",
"uri": "uri"
}
],
"copyrights": [
{
"published": true,
"text": "text",
"type": "type"
}
],
"external_ids": {
"ean": "ean",
"isrc": "isrc",
"published": true,
"upc": "upc"
},
"genres": [
"string"
],
"label": "label",
"popularity": 0,
"published": true,
"restrictions": {
"published": true,
"reason": "market"
},
"tracks": {
"href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20\n",
"limit": 20,
"next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"offset": 0,
"previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"total": 4,
"items": [
{
"id": "id",
"artists": [
{
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"name": "name",
"published": true,
"type": "artist",
"uri": "uri"
}
],
"available_markets": [
"string"
],
"disc_number": 0,
"duration_ms": 0,
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"is_local": true,
"is_playable": true,
"linked_from": {
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"published": true,
"type": "type",
"uri": "uri"
},
"name": "name",
"preview_url": "preview_url",
"published": true,
"restrictions": {
"published": true,
"reason": "reason"
},
"track_number": 0,
"type": "type",
"uri": "uri"
}
],
"published": true
}
}
]
}Returns Examples
{
"albums": [
{
"id": "2up3OPMp9Tb4dAKM2erWXQ",
"album_type": "compilation",
"available_markets": [
"CA",
"BR",
"IT"
],
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"images": [
{
"height": 300,
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"width": 300,
"published": true
}
],
"name": "name",
"release_date": "1981-12",
"release_date_precision": "year",
"total_tracks": 9,
"type": "album",
"uri": "spotify:album:2up3OPMp9Tb4dAKM2erWXQ",
"artists": [
{
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"name": "name",
"published": true,
"type": "artist",
"uri": "uri"
}
],
"copyrights": [
{
"published": true,
"text": "text",
"type": "type"
}
],
"external_ids": {
"ean": "ean",
"isrc": "isrc",
"published": true,
"upc": "upc"
},
"genres": [
"string"
],
"label": "label",
"popularity": 0,
"published": true,
"restrictions": {
"published": true,
"reason": "market"
},
"tracks": {
"href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20\n",
"limit": 20,
"next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"offset": 0,
"previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"total": 4,
"items": [
{
"id": "id",
"artists": [
{
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"name": "name",
"published": true,
"type": "artist",
"uri": "uri"
}
],
"available_markets": [
"string"
],
"disc_number": 0,
"duration_ms": 0,
"explicit": true,
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"is_local": true,
"is_playable": true,
"linked_from": {
"id": "id",
"external_urls": {
"published": true,
"spotify": "spotify"
},
"href": "href",
"published": true,
"type": "type",
"uri": "uri"
},
"name": "name",
"preview_url": "preview_url",
"published": true,
"restrictions": {
"published": true,
"reason": "reason"
},
"track_number": 0,
"type": "type",
"uri": "uri"
}
],
"published": true
}
}
]
}