<?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 Spotify Web API in Spotify for Developers</title>
    <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API/m-p/7022338#M18260</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Title:&lt;/STRONG&gt; How to get track listener stats via Web API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm starting a project where I need to display song info, including the track name, artist, and cover art, which I can see how to get from the track object in the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main question is about listener stats. Is there an endpoint or method available that provides data on a song's live listener count or total streams? I've looked through the documentation but haven't been able to locate a clear way to access this kind of information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or direction would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jun 2025 15:42:33 GMT</pubDate>
    <dc:creator>YukselirEC</dc:creator>
    <dc:date>2025-06-25T15:42:33Z</dc:date>
    <item>
      <title>Spotify Web API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API/m-p/7022338#M18260</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Title:&lt;/STRONG&gt; How to get track listener stats via Web API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm starting a project where I need to display song info, including the track name, artist, and cover art, which I can see how to get from the track object in the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My main question is about listener stats. Is there an endpoint or method available that provides data on a song's live listener count or total streams? I've looked through the documentation but haven't been able to locate a clear way to access this kind of information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or direction would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 15:42:33 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API/m-p/7022338#M18260</guid>
      <dc:creator>YukselirEC</dc:creator>
      <dc:date>2025-06-25T15:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Spotify Web API</title>
      <link>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API/m-p/7024875#M18298</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.spotify.com/t5/user/viewprofilepage/user-id/26883748"&gt;@YukselirEC&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting in the Spotify Community, and Welcome!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an interesting project idea!&lt;/P&gt;
&lt;P&gt;To&amp;nbsp; track someone's listening streams, you can make use of the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/get-the-users-currently-playing-track" target="_blank" rel="noopener"&gt;Get Currently Playing Track&lt;/A&gt;&amp;nbsp;and the &lt;A href="https://developer.spotify.com/documentation/web-api/reference/get-recently-played" target="_blank" rel="noopener"&gt;Get Recently Played Tracks&lt;/A&gt;&amp;nbsp;endpoints. To prevent hitting a rate limit to quickly, you can send a request to the Currently Play endpoint every 30 seconds when the page is viewed, and the Recently Played endpoint every 25 minutes (and also directly when the page is visited).&lt;/P&gt;
&lt;P&gt;Because an Access Token is only valid for 1 hour, the backend server should also store the Refresh Token that can be used to get a new Access Token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more explanation, feel free to ask!&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Note: it is not possible anymore to get a quota extension. As a result, only successful companies can make apps publicly available. As an individual, you can still add up to 25 accounts to the whitelist of your app. There is more information on &lt;A href="https://developer.spotify.com/documentation/web-api/concepts/quota-modes" target="_blank" rel="noopener"&gt;this page&lt;/A&gt;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 08:17:34 GMT</pubDate>
      <guid>https://community.spotify.com/t5/Spotify-for-Developers/Spotify-Web-API/m-p/7024875#M18298</guid>
      <dc:creator>Ximzend</dc:creator>
      <dc:date>2025-06-27T08:17:34Z</dc:date>
    </item>
  </channel>
</rss>

