Is there a way to get my Spotify play history using either their js or C APIs? I saw a couple of examples, but that was using their outdated API version.
Asked
Active
Viewed 8,707 times
4 Answers
16
Spotify play history is not available through any API.
Disclaimer: I'm a Spotify employee.

iKenndac
- 18,730
- 3
- 35
- 51
-
Do you plan on making it available in the future? – kmdent Sep 17 '13 at 16:49
-
3Highly unlikely in the short term, as in, it's not planned as far as I know. (I'm also a Spotify employee). There is however a twist. If you are interested in getting _your_ play history and _you_ have scrobbled all of your plays to last.fm, you could extract all of it using http://www.last.fm/api/show/user.getRecentTracks – jooon Sep 24 '13 at 17:34
-
What about getting access through the Facebook Open Graph? – elgehelge Jun 25 '14 at 07:46
-
2is this still unsupported ? – Mariano Latorre Jun 30 '15 at 19:45
-
@MarianoLatorre et al. as mentioned by mrowa44 below, this is possible now! – Michael Jul 08 '17 at 02:51
11
Support for this has been added recently: https://developer.spotify.com/web-api/web-api-personalization-endpoints/get-recently-played/
curl -X GET "https://api.spotify.com/v1/me/player/recently-played" -H "Authorization: Bearer {your access token}"

mrowa44
- 336
- 5
- 10
-
2This endpoint only gives access to the "recently played" list. Is there a way to get the full playing history by dates? – arnon cohen May 18 '21 at 13:47
-
1Unfortunately, with this method you can only get the 50 last played tracks, not the entire history. I tested it. – Philip Z. Mar 07 '22 at 18:33
1
It doesn't look like it.
The JavaScript Web API doesn't have a method for authentication.
The libspotify C API will handle authentication, but I don't see anything about a user's history. I could be missing it, as I'm not a C expert.

Black Sheep
- 6,604
- 7
- 30
- 51

cpastore84
- 474
- 2
- 7
1
Users can connect Spotify to Last.fm, which does store and give access to a user's play history.

ejain
- 3,456
- 2
- 34
- 52