Blog · Guides / Getting your data out

How to export your Apple Music play history

Apple Music has no real public listening-history API and no export button. What it does have, because data-protection law requires it, is a privacy portal where you can request a copy of everything Apple holds about your media activity. That download is a zip archive, and buried inside it is a file usually called Apple Music - Play Activity.csv (older exports name it Apple Music Play Activity.csv) — the single best record of your Apple Music life: one row per playback event, going back years, including songs you played long before you ever thought about tracking your listening. Upload the archive itself to Stick, not that one file pulled out of it — more on why below.

This is different from your library. A library export tells you what you saved; the Play Activity file tells you what you actually played, with timestamps and durations. If you want real statistics, top artists by year, listening streaks, and everything else, this is the data you want.

Requesting the export from Apple

  1. Go to privacy.apple.com and sign in with the Apple ID you use for Apple Music.
  2. Choose Get a copy of your data (under "Manage your data").
  3. In the list of data categories, tick Apple Media Services information. You don't need any of the other categories for listening history, and leaving them out keeps the download small.
  4. Pick a maximum file size for the download chunks (any option is fine, the media services archive is usually well under 1 GB) and confirm the request.
  5. Wait. Apple prepares the archive and emails you when it's ready. In practice this takes anywhere from a day to about a week, though a large or long-standing library can occasionally take a few weeks.
  6. When the email arrives, return to privacy.apple.com and download the zip archive.

What's inside, and what to upload

The archive unpacks into a nest of folders. The one that matters is the Apple Music Activity folder (inside "Apple Media Services information"), and it holds more than just your play log — several CSVs sit alongside it, three of which Stick actually needs:

Upload the zip archive itself — either the one Apple emailed you, or the "Apple_Media_Services.zip" one level inside it if you've already extracted that far. Don't pull "Apple Music - Play Activity.csv" out on its own and upload just that file — without its three companion files sitting alongside it in the same archive, Stick has no way to identify the artist for most of your plays — so a bare CSV is refused rather than imported artist-less. Stick finds everything it needs inside the archive automatically, so there's nothing to rename, edit, or pick out yourself.

What Stick does with the raw events

A Play Activity CSV is not a list of listens, it's a list of playback events, including scrubs, pauses, resumes and lyric views. Turning that into an honest play count takes some care, and Stick does it for you at import:

One quirk of Apple's play log: most rows carry a song name but no artist — anything played from radio, autoplay, or search leaves that column blank. Stick resolves these automatically: first straight from the archive's own companion files (why the zip matters — see above), then against artist names already in your own library, then against the MusicBrainz database. The handful that can't be resolved automatically wait for you in Needs Attention, where fixing one takes a couple of keystrokes.

Keeping it up to date

The export is a snapshot, so your history goes stale the moment you download it. Two ways to handle that: re-request the export every few months and re-import the archive (Stick skips everything it already has, so a re-import only adds the new plays), or connect Apple Music for live tracking and let Stick record plays as they happen. The two work well together, the live connection is instant but approximate about timing, and each file import silently corrects the live plays' timestamps with Apple's authoritative ones.