Skip to content
Web APIReferences / Player / Seek To Position

Seek To Position

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.

Important policy notes
Authorization scopes

Request

  • position_ms
    integer
    Required

    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.

    Example: position_ms=25000
  • device_id
    string

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

    Example: device_id=0d1841b0976bae2a3a310dd74c0f3df354899bc8

Response

Command sent

endpointhttps://api.spotify.com/v1/me/player/seekposition_msdevice_id

Response sample