Set up your MusicKit identifiers, keys, and tokens by signing in to your developer account and visiting Certificates, Identifiers & Profiles. To communicate with the Apple Music service, you’ll need to use your MusicKit private key to sign one or more developer tokens. A developer token is required in the header of every Apple Music API request.
Integrating Apple Music into Your iOS App
Get details on how to build iOS apps that integrate Apple Music using the Apple Music API, and the StoreKit and MediaPlayer frameworks.
Authorize Apple Music with StoreKit
Check if a user has an Apple Music membership to automatically play the music, or let them start a trial membership directly within your app using StoreKit.
Request Music Data with the Apple Music API
Use the Apple Music API to let your app search for songs, playlists, artists, and more. Your app can also request music we think your users will love.
Control Playback with MediaPlayer
Play any song from Apple Music and access a user's music library, with their permission.
Discover the API for the Apple Music subscription service with this WWDC video.