provider Player GET
/me/player @utdk/spotify
/me/player Get Playback State
Get information about the user’s current playback state, including track or episode, progress, and active device.
- 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.getInformationAboutTheUsersCurrentPlayback()