Getting a SoundCloud API client ID

Prova Allwinner picture Prova Allwinner · Dec 6, 2016 · Viewed 24.9k times · Source

Encountered a problem accessing my tracks from browser. Usually i type this link in my browser to access downloadable tracks:

http://api.soundcloud.com/tracks/294324164/download?client_id=02gUJC0hH2ct1EGOcYXQIzRFU91c72Ea

But now i can not access it anymore, probably the client id is changed. How can i obtain a new client id?

Thanks.

Answer

Phr34k0 picture Phr34k0 · May 14, 2017

Simple.. Go to any tracks that you can download on soundcloud, press f12 and look at networks tab, click download and it will show you something like

https://api.soundcloud.com/tracks/322109493/download?client_id=2t9loNQH90kzJcsFCODdigxfp325aq4z&oauth_token=2-274121-85658-y9KQYyZ6qG9oT2uvPq

Grab that client_id, replace it and amend the url from download? to stream?.. use streams? if you want a list of urls in json format

http://api.soundcloud.com/tracks/294324164/stream?client_id=2t9loNQH90kzJcsFCODdigxfp325aq4z