Skip to content
DocumentationAPI Reference

Seek To Position

$ spotted me:player seek-to-position
PUT/me/player/seek

Seeks to the given position in the user’s currently playing track. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints.

ParametersExpand Collapse
--position-ms: number

The position in milliseconds to seek to. Must be a positive number. Passing in a position that is greater than the length of the track will cause the player to start playing the next song.

--device-id: optional string

The id of the device this command is targeting. If not supplied, the user's currently active device is the target.

Seek To Position

spotted me:player seek-to-position \
  --position-ms 25000
Returns Examples