How do you find out someones soundcloud userid?

Tim's project seems to be broken. Figured I'd just copy and paste the solution here. Thanks subZero!

curl -v 'http://api.soundcloud.com/resolve.json?url=http://soundcloud.com/YOUR_USER_NAME&client_id=YOUR_CLIENT_ID'

Simply take a look into the source head section.

<meta property="twitter:app:url:googleplay" content="soundcloud://users:IDHERE">
<meta property="twitter:app:url:iphone" content="soundcloud://users:IDHERE">
<meta property="twitter:app:url:ipad" content="soundcloud://users:IDHERE">
<meta property="twitter:player" content="https://w.soundcloud.com/player/?url=https%3A%2F%2Fapi.soundcloud.com%2Fusers%2FIDHERE&amp;auto_play=false&amp;show_artwork=true&amp;visual=true&amp;origin=twitter">

and several other meta tags ...


Check out What is my SoundCloud user_id? from timpietrusky:

http://timpietrusky.github.io/what-is-my-soundcloud-user-id/

If you want the user id of another user, you need to have their permalink (containing the username). Then you can use the /resolve endpoint from the API to get their data, including the id

Learn more on /resolve in the documentation

Tags:

Soundcloud