setup - RalkeyOfficial/soundcloud-downloader GitHub Wiki
Configuration
At the root of the project create a file named config.json
:
{
"client_id": "YOUR_CLIENT_ID",
"oauth": "YOUR_OAUTH_TOKEN"
}
client_id
– your SoundCloud API client identifieroauth
– your OAuth token, e.g.:1-234567-123456789-KsP844pFhHtVIo
Obtaining Credentials
OAuth Token (from Cookies)
- Open your browser and sign in to SoundCloud.
- Open Developer Tools → Application (Chrome) → Cookies.
- Find the cookie named
oauth_token
. - Copy its value (this will not include the OAuth prefix).
Client ID (from Network)
- With Developer Tools open, switch to the Network tab.
- Reload the page or perform a search/play a track, this will generate XHR calls to the SoundCloud API.
- In the list of requests, click on one that goes to
api-v2.soundcloud.com
(or similar). - In the Headers pane, look under Query String Parameters or Payload for
client_id
. - Copy that value.