# SoundCloud Scraper - Tracks, Artists, Plays & Likes (`ninhothedev/soundcloud-scraper`) Actor

$0.5/1K 🔥 Fast SoundCloud scraper! Tracks & artists by search or URL — plays, likes, genre & link. No key. JSON, CSV, Excel or API in seconds. Pull thousands of tracks for music discovery & A\&R research ⚡

- **URL**: https://apify.com/ninhothedev/soundcloud-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:** Social media, Videos, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SoundCloud Scraper 🎧

**Scrape SoundCloud tracks, artists, play counts, likes, reposts and comments — by search query or URL. No login, no API key, no user token.**

This actor extracts music and creator intelligence straight from SoundCloud's public catalog. Feed it search terms or SoundCloud URLs and get back clean, structured JSON: track title, artist, play count, likes, reposts, comments, genre, release date, artwork and description. Perfect for music discovery, A\&R research, creator analytics and trend tracking.

> 💸 **Cheap by design.** Runs on 512 MB and datacenter proxies — expect roughly **$0.50 per 1,000 tracks**.

***

### ✨ Features

- 🔎 **Search mode** — turn any query (`lofi`, `techno mix`, `phonk`, an artist name) into a ranked list of matching tracks.
- 🔗 **Resolve mode** — paste SoundCloud **track, playlist or artist URLs** and get their tracks.
- 📊 **Full engagement metrics** — plays, likes, reposts, comments per track.
- 👤 **Artist attribution** — artist name and profile URL on every row.
- ⚡ **No credentials** — a public `client_id` is auto-extracted from SoundCloud at runtime and cached.
- 🧱 **Datacenter-friendly** — no residential proxy required.
- 🧾 **Tabular output** — flat schema, one row per track, ready for CSV / Excel / Google Sheets.

***

### 🚀 Input

| Field | Type | Description |
|-------|------|-------------|
| `mode` | select | `search` (queries → tracks) or `resolve` (URLs → tracks). Default `search`. |
| `queries` | array | Search terms for `search` mode. Prefill: `["lofi", "techno mix"]`. |
| `urls` | array | SoundCloud track / playlist / artist URLs for `resolve` mode. |
| `maxItems` | integer | Max tracks total. Default `100`, max `1000`. |

#### Example — search

```json
{
  "mode": "search",
  "queries": ["lofi", "techno mix"],
  "maxItems": 200
}
```

#### Example — resolve

```json
{
  "mode": "resolve",
  "urls": ["https://soundcloud.com/artist/track-name"],
  "maxItems": 50
}
```

***

### 📤 Output

Each item is one track:

```json
{
  "id": 1068221248,
  "title": "She Neva Know Lofi Ver",
  "artist": "Tien Pham",
  "artist_url": "https://soundcloud.com/tien-pham-418156952",
  "url": "https://soundcloud.com/tien-pham-418156952/she-neva-know-lofi-ver",
  "duration_ms": 165218,
  "duration_sec": 165.218,
  "plays": 2458201,
  "likes": 9749,
  "reposts": 192,
  "comments": 54,
  "genre": "Lofi",
  "created_at": "2021-06-14T15:40:10Z",
  "artwork": "https://i1.sndcdn.com/artworks-large.jpg",
  "description": "…",
  "source": "soundcloud",
  "scraped_at": "2026-07-20T10:00:00Z"
}
```

Every field is nullable — the actor never breaks on a missing value.

***

### 🎯 Use cases

- **🎵 Music discovery** — surface rising tracks in any genre or mood.
- **🧑‍🎤 Artist & A\&R research** — scout independent artists by their real play/like/repost numbers.
- **📈 Creator analytics** — benchmark a catalog's engagement over time.
- **🔥 Trend tracking** — monitor how genres (phonk, lofi, hyperpop, techno) move week over week.

***

### 🔁 Related actors

- [Deezer Music Scraper](https://apify.com/ninhothedev/deezer-music-scraper)
- [MusicBrainz Scraper](https://apify.com/ninhothedev/musicbrainz-scraper)
- [YouTube Search Scraper](https://apify.com/ninhothedev/youtube-search-scraper)
- [Podcast Intelligence Scraper](https://apify.com/ninhothedev/podcast-intelligence-scraper)

***

### ❓ FAQ

**Do I need a SoundCloud account or API key?** No. The actor extracts a public `client_id` from SoundCloud's own web bundle and uses the public `api-v2` endpoints.

**Is it reliable?** SoundCloud rotates its `client_id`; the actor re-extracts a fresh one on every run, so it self-heals. If your IP/region is blocked the run fails loudly with a clear message.

**How much does it cost?** Around **$0.50 per 1,000 tracks** — it runs on 512 MB with datacenter proxies.

***

### ⚖️ Legal

Scrapes only publicly available data. You are responsible for complying with SoundCloud's Terms of Service and applicable law (including GDPR) when using the output.

**Keywords:** soundcloud scraper, soundcloud api, soundcloud track scraper, music scraper, soundcloud data, play count scraper, artist analytics, soundcloud search, music discovery, creator intelligence.

# Actor input Schema

## `mode` (type: `string`):

How to collect tracks. 'search' runs text queries against SoundCloud and returns matching tracks. 'resolve' takes SoundCloud URLs (track, playlist or artist) and returns their tracks.

## `queries` (type: `array`):

Search terms used when mode is 'search'. Each term returns matching SoundCloud tracks (title, artist, plays, likes, ...).

## `urls` (type: `array`):

SoundCloud track, playlist or artist URLs to resolve when mode is 'resolve'. Example: https://soundcloud.com/artist/track-name

## `maxItems` (type: `integer`):

Maximum number of tracks to return in total across all queries or URLs.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "lofi",
    "techno mix"
  ],
  "urls": [
    "https://soundcloud.com/tommy-cash/tommy-cash-x-charli-xcx-mean-girls"
  ],
  "maxItems": 100
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "lofi",
        "techno mix"
    ],
    "urls": [
        "https://soundcloud.com/tommy-cash/tommy-cash-x-charli-xcx-mean-girls"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/soundcloud-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": [
        "lofi",
        "techno mix",
    ],
    "urls": ["https://soundcloud.com/tommy-cash/tommy-cash-x-charli-xcx-mean-girls"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/soundcloud-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "lofi",
    "techno mix"
  ],
  "urls": [
    "https://soundcloud.com/tommy-cash/tommy-cash-x-charli-xcx-mean-girls"
  ],
  "maxItems": 100
}' |
apify call ninhothedev/soundcloud-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=ninhothedev/soundcloud-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/JJGDziendnw6ZJ9LZ/builds/deo5AuSdtNiV93t0a/openapi.json
