How Spotify login works on a stats site
Spotify stats sites connect through Spotify's own authorization, a standard called OAuth. When you click the login button, the site sends you to accounts.spotify.com. You log in there, Spotify lists the permissions the site is asking for, and you approve or cancel.
If you approve, Spotify sends you back to the site with a one-time code, and the site trades that code for an access token. The token lets the site read only what you approved, through Spotify's Web API. Your password stays with Spotify the whole time.
The permissions a stats site asks for
Each permission is called a scope. These are the seven scopes our Spotify profile viewer asks for, with what each one lets a site read, based on Spotify's list of scopes.
| Scope | What it lets the site read |
|---|---|
| user-read-private | Your subscription details, meaning the type of account you have |
| user-read-email | Your email address |
| user-top-read | Your top artists and tracks |
| user-read-recently-played | Your recently played tracks |
| user-follow-read | The artists and other users you follow |
| playlist-read-private | Your private playlists |
| playlist-read-collaborative | Collaborative playlists, included when the site lists your playlists |
All seven are read-only. Scopes that can change your account have "modify" in the name, such as playlist-modify-private, user-library-modify and user-follow-modify. A stats site has no reason to ask for those.
What gets stored, and where
A site has to keep the access token somewhere while you use it. Music Profile Viewer keeps it in your browser's sessionStorage, which belongs to that one tab: the browser clears it when you close the tab, and logging out removes it right away. Your stats load straight from Spotify into your browser, and nothing is saved on our servers.
A stats site can also copy your data to its own servers. Before you connect one, read its privacy policy to see what it keeps and for how long.
Red flags to watch for
- A login box on the stats site itself. If it asks for your Spotify email and password on its own page, close the tab.
- The wrong address. Check the address bar on the login page. It should read accounts.spotify.com.
- Write permissions. A stats viewer only needs to read, so a "modify" scope on the permission screen is a reason to cancel.
- Impossible promises. Spotify doesn't show anyone who viewed your profile, and someone else's Spotify stats are private to their account, so a site that offers either isn't reading real data.
How to remove a site's access
- Go to spotify.com/account/apps and log in.
- Find the stats site in the list of apps.
- Click Remove Access next to it.
Spotify lists the same steps on its Spotify on other apps help page. Do it for any app you no longer use or don't recognize.
How Music Profile Viewer handles it
- Login: Connect with Spotify sends you to accounts.spotify.com using Spotify's authorization code flow with PKCE, so we never see your password.
- Access: the seven read-only scopes in the table above, and nothing that can change your account.
- Storage: the access token sits in your browser's sessionStorage and is removed when you log out or close the tab. Nothing is saved on our servers.
- What you see: your top 20 artists and tracks for the last 4 weeks, 6 months or about 12 months, your last 10 plays, and your follower, followed artist and playlist counts.
Try the free Spotify profile viewer: Spotify's own login, read-only, no signup.
Comparing other sites? See the best free Spotify stats websites and these Stats for Spotify alternatives.