<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MusicKit",
  "identifier" : "/documentation/MusicKit/MusicPersonalRecommendation",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MusicKit"
    ],
    "preciseIdentifier" : "s:8MusicKit0A22PersonalRecommendationV"
  },
  "title" : "MusicPersonalRecommendation"
}
-->

# MusicPersonalRecommendation

An object that contains recommended items based on the user’s library
and listening history.

```
struct MusicPersonalRecommendation
```

## Topics

### Instance Properties

[`var albums: MusicItemCollection<Album>`](/documentation/MusicKit/MusicPersonalRecommendation/albums)

The albums for the personal recommendation.

[`let id: MusicItemID`](/documentation/MusicKit/MusicPersonalRecommendation/id)

The unique identifier for the personal recommendation.

[`var items: MusicItemCollection<MusicPersonalRecommendation.Item>`](/documentation/MusicKit/MusicPersonalRecommendation/items)

The items for the personal recommendation.

[`let nextRefreshDate: Date?`](/documentation/MusicKit/MusicPersonalRecommendation/nextRefreshDate)

The next date for refreshing the personal recommendation.

[`var playlists: MusicItemCollection<Playlist>`](/documentation/MusicKit/MusicPersonalRecommendation/playlists)

The playlists for the personal recommendation.

[`let reason: String?`](/documentation/MusicKit/MusicPersonalRecommendation/reason)

The reason for the personal recommendation.

[`var stations: MusicItemCollection<Station>`](/documentation/MusicKit/MusicPersonalRecommendation/stations)

The stations for the personal recommendation.

[`let title: String?`](/documentation/MusicKit/MusicPersonalRecommendation/title)

The title for the personal recommendation.

[`var types: [any MusicPersonalRecommendationItem.Type]`](/documentation/MusicKit/MusicPersonalRecommendation/types)

The types of items in the personal recommendation.

### Enumerations

[`enum Item`](/documentation/MusicKit/MusicPersonalRecommendation/Item)

An item that represents an album, a playlist, or a station
for a personal recommendation.

## Relationships

### Conforms To

[`Copyable`](/documentation/Swift/Copyable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Decodable`](/documentation/Swift/Decodable)

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Escapable`](/documentation/Swift/Escapable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`MusicItem`](/documentation/MusicKit/MusicItem)

[`Identifiable`](/documentation/Swift/Identifiable)

[`Encodable`](/documentation/Swift/Encodable)

---

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)