<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AppleMusicAPI",
  "identifier" : "/documentation/AppleMusicAPI/Get-All-Library-Albums",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Apple Music API"
    ],
    "preciseIdentifier" : "rest:music_api:get:v1-me-library-albums#all"
  },
  "title" : "Get All Library Albums"
}
-->

# Get All Library Albums

Fetch all the library albums in alphabetical order.

## Discussion

If successful, the HTTP status code is 200 (OK) and the `data` array contains the requested resource object. If unsuccessful, the HTTP status code indicates the error and the details are in the `errors` array.

This endpoint requires a music user token. For more information, see [User Authentication for MusicKit](/documentation/AppleMusicAPI/user-authentication-for-musickit).

### Example

**Request:**

```
https://api.music.apple.com/v1/me/library/albums
```

**Response:**

```json
{
    "next": "/v1/me/library/albums?offset=2",
    "data": [
        {
            "id": "l.sticiFl",
            "type": "library-albums",
            "href": "/v1/me/library/albums/l.sticiFl",
            "attributes": {
                "trackCount": 15,
                "genreNames": [
                    "Country"
                ],
                "releaseDate": "2022-02-11",
                "name": "Bronco",
                "artistName": "Orville Peck",
                "artwork": {
                    "width": 1200,
                    "height": 1200,
                    "url": "https://is3-ssl.mzstatic.com/image/thumb/Music116/v4/6d/de/02/6dde02ae-a9fe-f96e-e81f-4f18ad13d2f9/886449873302.jpg/{w}x{h}bb.jpg"
                },
                "playParams": {
                    "id": "l.sticiFl",
                    "kind": "album",
                    "isLibrary": true
                },
                "dateAdded": "2022-08-06T02:18:57Z"
            }
        },
        {
            "id": "l.OGRixf5",
            "type": "library-albums",
            "href": "/v1/me/library/albums/l.OGRixf5",
            "attributes": {
                "trackCount": 14,
                "genreNames": [
                    "Alternative"
                ],
                "releaseDate": "2022-03-12",
                "name": "Dance Fever",
                "artistName": "Florence + the Machine",
                "artwork": {
                    "width": 1200,
                    "height": 1200,
                    "url": "https://is1-ssl.mzstatic.com/image/thumb/Music116/v4/93/ce/c5/93cec50d-bb01-3a42-364a-54af31cd73c7/22UMGIM23127.rgb.jpg/{w}x{h}bb.jpg"
                },
                "playParams": {
                    "id": "l.OGRixf5",
                    "kind": "album",
                    "isLibrary": true
                },
                "dateAdded": "2022-08-06T02:18:51Z"
            }
        }
    ],
    "meta": {
        "total": 10
    }
}
```

## See Also

[`LibraryAlbums`](/documentation/AppleMusicAPI/LibraryAlbums)

A resource object that represents a library album.

[`LibraryAlbumsResponse`](/documentation/AppleMusicAPI/LibraryAlbumsResponse)

The response to a library albums request.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)