How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Apple Music Library API

Authenticated user library resources

Apple Music Library API is one of 6 APIs that Apple Music publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Library. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 8 operations across 7 paths. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, https://api.music.apple.com/v1.

8 operations 7 paths 0 schemas 7 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.music.apple.com/v1
Authentication
HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 2

Apple Music Library API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (JWT) (DeveloperToken). An API key is passed in the header as Music-User-Token (MusicUserToken). By default, every request must be authenticated.

  • DeveloperToken — Apple Music developer token (JWT) generated from a Music Key in the Apple Developer account.
  • MusicUserToken — Music User Token obtained via MusicKit on a signed-in device. Required for user-library endpoints.

Paths & Operations 8

Across 7 paths, the API surfaces 8 operations — 7 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Library 8

Authenticated user library resources

GET
/me/library/songs
Get the user's library songs
→ 200
GET
/me/library/albums
Get the user's library albums
→ 200
GET
/me/library/artists
Get the user's library artists
→ 200
GET
/me/library/playlists
Get the user's library playlists
→ 200
POST
/me/library/playlists
Create a new library playlist
→ 201
GET
/me/library/search
Search the user's library
2 params → 200
GET
/me/recommendations
Get personalized recommendations for the user
→ 200
GET
/me/recent/played
Get the user's recently played resources
→ 200

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

apple-music-library-api-openapi.yml Raw ↑

Other APIs Apple Music publishes across the network.

Apple Music API
Apple Music Catalog API
Apple Music Charts API
Apple Music Search API
Apple Music Storefronts API
Where this information came from

This is an independent, third-party profile of Apple Music Library API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.