Getting specific user's track list with soundcloud API

Roman picture Roman · Apr 15, 2012 · Viewed 19.5k times · Source

Is it possible to get the track list from a specific user via the soundcloud API WITHOUT requiring that specific user to authenticate?

I'm looking for something like the YouTube feeds you can get here: https://gdata.youtube.com/feeds/api/users/mrromandiaz/uploads?max-results=10 (I've pointed this at my account, but the username "mrromandiaz" can be replaced with any username to retrieve that user's videos...

Question is, does Soundcloud offer anything similar? I don't need to authenticate, or post, or upload, or control anything... just get user's track lists to show on their profiles, without resorting to the default player.

Answer

nickf picture nickf · Apr 15, 2012

Yep, the API endpoint is at /users/{user_id}/tracks. If you don't have the user id, but only their username (permalink), you can use the /resolve endpoint to get the user data, including their id.

Documentation here: user resource and here resolve.