Virgiliu
Virgiliu

Reputation: 3118

Reliable way of getting a Soundcloud track playback count via the API?

I'm using the /tracks API endpoint to retrieve song stats like playback count and favorite count. I've noticed that the playback count in the API is not the same as the one on the website.

Here's an example Bug example

I found a workaround here https://stackoverflow.com/a/36985629/287491 but it seems that using it might be against the Soundcloud ToS although I didn't find the specific article in the ToS. On top of that I'd rather not use an undocumented API as it may change or be removed without notice.

What would be the proper way to retrieve the real playback count for a track?

Upvotes: 7

Views: 613

Answers (1)

Hash
Hash

Reputation: 4715

As You wrote the workaround is valid but it surely violates the ToS of SoundCloud!

By the side of SoundCloud there was an attempt to clean up:

http://status.soundcloud.com/post/145855742725/stats-maintenance#note-container

Your is after their update (August 3rd, 2016 ), so it is a bug. My recommendation is to ask help on the forum, (stat special part), they seem to reply in this topic little to no time.

Update: the API worked as intended on 2017.10.09.

Upvotes: 2

Related Questions