After finding out that YouTube gives away free and unrestricted Api keys, I thought “Maybe it’s not only YouTube doing this. What about other platforms? Like SoundCloud?”. And as it turns out: SoundCloud makes pretty much the same thing.
After navigating to a song(in my case The Paper Kites - Bloom (Bonus Track)) SoundCloud the browser sends a GET request to the official SoundCloud Api:
So I concluded that this client_id has to be somewhere. If one searches the html document, one will find a Json string like this in the embedded JavaScript:
And in the first JavaScript file beginning with app-(in this case assets/app-2b94525-16633a7-3.js) there’s another interesting JavaScript(not Json) object:
Obviously there are several api keys at our browsers disposal, but only client_id is the one intended for the use of the official SoundCloud Api.
Now we have our Api key and can freely access the SoundCloud Api. Keep in mind though that exploiting this mightterms of use:
We reserve the right, at our discretion, to impose restrictions and limitations on the number and frequency of calls made by your app to the SoundCloud® API. You must not attempt to circumvent any restrictions or limitations that we impose. Presently, API calls are limited to 15,000 per app per day.