Spinlore

Home / Guides

Every field in your Spotify streaming history, explained

Each row in a Streaming_History_Audio file is one stream: when it ended (ts, in UTC), how long it played (ms_played), what played, why it started and stopped, and flags for shuffle, skips, offline play and private sessions, plus your IP address, country and device. Below is a made-up row, every field in plain English, and the quirks to know before you count anything.

I have my zipSee a sample report

One row, made up

This is what a single stream looks like, for our made-up sample listener. The IP address is from a range reserved for examples and the track ID is invented.

{
  "ts": "2024-10-03T06:12:48Z",
  "platform": "Android OS",
  "ms_played": 229813,
  "conn_country": "US",
  "ip_addr": "192.0.2.41",
  "master_metadata_track_name": "Motion Sickness",
  "master_metadata_album_artist_name": "Phoebe Bridgers",
  "master_metadata_album_album_name": "Stranger in the Alps",
  "spotify_track_uri": "spotify:track:1ExampleMadeUpTrackId0",
  "episode_name": null,
  "episode_show_name": null,
  "spotify_episode_uri": null,
  "audiobook_title": null,
  "audiobook_uri": null,
  "audiobook_chapter_uri": null,
  "audiobook_chapter_title": null,
  "reason_start": "trackdone",
  "reason_end": "trackdone",
  "shuffle": true,
  "skipped": false,
  "offline": false,
  "offline_timestamp": 1727935738,
  "incognito_mode": false
}

Read it as a sentence: on shuffle, after the previous song finished, “Motion Sickness” played for 3 minutes 50 seconds and ran to its end at 06:12 UTC on October 3. For a listener in Los Angeles that was 11:12 pm on October 2, the evening before. The file is one long list of rows like this, one per stream.

Every field in plain English

Meanings follow Spotify's Read Me PDF (inside the export) and its help page. Spotify's docs list 21 fields; the 2026 file we checked had 23 keys with a few different names, so expect fields such as these rather than exactly these.

FieldWhat it meansDo we read it?
tsWhen the stream ended, in UTC: “a timestamp indicating when the track stopped playing in UTC”Yes, converted to your time zone
ms_playedHow long it played, in milliseconds (60,000 is one minute)Yes: 30,000 or more counts as a play
master_metadata_track_nameThe song title. Empty (null) for podcasts and audiobooksYes
master_metadata_album_artist_nameDespite the name, Spotify defines it as “the name of the artist, band or podcast”: the track's artist, not the album artistYes
master_metadata_album_album_nameThe albumYes
spotify_track_uriSpotify's ID for the song: spotify:track: plus a code of letters and digits. Empty on non-music rowsYes. Rows without one aren't music and are dropped
episode_name, episode_show_name, spotify_episode_uriPodcast episode, show and episode IDNo: podcasts are left out
audiobook_title, audiobook_uri, audiobook_chapter_uri, audiobook_chapter_titleAudiobook details. Not in Spotify's docs, but present in the 2026 fileNo
reason_startWhy the stream started (codes below)No
reason_endWhy it stoppedYes: fwdbtn counts as a skip
shuffleWhether shuffle was onYes
skippedSpotify: “indicates if the user skipped to the next song”. No time limit is givenYes, with the caveat below
offlineWhether it played in offline modeNo
offline_timestampSpotify only says: when offline mode was usedNo
incognito_mode“whether the track was played during a private session”No, so private-session plays count like any other
platformThe device or operating system, such as “Android OS” or “Google Chromecast”Never
conn_countryCountry code where the stream was playedNever
ip_addrThe IP address logged for the stream. Spotify's docs call it ip_addr_decryptedNever
username, user_agent_decryptedYour username and browser or app details. In Spotify's docs, but not in the 2026 file we checkedNever

Sources: Spotify Support: Understanding your data (accessed December 5, 2026); ReadMeFirst_ExtendedStreamingHistory.pdf, inside the export; field names as they appear in a real 2026 file.

The reason_start and reason_end codes

Spotify documents just one example for each field: trackdone for reason_start and endplay for reason_end. The rest are codes we found in one real export. What they mean is our reading of the data, not Spotify's definition.

trackdoneA track played to its end (as a start reason: the one before it finished)
fwdbtnThe next button
backbtnThe previous button
clickrowYou picked the track from a list
playbtnYou pressed play
apploadPlayback picked up as the app opened
remoteControlled from another device
endplayPlayback stopped; the cause isn't recorded
logout, unexpected-exit, unexpected-exit-while-pausedThe session ended: a logout, or the app closing
trackerror, reconnect, switched-to-audio, switched-to-video, unknownSpotify doesn't document these; the name is all there is. Some rows have no value at all

Quirks to know before you count

Here is the kind of row the skip quirk is about: the next song in the same made-up session, dropped after five seconds.

{ "ts": "2024-10-03T06:12:53Z", "ms_played": 5120,
  "master_metadata_track_name": "Kyoto",
  "reason_start": "trackdone", "reason_end": "fwdbtn",
  "skipped": true, "shuffle": true }

Sources: Spotify for Artists: How your streams are counted; Spotify Support: Data rights and privacy choices (private sessions); one real export (skip and private-session findings).

What we read, and what we never read

A report needs the song, the artist, the album, when it ended and how long it played. On top of that we read reason_end, skipped and shuffle. A stream of 30 seconds or more is a play. For skip stats, a stream counts as skipped if it ran under 30 seconds, if Spotify marked it skipped, or if it ended with the next button. Times are converted from UTC to your time zone before anything else, which is what puts the listening clock on your hours.

Radial listening clock of plays by hour and weekday, with a heat grid of the same data below
Every ts moved from UTC to the listener's own time zone, then placed by hour and weekday. From the sample report of a made-up listener.

Three fields are never read: ip_addr, conn_country and platform. They're dropped as the file is read, never stored or used. The zip itself is deleted right after processing, always within 24 hours. What happens to your file has the full story, and how we find your taste eras shows what the report builds from these rows.

Want to see what your own rows add up to without writing code? The extended streaming history viewer reads the zip and shows a free preview. For the files around these rows, see what's in your Spotify data export, and for one practical use of ms_played, how many hours you've listened on Spotify.

Questions

Is ts the time the song started or ended?

Ended. Spotify defines ts as the moment the track stopped playing, in UTC. To get the start, subtract ms_played; to get your local time, convert from UTC to your own time zone.

Why are there so many short plays in my Spotify history?

The file logs every stream, including ones you skipped after a second or two. Spotify itself counts a song stream at 30 seconds, so any tool reading the file has to apply that cut-off on its own.

What does fwdbtn mean in Spotify data?

It appears to mean the stream ended, or the next one started, because someone pressed the next button. Spotify doesn't publish its list of codes, so this is a reading of the data, not an official definition.

Are private session plays in my Spotify data export?

Yes. In an export we checked, private-session streams were in the file, marked with incognito_mode set to true. A private session hides your listening from places like Recently Played, not from the export.

How do I turn ms_played into minutes?

Divide by 60,000. For example, 229,813 milliseconds is about 3.8 minutes, or 3 minutes 50 seconds.

Your turn

Every spin tells a story. Read yours.

Have your zip? Your free preview is a minute away. Still waiting on Spotify? Leave your email below and we'll remind you.

We email you the steps now and reminders 7 and 21 days later, then delete your address. Details.