SoundCloud Scraper avatar
SoundCloud Scraper
Try for free

3 days trial then $25.00/month - No credit card required now

View all Actors
SoundCloud Scraper

SoundCloud Scraper

epctex/soundcloud-scraper
Try for free

3 days trial then $25.00/month - No credit card required now

Retrieve information from SoundCloud without any restrictions or rate limits. Extremely fast data harvesting about tracks, comments, user profiles, albums, playlists, and more. Download URLs of tracks, monetization methods, number of likes, number of shares, and many more are ready for you.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8    "startUrls": [
9        "https://soundcloud.com/sibel-dar-c/ekin-ekinci-gel-art-k",
10        "https://soundcloud.com/sibel-dar-c",
11        "https://soundcloud.com/swedish-hiphop-rap-fm/sets/pistoler-poesi-och-sex",
12        "https://soundcloud.com/search/sets?q=dnb",
13        "https://soundcloud.com/search/people?q=dnb",
14        "https://soundcloud.com/search/albums?q=dnb",
15        "https://soundcloud.com/search/sounds?q=dnb",
16    ],
17    "maxItems": 20,
18    "endPage": 1,
19    "proxy": {
20        "useApifyProxy": True,
21        "apifyProxyGroups": ["RESIDENTIAL"],
22    },
23}
24
25# Run the Actor and wait for it to finish
26run = client.actor("epctex/soundcloud-scraper").call(run_input=run_input)
27
28# Fetch and print Actor results from the run's dataset (if there are any)
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31    print(item)
32
33# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
  • 6 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in Dec 2021
  • Modified 12 minutes ago