<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MusicKit",
  "identifier" : "/documentation/MusicKit/Album/artistName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MusicKit"
    ],
    "preciseIdentifier" : "s:8MusicKit5AlbumV10artistNameSSvp"
  },
  "title" : "artistName"
}
-->

# artistName

The artist’s name.

```
var artistName: String { get }
```

## Discussion

You can find more precise information about this album’s artists
in the [`artists`](/documentation/MusicKit/Album/artists) relationship, which, unlike [`artistName`](/documentation/MusicKit/Album/artistName),
requires that you load it explicitly using the
[`with(_:)`](/documentation/MusicKit/MusicPropertyContainer/with(_:)) method, as in the following example:

```swift
    let detailedAlbum = try await album.with([.artists])
    let firstArtist = album.artists?.first
```

---

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)