I am trying to retrieve the user's information after getting the Music Token from the Apple Music API. It seems that the /me endpoint is not available for queries other than the storefront (https://api.music.apple.com/v1/me/storefront).
Problem is, I need to identify each user with a unique ID, so I need to retrieve any good information to do that (for example, the email address could be a good starting point).
From the Apple Music API developer page, I can't find any endpoint to do so. Is there something I am missing?
Thank you :)
Use Apple Music API to access information about media in the Apple Music Catalog and a user's personal iCloud Music Library. Apple Music Catalog includes all resources available in Apple Music.
To start, head over to privacy.apple.com in your mobile browser. Sign in with the Apple ID you use for Apple Music, and complete any authentication required to sign in. Once approved, tap "Request a copy of your data" under "Get a copy of your data," then tap the checkmark next to "Apple Media Services information."
Price: The API is offered free to participants in the Apple's Affiliate Program, which allows them to earn commissions on any qualifying sales. Popularity: Apple Music is a popular service around the world, especially for iOS users.
No, you're not missing anything. It's really frustrating that you can't get any user data from the api, because it probably means you'll have to also provide another sign-on method like Google or email/password to get information. Apple has just released its own SSO here, but I think the user would still have to authenticate that and MusicKit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With