All-in-One Tokener
Active Server

Spotify Token Generator

Submit your Spotify credentials to generate an access token. Leave empty to retrieve a public guest token.

Provide this session cookie or JSON array for access to account-level APIs. Keep this token private.

Response Payload

Idle

No response yet. Fill out the form and submit to fetch your Spotify tokens.

1
Open an Incognito / Private browser window and head to open.spotify.com.
2
Log in to your Spotify account (free or premium).
3
Press F12 or right-click and choose Inspect to open Developer Tools.
4
Navigate to the Application tab (Chrome/Edge) or Storage tab (Firefox), then click on Cookies.
5
Find the cookie named sp_dc and copy its value. It will look like a long string of letters and numbers. Alternately, use the Cookie-Editor extension to copy the entire JSON cookie list and paste it directly!

You can interact with the hosted serverless API endpoints directly using standard HTTP clients (e.g. Curl or Node.js fetch).

Spotify Token Request (sp_dc query parameter)
curl "https://all-in-one-tokener.vercel.app/api/token?sp_dc=YOUR_SP_DC_HERE"
Spotify Token POST Request (JSON Cookie-Editor Array)
fetch("https://all-in-one-tokener.vercel.app/api/token", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(cookieEditorJsonArray) })
Pandora Token Request
curl "https://all-in-one-tokener.vercel.app/api/pandora"
Tidal Active Token Request
curl "https://all-in-one-tokener.vercel.app/api/hifi/token"
Tidal Track Playback Info
curl "https://all-in-one-tokener.vercel.app/api/hifi/track/?id=TRACK_ID"

Add the following lines to your Lavalink server's application.yml configuration to route searches through your custom token endpoints:

plugins: lavasrc: providers: - "ytsearch:\"" - "scsearch:\"" sources: spotify: true pandora: true tidal: true spotify: clientId: "YOUR_SPOTIFY_CLIENT_ID" clientSecret: "YOUR_SPOTIFY_CLIENT_SECRET" spDc: "YOUR_SP_DC_COOKIE" countryCode: "US" customTokenEndpoint: "https://all-in-one-tokener.vercel.app/api/token" pandora: # Optional: Set your custom token endpoint if supported by your lavasrc version # customTokenEndpoint: "https://all-in-one-tokener.vercel.app/api/pandora" tidal: # Optional: Route Tidal requests through dynamic serverless proxy endpoints # token: "YOUR_TIDAL_REFRESH_TOKEN" # customTokenEndpoint: "https://all-in-one-tokener.vercel.app/api/hifi/token"