Answered

Report: SoundCloud API Stream Calls do not count in statistics

  • 26 March 2019
  • 1 reply
  • 107 views

This message is for Carl https://twitter.com/SCsupport/status/1110537056458022912

Bug: March 20, SoundCloud API stopped to count the SoundCloud statistics.

Reproduction:

As of March 26. this track has 2 plays
https://soundcloud.com/young_cop/ya-no

Do an API stream call with
https://api.soundcloud.com/tracks/593407884/stream?client_id=(your client id)

My website uses these API calls, I internally counted 81 calls to this URL with three different methods:
  • Google Analytics Events with activated bot protection
  • NGINX Logfile Analysis
  • Database Statistics with bot protection
You can have a look at the source code https://github.com/starfrosch/hot111/blob/master/src/Service/starfroschStreamService.php that does the streaming and download count

All my statistics say: A minimum of 81 real users have listended to that track.
Not one single play is being reported by SoundCloud.

As a test, I took an exposed SoundCloud client_id with the same effects. It's not related to the client_id.
The bug is reproducable with different track ids, different users and different client_id's

My tracks at https://soundcloud.com/starfrosch/ get 90% of the traffic from my website. These numbers dropped by 90% March 20. I have another SoundCloud user reporting the same effect.
My own statistics I access at https://soundcloud.com/starfrosch/stats/

Thanks for investigating.

Cheers

Markus
icon

Best answer by starfrosch 28 March 2019, 11:36

Thanks a lot, the bug has been fixed as of March 27. Great work!
View original

1 reply

Thanks a lot, the bug has been fixed as of March 27. Great work!

Reply