Introducing the Instagram APIRead more →

Apple Music Top Playlists API. Top playlists, on request.

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

Apple Music Top Playlists API at a glance

Returns Apple Music's chart of the most played playlists in a country's store, top first, a page at a time, with each playlist's rank and curator. Each row also has the title, Apple's description and note, full-size cover, track count, whether Apple's editors or an outside curator make it, when it last changed and its audio formats. Pick the store with country, the US by default.

GET /v1/applemusic/top_playlists

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 13 typed fields null when unknown
  • 50 most played playlists 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 playlists 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_playlistsTry in
const params = new URLSearchParams({
  country: "US",
});
const res = await fetch(`https://socialtap.dev/v1/applemusic/top_playlists?${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_playlistsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 6 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, TikTok, Instagram and 3 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, facebook, …).
idstring
Platform-native playlist ID (string): TikTok's playlist (mix) or collection ID, YouTube's list ID (PL…), Facebook's video list ID.
urlstring
Canonical playlist URL.
typestring
playlist: a list its owner curates and orders (TikTok playlists, YouTube playlists, Facebook playlists and series); collection: posts an account saved from any creator into a named public folder (TikTok collections). New values may be added; treat unknown values as playlist.
platform_typestring
The platform's own label, lowercase (mix, collection, playlist, series, podcast, …).
titlestring
Name its owner gave it.
descriptionstring
Description as plain text; null when it has none or the platform shows none (TikTok).
ownerobject
The account that curates it (for a collection, the account that saved the posts, not their authors). Where a platform's curators are not accounts (Apple Music), what it states of them: a name, perhaps a page and a picture, with id and username null, and every field null when it names no one.

What teams build with the Apple Music Top Playlists API.

  • Track the most played playlists each day

  • Compare a playlist's rank across countries

  • See which curators lead a market

  • Build a pitch list of top playlists

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 or follower counts, so the rank is all the chart says.
  • 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.
  • owner.id is null because a curator isn't an artist, the only account this platform's endpoints take. platform_specific.applemusic.curator_id holds Apple's ID for it, null on the playlists Apple Music signs itself, which name no curator beyond owner.display_name.
  • 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.
  • A playlist has no release date, so this chart takes no since or until. platform_specific.applemusic.last_modified_at says when each last changed.
  • The Apple Music Top Tracks API charts songs and music videos, and the Apple Music Top Albums API albums.
  • When Apple's catalog API fails, the top of the chart comes from Apple's RSS feed and ends the walk with platform_limit: the curator, description, track count and everything in platform_specific but the store and rank are null, and audio_traits is [] and listed in unknown_fields. 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 Playlists API.

More in the API reference.

How much does the Apple Music Top Playlists API cost?
A page of up to 50 most played playlists 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