Get Recently Played Tracks
Changed onGet tracks from the current user's recently played tracks. Note: Currently doesn't support podcast episodes.
Request
- Base URLhttps://api.spotify.com/v1
- URLhttps://api.spotify.com/v1/me/player/recently-played
- AuthOAuth 2Authorization code: https://accounts.spotify.com/authorizeToken URL: https://accounts.spotify.com/api/token scopes: user-read-recently-played
Query parameters
The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
A Unix timestamp in milliseconds. Returns all items after (but not including) this cursor position. If after is specified, before must not be specified.
A Unix timestamp in milliseconds. Returns all items before (but not including) this cursor position. If before is specified, after must not be specified.
Response
A paged set of tracks
Example response
{
"items": [
{
"track": {
"album": {
"album_type": "compilation",
"total_tracks": 9,
"available_markets": [
"CA",
"BR",
"IT"
],
"id": "2up3OPMp9Tb4dAKM2erWXQ",
"images": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"height": 300,
"width": 300
}
],
"release_date": "1981-12",
"release_date_precision": "year",
"uri": "spotify:album:2up3OPMp9Tb4dAKM2erWXQ"
}
}
}
]
}Changes
- info
response property
allOf[subschema #2]/items/items/track/allOf[TrackObject]/external_idsreactivated
- info
- info
response property
allOf[subschema #2]/items/items/track/allOf[TrackObject]/album/allOf[SimplifiedAlbumObject]/allOf[AlbumBase]/available_marketsdeprecated - info
response property
allOf[subschema #2]/items/items/track/allOf[TrackObject]/available_marketsdeprecated - info
response property
allOf[subschema #2]/items/items/track/allOf[TrackObject]/external_idsdeprecated - info
response property
allOf[subschema #2]/items/items/track/allOf[TrackObject]/linked_fromdeprecated - info
response property
allOf[subschema #2]/items/items/track/allOf[TrackObject]/popularitydeprecated
- info