<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INMediaSearch/artistName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INMediaSearch(py)artistName"
  },
  "title" : "artistName"
}
-->

# artistName

The name of the artist to search for.

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

## Discussion

Only use this property for combination queries in conjunction with the [`mediaName`](/documentation/Intents/INMediaSearch/mediaName) property. For example, “Play the song requestedSongName on the album requestedAlbumName by requestedArtistName”.

```swift
{
  mediaName: requestedSongName
  mediaType: song
  albumName: requestedAlbumName
  artistName: requestedArtistName
}
```

Do not use this property when the user requests to play an artist. For example, “Play the band requestedArtistName”.

```swift
{
  mediaName: requestedArtistName
  mediaType: artist
}
```

---

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)