Album
Album Resource
An Album represents a collection of tracks released by one or many artists.
info
- Can have multiple tracks.
- Can belong to multiple artists.
Attributes:
Attribute | Type | Description |
---|---|---|
id | string | Unique ID for the album |
albumType | string | The type of the album. Allowed values: album , single , compilation |
artists | object[] | List of artists associated with the album |
totalTracks | integer | Total number of tracks in the album |
href | string | Known Spotify URLs for this album |
name | string | Name of the album |
availableCountries | string | List of available countries for this album, identified by their ISO 3166-1 alpha-2 code. Separated by commas (Optional) |
releaseDate | string | The date the album was first released (Optional) |
releaseDateFormat | string | The precision with which releaseDate value is known. Allowed values: day (YYYY-MM-DD) , month (MM-DD) , year (YYYY) |
isrc | string | International Standard Recording Code (Optional) |
ean | string | European Article Number (Optional) |
upc | string | Universal Product Code (Optional) |
label | string | The label associated with the album |
popularity | integer | The popularity of the album, ranging from 0 to 100, with 100 being the most popular |
Album Example:
{
"id": "2670c328-c40f-45f4-80df-f48b29296deb",
"albumType": "album",
"artists": [
{
"id": "c7b330b5-a62e-420c-bf02-943ca6bb8746",
"name": "Taylor Swift",
"href": "https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02"
}
],
"totalTracks": 46,
"href": "https://open.spotify.com/album/1MPAXuTVL2Ej5x0JHiSPq8",
"name": "reputation Stadium Tour Surprise Song Playlist",
"availableCountries": "AR,AU,AT,BE,BO,BR,BG,CA,CL,CO,CR,CY,CZ,DK,DO,DE,EC,EE,SV,FI,FR,GR,GT,HN,HK,HU,IS,IE,IT,LV,LT,LU,MY,MT,MX,NL,NZ,NI,NO,PA,PY,PE,PH,PL,PT,SG,SK,ES,SE,CH,TW,TR,UY,US,GB,AD,LI,MC,ID,JP,TH,VN,RO,IL,ZA,SA,AE,BH,QA,OM,KW,EG,MA,DZ,TN,LB,JO,PS,IN,BY,KZ,MD,UA,AL,BA,HR,ME,MK,RS,SI,KR,BD,PK,LK,GH,KE,NG,TZ,UG,AG,AM,BS,BB,BZ,BT,BW,BF,CV,CW,DM,FJ,GM,GE,GD,GW,GY,HT,JM,KI,LS,LR,MW,MV,ML,MH,FM,NA,NR,NE,PW,PG,WS,SM,ST,SN,SC,SL,SB,KN,LC,VC,SR,TL,TO,TT,TV,VU,AZ,BN,BI,KH,CM,TD,KM,GQ,SZ,GA,GN,KG,LA,MO,MR,MN,NP,RW,TG,UZ,ZW,BJ,MG,MU,MZ,AO,CI,DJ,ZM,CD,CG,IQ,LY,TJ,VE,ET,XK",
"releaseDate": "2017-11-09",
"releaseDateFormat": "day",
"isrc": null,
"ean": null,
"upc": "00843930039371",
"label": "Big Machine Records, LLC",
"popularity": 68
}