Introducing the Instagram APIRead more →

Apple Music Top Albums API. Top albums, on request.

Most played albums chart by country. We handle the proxies, blocks and platform changes.

Apple Music Top Albums API at a glance

Returns Apple Music's chart of the most played albums in a country's store, top first, a page at a time, with each album's rank, label and UPC. Each row also has the credited artists with their IDs, full-size cover, release date, copyright, genres, track count, explicit rating, audio formats, Apple's notes and its Digital Master badge. Pick the store with country, the US by default.

GET /v1/applemusic/top_albums

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 20 typed fields null when unknown
  • 50 most played albums per page, Apple Music's own chart order (1 = most played)
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get up to 50 most played albums 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
GET /v1/applemusic/top_albumsTry in
const params = new URLSearchParams({
  country: "US",
});
const res = await fetch(`https://socialtap.dev/v1/applemusic/top_albums?${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, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/applemusic/top_albumsLong 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.

  • No input needed

    Every parameter is optional: the plain request returns the default list.

  • 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 Top Albums API.

  • Track the most played albums each day

  • Compare an album's rank across countries

  • Feed label dashboards with UPCs and labels

  • Spot new releases breaking into the chart

Good to know before you build.

  • platform_specific.applemusic.rank is the row's place in the chart, top first, and stays the same whatever limit you ask for. Apple publishes no play counts, so the rank is all the chart says.
  • tracks, more_by_artist and other_versions are [] and listed in unknown_fields, because a chart names no tracks. metrics.track_count says how many there are, and the Apple Music Album API lists them.
  • Apple serves about 200 rows per chart, fewer in a few small stores, and the walk then ends with page.end_reason end: that is the whole chart.
  • since and until filter by release date. A chart isn't in date order, so they don't end the walk early: every page is read and charged until the chart ends.
  • Charts differ by store, and platform_specific.applemusic.storefront says which store answered. A store's titles can be in its own language: lang asks for another where Apple offers it, and a language it doesn't offer gets the store's own.
  • The Apple Music Top Tracks API charts songs and music videos, and the Apple Music Top Playlists API playlists.
  • When Apple's catalog API fails, the top of the chart comes from Apple's RSS feed and ends the walk with platform_limit: label, upc, description, track count, copyrights, audio formats and badges are null or [], type comes from the title alone (null where it doesn't say), and only the first artist is named. The feed has no languages, so a request with lang fails rather than answer in another.

1 credit per page. Failed requests are free.

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

SourcePrice per successful pagePer 1,000 pages
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 Top Albums API.

More in the API reference.

How much does the Apple Music Top Albums API cost?
A page of up to 50 most played albums costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

See what's on the list right now.

Run 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