Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

How do I find the catalogID for songs in a apple music playlist? (MusicKit & Apple Music API)

Hello,

How do I find the apple music catalogID for songs in a apple music playlist?

Im building an iOS app that uses MusicKit/Apple Music API.

For this example, you can assume that my iOS app simply allows users to upload their apple music playlists. And when users open a specific playlist, I want to find the catalogID for each song.

Currently all the songs are returning song IDs in this format “i.PkdJvPXI2AJgm8”.

I believe these are libraryIDs, not catalogIDs.

I’d like to find a front end solution using MusicKit. But perhaps a back end solution using the Apple Music Rest API is required.

Any recommendations would be appreciated!

How do I find the catalogID for songs in a apple music playlist? (MusicKit & Apple Music API)
 
 
Q