<!--
{
  "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/MusicPersonalRecommendationsRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "MusicKit"
    ],
    "preciseIdentifier" : "s:8MusicKit0A30PersonalRecommendationsRequestV"
  },
  "title" : "MusicPersonalRecommendationsRequest"
}
-->

# MusicPersonalRecommendationsRequest

A request that your app uses to fetch music recommendations
based on the user’s library and listening history.

```
struct MusicPersonalRecommendationsRequest
```

## Topics

### Initializers

[`init()`](/documentation/MusicKit/MusicPersonalRecommendationsRequest/init())

Creates a request to fetch default personal recommendations
for the user.

[`init<S>(refreshing: S)`](/documentation/MusicKit/MusicPersonalRecommendationsRequest/init(refreshing:))

Creates a request to fetch default personal recommendations
for the user.

### Instance Properties

[`var limit: Int?`](/documentation/MusicKit/MusicPersonalRecommendationsRequest/limit)

A limit for the number of recommendations to return
in the personal recommendations response.

[`var offset: Int?`](/documentation/MusicKit/MusicPersonalRecommendationsRequest/offset)

An offset for the request.

### Instance Methods

[`func response() async throws -> MusicPersonalRecommendationsResponse`](/documentation/MusicKit/MusicPersonalRecommendationsRequest/response())

Fetches the music recommendations based on the user’s library
and listening history.

## Relationships

### Conforms To

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

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

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

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

---

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)