Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Soundcloud API only returning two results?

Tags:

soundcloud

I am calling http://api.soundcloud.com/users/~~~~~.json?client_id=~~~~~ on the soundcloud API. It used to return 50 results, now it is only returning two with the exact same request. How do I get it back to 50?

like image 915
Drakee510 Avatar asked Feb 08 '23 09:02

Drakee510


1 Answers

Same thing here. I found out it is somehow related to the client_id.

I found it weird that my query returned nothing whereas there are plenty tracks returned when I use the soundcloud website.

You can grab the client_id given while browsing soundcloud as anonym. For me, the query with this client_id returned the expected result.

For example, the query api.soundcloud.com/tracks?q=flume&client_id=02gUJC0hH2ct1EGOcYXQIzRFU91c72Ea returns the expected track, whereas with my client_id I get none.

However I guess this can be a durable solution as the token probably expire.

I hope somebody from soundcloud can help us out here because there is no such things metioned in the documentation.

like image 118
platane Avatar answered May 25 '23 01:05

platane