Introducing the Instagram APIRead more →

Apple Music Album API. Send an album link or ID.

Tracklist with ISRCs, label and UPC. We handle the proxies, blocks and platform changes.

Apple Music Album API at a glance

Returns an Apple Music album, single or EP from its link or ID in any country's store, with every track's ISRC, the label, UPC and genres. It also has the credited artists, full-size cover, release date, copyright, Apple's editorial notes, audio formats, each track's length and preview, more releases by the artist and the album's other versions. Legacy iTunes links work too.

GET /v1/applemusic/album

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 20 typed fields null when unknown
  • url is all it needs, e.g. https://music.apple.com/us/album/lover/1468058165
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 20 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://music.apple.com/us/album/lover/1468058165
GET /v1/applemusic/albumTry in
const params = new URLSearchParams({
  url: "https://music.apple.com/us/album/lover/1468058165",
});
const res = await fetch(`https://socialtap.dev/v1/applemusic/album?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/applemusic/albumLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 2 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Apple Music doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The album: its link (music.apple.com/us/album/lover/1468058165), with or without the slug and the store, on music.apple.com, geo.music.apple.com or itunes.apple.com; or its ID alone (1468058165).

  • Write one parser

    Apple Music and Spotify answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (applemusic, spotify, soundcloud, …).
idstring
Platform-native album ID (string), the one in its page's URL.
urlstring
Canonical album page URL.
typestring
What kind of release it is, as the platform says: album, single, ep or compilation; null when the platform does not say. New values may be added; treat unknown values as album.
titlestring
The release's title as the platform shows it (with an edition or a suffix like "- Single" where it writes one).
descriptionstring
About the release, as plain text (the service's editorial notes, or what its uploader wrote); null when it has none or the platform shows none.
artist_namestring
Who the platform credits for the release, as one display string (it can name more people than have an account linked: artists holds the linked ones); null when the source does not name them.
artistsobject[]
The platform accounts of the artists credited on the release, main artist first, in the platform's order; [] when none is linked, as on a Various Artists compilation (listed in unknown_fields when the source cannot see them).

What teams build with the Apple Music Album API.

  • Turn an album link into UPC and tracklist

  • Match releases across services by UPC

  • Compare a tracklist across country stores

  • Find an album's clean and explicit versions

Good to know before you build.

  • Stores differ: an album can be missing from one or list other tracks or have another language's title, and some releases have a different ID per store. The answer comes from the store in country, else the link's store, else us, and platform_specific.applemusic.storefront says which.
  • metrics.track_count is the whole release as Apple states it. tracks holds fewer only when it is listed in approximate_fields: a box set too long to read whole, or one whose later pages failed (with a partial_data warning).
  • duration_ms is the sum of the tracks, so it is null when tracks is partial or Apple states no length for one of them, as on a release not out yet.
  • The ID of an edition Apple has replaced still answers, with the id and url of the current album its page shows.
  • A compilation credited to Various Artists has that name in artist_name, in the store's language, and artists [], and each of its tracks names its own artists.
  • released_at is the release date with no time, at midnight UTC, listed in approximate_fields. play_url is Apple's short preview, never the whole track, and tracks[].metrics.view_count is null because Apple Music shows no play counts.
  • When Apple's catalog API fails, the answer comes from its public lookup API: label, upc, description, editorial_summary, is_complete, is_prerelease, is_mastered_for_itunes and tracks[].isrc are null, audio_traits, more_by_artist and other_versions are [], tracks can skip music videos and stops at the lookup's limit, and tracks[].artists is unknown (all listed in unknown_fields or approximate_fields).
  • From the lookup API, type is null unless the title says single or EP, genres holds the main genre only, and a request with lang fails rather than answer in another language.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Platform API api1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Apple Music Album API.

More in the API reference.

Does it return each track's ISRC?
Yes. tracks[] has every track's ISRC, length and position, so you can match the release across services by its UPC and ISRCs.
How much does the Apple Music Album API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs