---
title: Songs.Attributes
framework: applemusicapi
role: symbol
role_heading: Object
path: applemusicapi/songs/attributes-data.dictionary
---

# Songs.Attributes

The attributes for a song resource.

## Declaration

```data
object Songs.Attributes
```

## Properties

albumName: The name of the album the song appears on. artistName: The artist’s name. artistUrl: (Extended) The URL of the artist for the content. artwork: The album artwork. attribution: (Classical music only) The name of the artist or composer to attribute the song with. audioVariants: (Extended) Indicates the specific audio variant for a song. important: Use badges to indicate the audio variant in Apple Music. For more information, see Dolby Asset Center (DAC) for identifying tracks with the Dolby Atmos logo and Apple Lossless glyphs for identifying tracks with the specific Apple Lossless glyph. composerName: The song’s composer. contentRating: The Recording Industry Association of America (RIAA) rating of the content. No value means no rating. discNumber: The disc number of the album the song appears on. durationInMillis: The duration of the song in milliseconds. editorialNotes: The notes about the song that appear in the Apple Music catalog. genreNames: The genre names the song is associated with. hasLyrics: Indicates whether the song has lyrics available in the Apple Music catalog. If true, the song has lyrics available; otherwise, it doesn’t. inFavorites: Whether the catalog resource ID is in the person’s favorites. isAppleDigitalMaster: Indicates whether the response delivered the song as an Apple Digital Master. isrc: The International Standard Recording Code (ISRC) for the song. movementCount: (Classical music only) The movement count of the song. movementName: (Classical music only) The movement name of the song. movementNumber: (Classical music only) The movement number of the song. name: The localized name of the song. playParams: When present, this attribute indicates that the song is available to play with an Apple Music subscription. The value map may be used to initiate playback. Previews of the song audio may be available with or without an Apple Music subscription. previews: The preview assets for the song. releaseDate: The release date of the song, when known, in YYYY-MM-DD or YYYY format. Prerelease songs may have an expected release date in the future. trackNumber: The number of the song in the album’s track list. url: The URL for sharing the song in Apple Music. workName: (Classical music only) The name of the associated work.

## See Also

### Related Objects

- [Songs.Relationships](applemusicapi/songs/relationships-data.dictionary.md)
