Listenbrainz export

Tags: #<Tag:0x00007fe3167f5b88>

Hi there everyone.

I have recently joined Listenbrainz and I am enjoying the site and everything it has to offer (& the other sites / communities too).

I have spent some time trying to find a way of tracking my plays on Spotify. I have a 10 year+ history of plays on my iTunes library & would like to carry on tracking my most played, least played etc songs. I enjoy my music stats, with this, I know I am in good company here.

I currently use iSyncr to track plays for songs I own in my iTunes library, however I would like a solution for Spotify.

I have linked my Spotify to Listenbrainz and they are tracking perfectly. I’m very impressed with the how seamless it is - that must have taken some work!

Please consider I have little to no knowledge of the intricacies of how these things work and I don’t even know what you would call me in that regard lol - so if I sound ‘green’ that is why! However I am able to follow processes or guidance.

Is there any way of using my exported JSON file to show when a song is repeated in list format eg.
Song 1 - 10 plays
Song 2 - 7 plays

You get the picture - the same as iTunes library.

Apologies for the long message - please move / delete as you feel. Thanks for your support.

Mark

3 Likes

Hi Mark,
Welcome to ListenBrainz, I am glad you are enjoying the website. The list of song along with their listen count come under the statistics we calculate for all user. Currently we don’t provide a way to export the statistics as a JSON. However you can obtain your recording stats from the API endpoint and save it as a JSON.

The URL for API endpoint -
https://api.listenbrainz.org/1/stats/user/<your-username>/recordings
For eg -
https://api.listenbrainz.org/1/stats/user/ishaanshah/recordings

1 Like

That is perfect - thank you for your response also. I can use this to paste into a spreadsheet and view that way. I look forward to waiting awhile and making use of this feature when I have built up my listens.

Is it possible to have more than the first page of statistics on the URL or is it just the top 25 recordings?

Thank you for your help - your time is greatly appreciated.

Mark

the api supports count and offset so call the api again with a different offset to get the next set of results.
https://api.listenbrainz.org/1/stats/user/ishaanshah/recordings?count=100&offset=100

You can import json from the web into excel using data > from the web and pasting the url.

3 Likes

Thank you for your support with my query.

all the best,
Mark