Scraper's Soundcloud APIv2 Specification

LEGAL DISCLAIMER Technically, the use of this API is against Soundcloud's developer ToS. Use at your own risk.

Soundcloud uses an API for it's web app that is much more powerful than it's current public API (that requires an API key that is not available without an account, ew). I have found this API very helpful for writing scripts (like my scrss, so I thought I'd document it for the likes of you. Gross little script goblin.

NOTE: Unless otherwise specified, all these queries require a client_id field to be allowed access to the API. If you don't know how to get this, scrss has code to automatically get this information. I'll leave to figure out how to adapt such code to your project.

DOUBLE NOTE: All responses to API queries in this specification are application/json.

Searching


/search/queries

This endpoint is for outputting search suggestions.

queries

q REQUIRED used for your search query. Standard % escaping in a URL is supported.

response

{
   "collection": [
      {
         "output": "[suggested_search_query]",
         "query": "[suggested_search_query]"
      },
      [8 more times]
   ]
}

/search

This endpoint is for detailed searching.

queries

q REQUIRED used for your search query. Standard % escapin in a URL is supported.
limit used to specify how many entries you want. Defaults to 10 if not supplied.

response

Responses are encapsulated in a "collection": array, and take the form of either artist entries or song entries.

Homepage Music


Soundcloud's homepage (if you are not logged in) displays recommended music. Right now, the majority of it is Lil Uzi Vert. Intentional or not, music here proports to be popular among Soundcloud users.

/featured-tracks/top/all-music

queries

limit used to specify how many entries you want. Defaults to 10 if not supplied.

response

Responses are encapsulated in a "collection": array, and take the form of song entries.

Artist

/users/{user-id}