A simple and useful proxy for accessing SoundCloud's unofficial API
- 🔍 Search and fetch track info from SoundCloud
- 🎧 Extract high-quality download links
- 🖼️ Get album artwork
- ⚡ Fast performance with Client ID caching
- 🔄 Automatic Client ID management
- Node.js version 18 or higher
- npm or yarn
# Clone the repository
git clone https://github.com/TssHack/soundcloud-proxy.git
cd soundcloud-proxy
# Install dependencies
npm install
# Start the server
npm startThe server runs on port 3000 by default. To change the port:
PORT=8080 npm startGET /beta?url=https://soundcloud.com/user/track-name
curl "http://localhost:3000/beta?url=https://soundcloud.com/username/track-name"{
"title": "Track Title",
"artist": "Artist Name",
"url": "https://soundcloud.com/username/track-name",
"thumbnail": "https://i1.sndcdn.com/artworks-xxxxx-t500x500.jpg",
"download": "https://api-v2.soundcloud.com/...",
"duration": 245.5,
"developer": {
"name": "Ehsan Fazli",
"username": "@abj0o"
}
}| Variable | Description | Default |
|---|---|---|
PORT |
Server port | 3000 |
CLIENT_ID |
SoundCloud Client ID | From file or code |
Create a file named soundcloud_client_id.txt in the project root and put your Client ID in it:
echo "YOUR_CLIENT_ID_HERE" > soundcloud_client_id.txt| Route | Description |
|---|---|
GET / |
Home page and guide |
GET /beta |
Get track info and download link |
# Install dependencies for development
npm install
# Run in development mode (with nodemon)
npm run dev- GitHub: TssHack
- Telegram: @abj0o
- Email: ehsanfazlinejad@gmail.com
This project is created for educational and personal purposes only. Please comply with SoundCloud's terms of service.
This project is released under the MIT License.