4
votes

Recently, as in the past couple months, Soundcloud has stopped returning tracks for lots of artists using the API endpoint:

http://api.soundcloud.com/users/{USER_ID}/tracks?client_id={CLIENT_ID}

Why is this?

I am hoping for an answer to this by Soundcloud's support team, as I found the answer to SoundCloud API returning 0 tracks despite user having tracks unsatisfying.

2
can you give a user id example? then we could test it too. - johnh10
For example Sam Feldt has this issue. api.soundcloud.com/resolve?url=https://soundcloud.com/…... -> api.soundcloud.com/users/57447226?client_id=... Track count 63 at time of writing. Then api.soundcloud.com/users/57447226/tracks?client_id=... and you get and empty result. If you try a specific track using the resolve, you get a 403. api.soundcloud.com/resolve?url=https://soundcloud.com/samfeldt/…... - DelGurth

2 Answers

0
votes

I also can confirm this problem if I try to resolve a playlist I get an empty tracks array.enter image description here

0
votes

You are probably getting a 403 error because the right holder disabled API access to the tracks. See this answer, hope that it is more satisfying.

SoundCloud emailed back saying they have introduced an option for right holders to disable all API access to tracks by default, returning this 403 error when requested. They also said it's understandable that this is a confusing feature, and that they hope to make it more clear.

And seems that you only get the 403 on specific tracks, but on the /tracks endpoint you just get an empty result, as I've tested for another question about this issue.