Guide
Spotify Extended Streaming History, Explained: Every Field in Your Data
The extended streaming history is the most detailed listening record Spotify gives you: one entry for every play since you opened your account. Here’s what each field means and how to read it.
Updated · 6 min read · Snowl Labs LLC
What the extended streaming history is
When you download your Spotify data, you can choose a package called Extended streaming history. Spotify describes it as a list of the songs, videos and podcasts you’ve listened to or watched during the lifetime of your account. It is far more detailed than the streaming history in the regular Account data package:
| Account data | Extended streaming history | |
|---|---|---|
| Time span | About the past year | Your whole account history |
| Fields per play | 4 (end time, artist, track, ms played) | Around 20 (see below) |
| Typical file names | StreamingHistory_music_0.json | Streaming_History_Audio_2019-2021_0.json |
The files
The extended history arrives as several JSON files, split by content type and date range: audio files named like Streaming_History_Audio_2021-2023_1.json and, if you watch videos, files like Streaming_History_Video_….json. Older exports used endsong_0.json, endsong_1.json and so on. Each file is a list of plays, and each play is one JSON object. A “Read Me First” file in the download describes every field in detail and is the authoritative reference for your export.
Here’s what a single play looks like (values made up for illustration):
{
"ts": "2024-05-01T22:14:05Z",
"platform": "ios",
"ms_played": 213480,
"conn_country": "US",
"ip_addr": "203.0.113.7",
"master_metadata_track_name": "Example Song",
"master_metadata_album_artist_name": "Example Artist",
"master_metadata_album_album_name": "Example Album",
"spotify_track_uri": "spotify:track:…",
"episode_name": null,
"episode_show_name": null,
"spotify_episode_uri": null,
"reason_start": "trackdone",
"reason_end": "trackdone",
"shuffle": false,
"skipped": false,
"offline": false,
"offline_timestamp": null,
"incognito_mode": false
}Every field, explained
| Field | What it means |
|---|---|
ts | Date and time the stream ended, in UTC (for example 2024-05-01T10:00:00Z). |
username | Your Spotify username (included in some exports). |
platform | The platform used when streaming, such as Android OS or Google Chromecast. |
ms_played | How many milliseconds the track was played (60,000 ms = 1 minute). |
conn_country | Country code of the country where the stream was played. |
ip_addr | IP address used when streaming (named ip_addr_decrypted in some older exports). |
user_agent_decrypted | User agent used when streaming, such as a browser (in some exports). |
master_metadata_track_name | Name of the track. |
master_metadata_album_artist_name | Name of the artist. |
master_metadata_album_album_name | Name of the track’s album. |
spotify_track_uri | The Spotify track URI, a unique ID such as spotify:track:… |
episode_name | Name of the podcast episode. |
episode_show_name | Name of the podcast show. |
spotify_episode_uri | The Spotify episode URI. |
reason_start | Why the track started, such as the previous track finishing or you picking it from a playlist. |
reason_end | Why the track ended, such as it finishing or you pressing next. |
shuffle | Whether shuffle mode was on (true/false). |
skipped | Whether you skipped to the next song. |
offline | Whether the track was played in offline mode. |
offline_timestamp | When offline mode was used, if it was. |
incognito_mode | Whether the play happened during a private session. |
Field names can vary slightly between export versions. Newer exports can also include audiobook fields. If something doesn’t match this table, check the Read Me First file in your download.
How to read it yourself
- Just looking: open a file in any code editor (VS Code, Sublime Text) for readable, colorized JSON.
- Spreadsheets: Excel can import JSON through Data → Get Data → From File → From JSON. Google Sheets needs the file converted to CSV first.
- Code: in Python,
pandas.read_json("Streaming_History_Audio_….json")gives you a table you can group by artist or track.
A few tips that make the numbers meaningful:
- Divide
ms_playedby 60,000 for minutes. Ignore very short plays (Auxmates ignores anything under 30 seconds) or skips will inflate your counts. - Filter out rows where
master_metadata_track_nameis empty to drop podcasts and audiobooks. - Remember
tsis in UTC before charting what time of day you listen. - Drop rows where
incognito_modeis true if you want to leave private sessions out.
Privacy: treat it like sensitive data
The extended history includes your username, IP addresses, countries and devices for every play. That’s enough to reveal where you’ve been and when. Don’t share the raw files publicly.
If you upload it to Auxmates, your browser opens the files, keeps only the track, artist, play time and timestamp of each music play to build your summary, and uploads just your top artists and tracks. More on how we handle data.
Turn your history into matches
Because it covers years of listening, the extended history gives the most accurate picture of your taste, and the best matches. Auxmates weights recent listening more, so your current taste leads while your all-time favorites still count. See how the match score works.
Auxmates is an independent product of Snowl Labs LLC and is not affiliated with, endorsed by, or sponsored by Spotify AB. Spotify is a trademark of Spotify AB.
Frequently asked questions
- What’s the difference between account data and extended streaming history?
- Account data includes about the past year of streaming history with four fields per play (end time, artist, track, milliseconds played). Extended streaming history covers the whole lifetime of your account with around twenty fields per play.
- Why do some entries have no track or artist name?
- Those are usually podcast episodes, audiobooks or videos. For podcasts, look at episode_name and episode_show_name instead.
- Are the timestamps in my local time?
- No. The ts field is in UTC, so convert it to your time zone before looking at when you listen.
- What does ms_played mean?
- The number of milliseconds of the track you actually played. Divide by 60,000 to get minutes. Very short values usually mean you skipped.