<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How does stats.fm get lifetime listening history? in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6868629#M17390</link>
    <description>&lt;P&gt;so if i were to pay for the lifetime subscription, they can retroactively give me stats? tia&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 05:50:49 GMT</pubDate>
    <dc:creator>homefrieswelldone</dc:creator>
    <dc:date>2025-03-25T05:50:49Z</dc:date>
    <item>
      <title>How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6546400#M15860</link>
      <description>&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wondering if anyone knows how apps/services like stats.fm gain access to users’ lifetime listening history? I haven’t paid for their service, so I’m not sure exactly what lifetime data they make available, but I think they’re able to show how many times you’ve listened to a particular song/artist&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Spotify’s public API endpoint for listening history (&lt;A href="https://developer.spotify.com/documentation/web-api/reference/get-recently-played" target="_blank" rel="noopener"&gt;Get Recently Played History&lt;/A&gt;&amp;nbsp;) only provides the most recent 50 songs. Are they potentially using something like &lt;A href="https://developer.spotify.com/documentation/web-api/reference/get-users-top-artists-and-tracks" target="_blank" rel="noopener"&gt;Get User’s Top Items&lt;/A&gt; instead? I don’t think this gives you data beyond the “top” songs for a certain period, so still not sure how stats.fm is doing it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 30 Nov 2024 08:14:59 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6546400#M15860</guid>
      <dc:creator>nkatti</dc:creator>
      <dc:date>2024-11-30T08:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6550484#M15931</link>
      <description>&lt;P data-unlink="true"&gt;Stats.fm as far as I know does not have access to a user's lifetime history and relies on the the JSON files uploaded by the user to calculate lifetime stats. You can retrieve your lifetime history by going to&amp;nbsp;&lt;A href="https://www.spotify.com/us/account/privacy/" target="_self"&gt;https://www.spotify.com/us/account/privacy/&lt;/A&gt;&amp;nbsp;I'm almost certain that stats.fm uses that endpoint to keep user history up to date, but not to get a user's entire history.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 03:23:12 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6550484#M15931</guid>
      <dc:creator>Hunter__</dc:creator>
      <dc:date>2024-12-02T03:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6550588#M15933</link>
      <description>&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hmm, I guess that would make more sense. In the attached screenshot, you can see that they have statistics for Total Tracks Streamed, Total Hours Streamed, etc. for lifetime, so I assumed they somehow had access to the full history. I can purchase Pro access to confirm, but wanted to check here first.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’ve also seen people post how many times they’ve listened to a certain Album, which seems impossible to do without full history. But maybe those folks are uploading their JSONs from Spotify&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_2223.png" style="width: 1125px;"&gt;&lt;img src="https://community.spotify.com/t5/image/serverpage/image-id/186899iD4B35BBAF8F00A8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IMG_2223.png" alt="IMG_2223.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 05:10:23 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6550588#M15933</guid>
      <dc:creator>nkatti</dc:creator>
      <dc:date>2024-12-02T05:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6690981#M16842</link>
      <description>&lt;P&gt;As a premium user of stats.fm they ask you to download your history from Spotify and use the above API to keep it updated.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2025 18:35:32 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6690981#M16842</guid>
      <dc:creator>aryankhandal0</dc:creator>
      <dc:date>2025-02-03T18:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6691852#M16848</link>
      <description>Thanks! I ended up paying for stats.fm’s lifetime premium plan. And yep, confirming that lifetime history is initially loaded via Spotify’s data export function, and then stats.fm tracks history thereafter.&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Feb 2025 06:46:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6691852#M16848</guid>
      <dc:creator>nkatti</dc:creator>
      <dc:date>2025-02-04T06:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6868629#M17390</link>
      <description>&lt;P&gt;so if i were to pay for the lifetime subscription, they can retroactively give me stats? tia&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 05:50:49 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6868629#M17390</guid>
      <dc:creator>homefrieswelldone</dc:creator>
      <dc:date>2025-03-25T05:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: How does stats.fm get lifetime listening history?</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6870579#M17404</link>
      <description>if you pay for the lifetime subscription, they’ll then ask you to request your lifetime data from Spotify and upload it. it’s honestly no different than getting your data yourself and throwing some reporting together, but I like the app a lot. uploading your lifetime data is a one-time thing - they’re then able to keep your stats up to date by using the API endpoint that returns your most recently played songs.&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Mar 2025 18:43:06 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/How-does-stats-fm-get-lifetime-listening-history/m-p/6870579#M17404</guid>
      <dc:creator>nkatti</dc:creator>
      <dc:date>2025-03-25T18:43:06Z</dc:date>
    </item>
  </channel>
</rss>

