Fetch Apple Music catalog charts for a given storefront, including daily global top charts and city charts playlists

domain: developer.apple.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Mint an Apple Music developer token (JWT) for catalog-only access — no Music User Token is required for charts
  2. Call the charts endpoint under a specific storefront path, specifying `types` (e.g. songs, albums, playlists) to control which chart categories are returned
  3. To get curated chart playlists rather than raw song/album rankings, request `types=playlists` and use the `with` query parameter to select either `dailyGlobalTopCharts`, `cityCharts`, or both
  4. Pass a `chart` parameter where applicable to select a named chart (e.g. most-played, city-top) and use `genre` to scope results to a specific genre id
  5. Paginate large chart responses using the standard `limit`/`offset` query parameters
  6. Resolve the correct storefront code (a two-letter country/region identifier) for the user or market you are targeting before issuing the request, since charts are always storefront-scoped

Known gotchas

Related routes

Fetch localized storefront prices and content for a specific country and language using the Shopify Storefront API @inContext directive with Shopify Markets
shopify.dev · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans