This Week's Sponsor:

Whisper Memos

Turn Your Ramblings into Paragraphed Articles, Sent Right to Your Email Inbox


Apple Announces New Apple Music API

Today Apple announced a new Apple Music API via its Affiliate Program Newsletter. According to Apple, the API:

…allows iOS apps to directly control Apple Music playback and more. We encourage affiliates to use the Apple Music API to provide a superior user experience by integrating music into their apps.

With the Apple Music API you can:

  • See if a user is currently an Apple Music member
  • See which country the user’s account is based in
  • Queue up the next song or songs based on a song ID for playback
  • Inspect playlists already in My Music or create a new playlist with a title and description (see App Store Review Guidelines for limitations).

The announcement coincides with the introduction of a new Apple Music Best Practices for Apple Developers page that serves as a hub for developer and affiliate program resources related to Apple Music. The page includes:

  • App Review guidelines applicable to the Apple Music API, some of which are new.
  • Links to developer documentation for the Apple Music APIs.
  • A summary of Apple Music identity guidelines regarding the use of the Apple Music name, logos, and related matters, with a link to the more comprehensive Apple Music Identity Guidelines.
  • Links to more information regarding the iTunes Affiliate Program.
  • A link to the Apple Music Toolbox page for searching Apple Music in each of the 113 Apple Music countries by artist, song, album, playlist, Connect, curator, radio and music video, from which you can generate affiliate links.

One thing I’d like to see added to these tools is the ability to return search results for items like playlists using the iTunes Search API, which would allow developers to generate affiliate links to them programatically. Right now those links can only be generated from the web-based search tool in the Apple Music Toolbox. Nonetheless, it’s nice to see Apple Music being opened up to developers, and not surprising given the emphasis on services during Tuesday’s investor call.

Unlock More with Club MacStories

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.

Choose the Club plan that’s right for you:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.