provider Player GET
/me/player/currently-playing @utdk/spotify
/me/player/currently-playing Get Currently Playing Track
Get the object currently being played on the user's Spotify account.
- market query
- string
- additional_types query
- string
Try it
Authentication
Configure credentials for Spotify Web API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import spotify from '@utdk/spotify';
await spotify.getTheUsersCurrentlyPlayingTrack()