Skip to main content

Apple releases official Apple Music API documentation following iOS 9.3

Apple today has officially released more information on the Apple Music API available in iOS 9.3. Entitled Apple Music Best Practices for App Developers, the documentation today solidifies what the Apple Music API can do and sets a precedent that developers of music apps should follow. At the original release of iOS 9.3, there seemed to be some confusion as to what the Apple Music API would entail exactly. We had reached out to Ben Dodson, developer of Music Tracker, to better understand the limitations and new features the API could introduce. Today’s document verifies our original thoughts.

The best practices guide released today reminds developers that there are limitations when using the Apple Music API and developers should review the App Store Review guidelines. Calling out sections such as 8.6 (Apps that include the ability to save or download music…without explicit authorization from those sources will be rejected), Apple makes clear the expectations they have of developers.

For those who may have missed our original article, we discussed the possibility of apps like Shazam discovering a song, and then adding it directly to the user’s Apple Music library. Just a month later, this is exactly what Shazam implemented. Today’s affiliate resources guide also explains that if a user does not currently subscribe to Apple Music, developers can earn a one-time commission when the user converts from an Apple Music trial membership to a paid plan.

The Apple Music API overview is added below, but head over to the official page for the full breakdown.

We are excited to announce that Apple Music API is now available on iOS 9.3. The Apple Music API allows developers to directly control Apple Music playback for Members among other features.

  • Developers can see if a user is currently a member
  • Developers can see which country the users account is based
  • Developers can queue up the next song or songs based on a song ID for playback
  • Developers can inspect playlists already in My Music or create a new playlists with a title and description (see App Store Review Guidelines for limitation)

We encourage developers to use the Apple Music API to provide a superior user experience by integrating these features in your app.

– Apple Music Best Practices for App Developers

Apple’s addition of an Apple Music API further closes the gap in differences between Beats Music and Apple Music. Beats Music also had an API that allowed developers to create ways to search through the Beats Music Catalog, play songs, and create, update, and show playlists. No longer available, ProgrammableWeb still displays a small sampling of what was possible with the Beats Music REST API.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. John Barker - 9 years ago

    Great to see them heading in this direction; now, hopefully they’ll release a REST API for Apple Music.

    • Greg Barbosa - 9 years ago

      Zac Hall just reminded me that Beats Music actually had a REST API for it. I added another paragraph mentioning such. I wonder if Apple Music will get a REST API or if they’d rather have everything run through their devices and platforms.

  2. Andrew Messenger - 9 years ago

    I want DJay to work with AppleMusic the way it works with Spotify.

    • Greg Barbosa - 9 years ago

      Agreed, that would be great. Don’t think at this current state Apple allows that just yet.

  3. obed17 - 9 years ago

    Hopefully Starbucks app can use it, I don’t have Spotify

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications