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.
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.
| Field | What it means | Do we read it? |
|---|---|---|
ts | When the stream ended, in UTC: “a timestamp indicating when the track stopped playing in UTC” | Yes, converted to your time zone |
ms_played | How long it played, in milliseconds (60,000 is one minute) | Yes: 30,000 or more counts as a play |
master_metadata_track_name | The song title. Empty (null) for podcasts and audiobooks | Yes |
master_metadata_album_artist_name | Despite the name, Spotify defines it as “the name of the artist, band or podcast”: the track's artist, not the album artist | Yes |
master_metadata_album_album_name | The album | Yes |
spotify_track_uri | Spotify's ID for the song: spotify:track: plus a code of letters and digits. Empty on non-music rows | Yes. Rows without one aren't music and are dropped |
episode_name, episode_show_name, spotify_episode_uri | Podcast episode, show and episode ID | No: podcasts are left out |
audiobook_title, audiobook_uri, audiobook_chapter_uri, audiobook_chapter_title | Audiobook details. Not in Spotify's docs, but present in the 2026 file | No |
reason_start | Why the stream started (codes below) | No |
reason_end | Why it stopped | Yes: fwdbtn counts as a skip |
shuffle | Whether shuffle was on | Yes |
skipped | Spotify: “indicates if the user skipped to the next song”. No time limit is given | Yes, with the caveat below |
offline | Whether it played in offline mode | No |
offline_timestamp | Spotify only says: when offline mode was used | No |
incognito_mode | “whether the track was played during a private session” | No, so private-session plays count like any other |
platform | The device or operating system, such as “Android OS” or “Google Chromecast” | Never |
conn_country | Country code where the stream was played | Never |
ip_addr | The IP address logged for the stream. Spotify's docs call it ip_addr_decrypted | Never |
username, user_agent_decrypted | Your username and browser or app details. In Spotify's docs, but not in the 2026 file we checked | Never |
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.
trackdone | A track played to its end (as a start reason: the one before it finished) |
fwdbtn | The next button |
backbtn | The previous button |
clickrow | You picked the track from a list |
playbtn | You pressed play |
appload | Playback picked up as the app opened |
remote | Controlled from another device |
endplay | Playback stopped; the cause isn't recorded |
logout, unexpected-exit, unexpected-exit-while-paused | The session ended: a logout, or the app closing |
trackerror, reconnect, switched-to-audio, switched-to-video, unknown | Spotify doesn't document these; the name is all there is. Some rows have no value at all |
Quirks to know before you count
tsis the end, not the start. A three-hour album session is stamped at the end of each song. To place a song on the clock where it began, subtractms_played. And convert from UTC first, or your late nights land on the wrong day.- Not every row is a play. The file logs every stream, including ones that lasted a second. Spotify counts a song stream for artists once it's played “for at least 30 seconds”, so a tool has to apply that cut-off itself. Count raw rows and your totals come out inflated. How Spotify counts a stream goes deeper.
skippedisn't filled the same way in every year. In one export we checked, it was never true in the older years, even for streams that ended with the next button; in recent years every stream that ended with the next button was marked skipped. If you count skips fromskippedalone, older years look skip-free.reason_end = fwdbtnis the steadier signal.- Private sessions are in there. Spotify says a private session keeps music out of “your Recently Played”, but in the export those streams appear with
incognito_modeset to true. - Podcasts and audiobooks share the file. Their track name is empty, and the episode or audiobook fields are filled instead.
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.
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.