elspotiy

A tiny Spotify client in one HTML file.

Spotify keeps redesigning this console and the button has been renamed more than once (Get Token, Request Token, now a green Test). If you can't find it, use the Log in with Spotify tab instead — that route doesn't depend on their docs at all.
1
Sign in first. Go to developer.spotify.com and click Log in at the top right, using your normal Spotify account. Until you do this, no token controls appear anywhere on the site — this is the step most people miss. Sign in to Spotify for Developers ↗
2
Still signed in, open an endpoint page: Open the /me endpoint ↗
3
Find the box headed “Try it” — it's in the dark panel on the right on a wide window, or far down the page on a narrow one. Click its green button (Test, or Get Token / Request Token on older versions).
If that panel shows no button at all, you are not actually signed in — redo step 1.
4
If it offers a list of permissions, tick these seven (or simply tick everything):
scopes needed
playlist-read-private
user-library-read
user-read-playback-state
user-modify-playback-state
streaming
user-read-email
user-read-private
5
Copy the long string starting with BQ that appears in the token field, and paste it here:
Why does it stop working after an hour?
Tokens from that console are deliberately short-lived — Spotify expires them after 60 minutes. When yours dies this app drops you back here; repeat steps 1–4 for a new one. The Log in with Spotify tab avoids this: it renews itself in the background forever.
1
Create a free app on Spotify's dashboard (any name and description will do). Open dashboard ↗
2
In Redirect URIs, paste exactly this address, then tick Web API and Web Playback SDK and save:
redirect uri
3
Open your new app's Settings and copy its Client ID into the box below.
The Client ID is public and safe to keep here. Never paste the client secret — this app doesn't use one.
Playing full tracks inside this page uses Spotify's Web Playback SDK, which requires Spotify Premium. Free accounts can still browse everything and remote-control a running Spotify app via the device button. Tokens are kept only in this browser's localStorage and sent only to Spotify.
Loading…