Skip to content
DocumentationAPI Reference

Me

MeAudiobooks

MePlaylists

MeTop

Get User's Top Tracks
GET/me/top/tracks
Get User's Top Artists
GET/me/top/artists

MeAlbums

MeTracks

MeEpisodes

MeFollowing

Get Followed Artists
GET/me/following
Follow Artists or Users
PUT/me/following
Unfollow Artists or Users
DELETE/me/following

MePlayer

Get Playback State
GET/me/player
Transfer Playback
PUT/me/player
Get Available Devices
GET/me/player/devices
Get Currently Playing Track
GET/me/player/currently-playing
Start/Resume Playback
PUT/me/player/play
Pause Playback
PUT/me/player/pause
Skip To Next
POST/me/player/next
Skip To Previous
POST/me/player/previous
Seek To Position
PUT/me/player/seek
Set Repeat Mode
PUT/me/player/repeat
Set Playback Volume
PUT/me/player/volume
Toggle Playback Shuffle
PUT/me/player/shuffle
Get Recently Played Tracks
GET/me/player/recently-played
ModelsExpand Collapse
ContextObject = object { external_urls, href, published, 2 more }
external_urls: optional ExternalURLObject { published, spotify }

External URLs for this context.

published: optional boolean

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

spotify: optional string

The Spotify URL for the object.

href: optional string

A link to the Web API endpoint providing full details of the track.

published: optional boolean

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

type: optional string

The object type, e.g. "artist", "playlist", "album", "show".

uri: optional string

The Spotify URI for the context.

DeviceObject = object { id, is_active, is_private_session, 6 more }
id: optional string

The device ID. This ID is unique and persistent to some extent. However, this is not guaranteed and any cached device_id should periodically be cleared out and refetched as necessary.

is_active: optional boolean

If this device is the currently active device.

is_private_session: optional boolean

If this device is currently in a private session.

is_restricted: optional boolean

Whether controlling this device is restricted. At present if this is "true" then no Web API commands will be accepted by this device.

name: optional string

A human-readable name for the device. Some devices have a name that the user can configure (e.g. "Loudest speaker") and some devices have a generic name associated with the manufacturer or device model.

published: optional boolean

The playlist's public/private status (if it should be added to the user's profile or not): true the playlist will be public, false the playlist will be private, null the playlist status is not relevant. For more about public/private status, see Working with Playlists

supports_volume: optional boolean

If this device can be used to set the volume.

type: optional string

Device type, such as "computer", "smartphone" or "speaker".

volume_percent: optional number

The current volume in percent.

minimum0
maximum100

MePlayerQueue

Get the User's Queue
GET/me/player/queue
Add Item to Playback Queue
POST/me/player/queue