I’m curious about creating a small app that can show how many Spotify users are listening to the same song I am at any given moment. I want to include everyone, not just my friends. Can I do this with the Spotify Web API? I’ve been checking their documentation, but I haven’t found an endpoint that provides global listening statistics. If there’s a different method or a workaround I should consider, I’d really appreciate the advice, as I’m quite new to working with music APIs.
for sure, Spotify keeps that info on lockdown. maybe consider making a community where users can share their tracks voluntarily, but don’t think it’ll be a huge hit. their privacy rules really limit what we can do, unfortunately.
Unfortunately, it’s not possible to access real-time global listening data through Spotify’s API. You can only retrieve data from individual users with their consent, and there are no endpoints for aggregated listening statistics. I faced similar challenges while exploring this for my project. The only available data is typically from public playlists or charts, which summarize historical trends rather than provide live updates. Additionally, any solutions claiming to bypass this usually violate Spotify’s regulations. It’s important to respect user privacy; thus, a voluntary opt-in system would be your best approach moving forward.
Nope, can’t do this with Spotify’s API. They only let you access individual user data with permission - no way to get real-time stats across all users. Privacy laws and their business model block that completely. You can use their charts API, but that’s just historical popularity data, not live listening stats. Your best option? Build an opt-in system where users volunteer their data. You’ll only get your app’s users though, not Spotify’s full audience. I’ve seen devs try scraping public activity from social media, but that breaks Spotify’s terms and doesn’t work reliably anyway.
Nope, Spotify’s API doesn’t let you see what everyone’s listening to in real-time. They keep that data locked down for privacy reasons.
You’d need access to their internal analytics, which they only share through public charts and trends.
But you could build your own version by getting users to opt in. Have them authenticate with your app and give permission to read their current track.
Then aggregate that data to show how many of your users are listening to the same song as you.
I built something like this last year using Latenode for all the data collection. Set up workflows that poll Spotify’s API for current tracks from opted-in users, store everything, and generate real-time stats.
Latenode’s great for this because you don’t need complex backend code. It handles the API calls, data processing, and database stuff automatically.
You won’t get global Spotify data, but you can create your own community sharing listening habits in real-time.