🎵 SoundCloud Scraper API is a simple Flask-based web service that enables you to extract information about SoundCloud tracks. Whether you're building a music-related application or simply exploring SoundCloud data, this API provides a convenient way to retrieve track details using SoundCloud URLs. The project emphasizes ease of use, integration, and educational purposes.
This Flask-based API allows you to retrieve information from SoundCloud by providing a SoundCloud track link. It is designed to be hosted on a server and can be easily integrated into other applications or services.
- Get Track Info: Retrieve information about a SoundCloud track by providing its URL.
- Python 3.x
- Flask
- Flask-CORS
- Selenium
-
Clone the repository:
git clone https://github.com/kawsarlog/soundcloud-downloader-api.git
-
Install dependencies:
cd soundcloud-downloader-api pip install -r requirements.txt
-
Run the Flask app:
python app.py
The app will run on
http://127.0.0.1:5000/
by default. -
Make a GET request to the following endpoint to retrieve track information:
http://127.0.0.1:5000/getTrackInfo?url=https://soundcloud.com/user/track-link
Replace
https://soundcloud.com/user/track-link
with the desired SoundCloud track URL. -
You will receive a JSON response with the track information.
-
GET
/getTrackInfo
- Parameters:
url
(string): SoundCloud track URL (e.g.,https://soundcloud.com/user/track-link
).
- Returns:
- JSON object containing track information.
- Parameters:
-
GET
/health
- Returns:
- JSON object with the status of the API.
- Returns:
- The Flask app is configured to run in production mode with debugging turned off. Adjust configurations in
app.py
if needed.
This project is licensed under the MIT License.
Note: This project is for educational purposes only.