# SoundCloud API by APISH (`apish/soundcloud-api`) Actor

SoundCloud tracks, play counts, artists, followers, playlists, comments and trending charts as JSON, with no SoundCloud app or key, via APISH. Pay per credit; failed calls are free.

- **URL**: https://apify.com/apish/soundcloud-api.md
- **Developed by:** [APISH](https://apify.com/apish) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 credits

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SoundCloud API by APISH

Get public SoundCloud data as clean, consistent JSON: soundCloud artist, soundCloud comments by a user, soundCloud artist followers, soundCloud artist following, soundCloud artist likes, soundCloud artist playlists and more. 21 endpoints, one response shape, numbers parsed, absolute URLs.

### How to use

1. Pick an **Endpoint**. Each option shows what it returns and its price in credits.
2. Enter its **Parameters** as JSON, for example `{"url":"https://soundcloud.com/postmalone"}`. All parameters are listed below.
3. Run. Each call becomes one row in the dataset. Use **Batch** to run the same endpoint for many inputs and **Pages per input** to follow pagination.

### Pricing

Pay per event: you pay per APISH credit the call used. The price of each endpoint is in the table below. Calls that fail on our side (server errors, timeouts, blocks) are free.

### Endpoints

| Endpoint | Returns | Required parameters | Credits |
|---|---|---|---|
| `/soundcloud/v1/artist` | SoundCloud artist | `url` | 1 |
| `/soundcloud/v1/artist/comments` | SoundCloud comments by a user | — | 1 |
| `/soundcloud/v1/artist/followers` | SoundCloud artist followers | `url` | 1 |
| `/soundcloud/v1/artist/following` | SoundCloud artist following | `url` | 1 |
| `/soundcloud/v1/artist/likes` | SoundCloud artist likes | `url` | 1 |
| `/soundcloud/v1/artist/playlists` | SoundCloud artist playlists | `url` | 1 |
| `/soundcloud/v1/artist/reposts` | SoundCloud artist reposts | `url` | 1 |
| `/soundcloud/v1/artist/tracks` | SoundCloud artist tracks | `url` | 1 |
| `/soundcloud/v1/discover` | SoundCloud trending by genre | — | 1 |
| `/soundcloud/v1/playlist` | SoundCloud playlist | `url` | 1 |
| `/soundcloud/v1/playlist/likers` | SoundCloud playlist likers | `url` | 1 |
| `/soundcloud/v1/resolve` | Resolve a SoundCloud link | `url` | 1 |
| `/soundcloud/v1/search` | Search SoundCloud | `q` | 1 |
| `/soundcloud/v1/search/autocomplete` | SoundCloud search suggestions | `q` | 1 |
| `/soundcloud/v1/tag` | SoundCloud tracks by tag | `tag` | 1 |
| `/soundcloud/v1/track` | SoundCloud track | `url` | 1 |
| `/soundcloud/v1/track/comments` | SoundCloud track comments | `url` | 1 |
| `/soundcloud/v1/track/likers` | SoundCloud track likers | `url` | 1 |
| `/soundcloud/v1/track/playlists` | SoundCloud playlists with a track | `url` | 1 |
| `/soundcloud/v1/track/related` | SoundCloud related tracks | `url` | 1 |
| `/soundcloud/v1/track/reposters` | SoundCloud track reposters | `url` | 1 |

### Output

Each dataset row has `endpoint`, `params`, `status`, `credits_used` and the endpoint's data. Add `"raw": 1` to the parameters to also get the site's original record, or `"fields": "a,b.c"` to return only the fields you need.

### Endpoint details

#### SoundCloud artist

Endpoint `/soundcloud/v1/artist` · 1 credit per successful call.

Parameters:

- `url` (required)

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud comments by a user

Endpoint `/soundcloud/v1/artist/comments` · 1 credit per successful call.

The comments a SoundCloud user posted on tracks, newest first: text, time, position in the track and the track commented on. Pass `next_cursor` back as `cursor`.

Parameters:

- `handle`: Handle, @handle or profile link. Use this, url or user_id.
- `url`: Profile link in any form.
- `user_id`: Numeric user id.
- `cursor`: next_cursor from the previous page.

Example parameters: `{"handle":"kehlanimusic"}`

#### SoundCloud artist followers

Endpoint `/soundcloud/v1/artist/followers` · 1 credit per successful call.

The user's followers.

Parameters:

- `url` (required): Artist URL (or `handle`).
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud artist following

Endpoint `/soundcloud/v1/artist/following` · 1 credit per successful call.

Accounts the user follows.

Parameters:

- `url` (required): Artist URL (or `handle`).
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud artist likes

Endpoint `/soundcloud/v1/artist/likes` · 1 credit per successful call.

Tracks and playlists the user liked, with when.

Parameters:

- `url` (required): Artist URL (or `handle`).
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud artist playlists

Endpoint `/soundcloud/v1/artist/playlists` · 1 credit per successful call.

An artist's playlists or albums.

Parameters:

- `url` (required): Artist URL (or `handle`).
- `type` — one of `playlists`, `albums`: playlists (default) or albums.
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud artist reposts

Endpoint `/soundcloud/v1/artist/reposts` · 1 credit per successful call.

The user's reposts.

Parameters:

- `url` (required): Artist URL (or `handle`).
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud artist tracks

Endpoint `/soundcloud/v1/artist/tracks` · 1 credit per successful call.

Parameters:

- `url` (required)
- `sort`: recent or popular.
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"url":"https://soundcloud.com/postmalone"}`

#### SoundCloud trending by genre

Endpoint `/soundcloud/v1/discover` · 1 credit per successful call.

SoundCloud's Discover charts: the trending tracks of a genre (up to 50, ranked, each with plays, likes, reposts, comments, artist and artwork), or with `view=sections` the Discover page's sections (curated selections and their playlists) plus the list of genres that have a trending chart.

Parameters:

- `genre`: Genre slug: all-genres (default), hip-hop, pop, electronic, r-n-b, house, techno, trap, indie, rock, latin, afrobeat and more (`view=sections` lists them). A genre name or a soundcloud.com/discover/sets/trending-by-genre:… link also works.
- `view` — one of `trending`, `sections`: trending (default): the genre's ranked tracks. sections: the Discover page's sections and the list of trending genres.

Example parameters: `{"genre":"hip-hop"}`

#### SoundCloud playlist

Endpoint `/soundcloud/v1/playlist` · 1 credit per successful call.

A playlist or album with its tracks (50 per page).

Parameters:

- `url` (required): Playlist or album URL.
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/billieeilish/sets/cry"}`

#### SoundCloud playlist likers

Endpoint `/soundcloud/v1/playlist/likers` · 1 credit per successful call.

The users who liked a SoundCloud playlist or album, with when they liked it, their profile, followers and track counts. Pass `next_cursor` back as `cursor`.

Parameters:

- `url` (required): Playlist or album link in any form, or a numeric playlist id.
- `cursor`: next_cursor from the previous page.

Example parameters: `{"url":"https://soundcloud.com/kehlanimusic/sets/sweetsexysavage"}`

#### Resolve a SoundCloud link

Endpoint `/soundcloud/v1/resolve` · 1 credit per successful call.

Turns any soundcloud.com link (a profile, track, playlist or album, an on.soundcloud.com share link) into the full object it points to, with `kind` telling which.

Parameters:

- `url` (required): A soundcloud.com or on.soundcloud.com link.

Example parameters: `{"url":"https://soundcloud.com/kehlanimusic/sets/sweetsexysavage"}`

#### Search SoundCloud

Endpoint `/soundcloud/v1/search` · 1 credit per successful call.

Parameters:

- `q` (required)
- `type`: tracks, users or playlists.
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"q":"post malone","type":"tracks"}`

#### SoundCloud search suggestions

Endpoint `/soundcloud/v1/search/autocomplete` · 1 credit per successful call.

SoundCloud's search suggestions for what a user is typing.

Parameters:

- `q` (required): The start of a search.
- `limit`: Suggestions, 1-50 (default 10).

Example parameters: `{"q":"lof"}`

#### SoundCloud tracks by tag

Endpoint `/soundcloud/v1/tag` · 1 credit per successful call.

SoundCloud tracks for a tag or genre (lofi, house, hip-hop...), newest first or most popular: title, artist, plays, likes, comments, duration, genre, artwork and links. Pass `next_cursor` back as `cursor`; null on the last page.

Parameters:

- `tag` (required): Tag or genre.
- `sort` — one of `recent`, `popular`: recent (default) or popular.
- `cursor`: next_cursor from the previous page.

Example parameters: `{"tag":"lofi"}`

#### SoundCloud track

Endpoint `/soundcloud/v1/track` · 1 credit per successful call.

Parameters:

- `url` (required)

Example parameters: `{"url":"https://soundcloud.com/postmalone/circles"}`

#### SoundCloud track comments

Endpoint `/soundcloud/v1/track/comments` · 1 credit per successful call.

Parameters:

- `url` (required)
- `cursor`: Value of `next_cursor` from the previous page.

Example parameters: `{"url":"https://soundcloud.com/postmalone/circles"}`

#### SoundCloud track likers

Endpoint `/soundcloud/v1/track/likers` · 1 credit per successful call.

Users who liked the track.

Parameters:

- `url` (required): Track URL.
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone/circles"}`

#### SoundCloud playlists with a track

Endpoint `/soundcloud/v1/track/playlists` · 1 credit per successful call.

Public playlists or albums that contain the track.

Parameters:

- `url` (required): Track URL.
- `type` — one of `playlists`, `albums`: playlists (default) or albums.
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone/circles"}`

#### SoundCloud related tracks

Endpoint `/soundcloud/v1/track/related` · 1 credit per successful call.

SoundCloud's related tracks.

Parameters:

- `url` (required): Track URL.
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone/circles"}`

#### SoundCloud track reposters

Endpoint `/soundcloud/v1/track/reposters` · 1 credit per successful call.

Users who reposted the track.

Parameters:

- `url` (required): Track URL.
- `cursor`: Value of `next_cursor` from the previous page; `next_cursor` is null on the last page.

Example parameters: `{"url":"https://soundcloud.com/postmalone/circles"}`

### Support

Questions, bugs or a missing field? Open an issue in this Actor's Issues tab and we will reply there.

Public data only: nothing behind a login. You are responsible for how you use the data you collect.

# Actor input Schema

## `endpoint` (type: `string`):

Which SoundCloud endpoint to call. Each option shows what it returns and its price in credits.

## `params` (type: `object`):

Query parameters for the endpoint, as JSON. See the README for every endpoint's parameters. Example: {"url":"https://soundcloud.com/postmalone"}

## `batch` (type: `array`):

Run the same endpoint for many inputs: a list of parameter objects. Each item is one call. Leave empty to use Parameters.

## `maxPages` (type: `integer`):

For paginated endpoints: follow next_cursor up to this many pages per input. 1 = first page only.

## Actor input object example

```json
{
  "endpoint": "/soundcloud/v1/artist",
  "params": {
    "url": "https://soundcloud.com/postmalone"
  },
  "batch": [],
  "maxPages": 1
}
```

# Actor output Schema

## `results` (type: `string`):

One row per call: endpoint, params, status, credits_used and the data.

# 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 = {
    "endpoint": "/soundcloud/v1/artist",
    "params": {
        "url": "https://soundcloud.com/postmalone"
    },
    "batch": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("apish/soundcloud-api").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 = {
    "endpoint": "/soundcloud/v1/artist",
    "params": { "url": "https://soundcloud.com/postmalone" },
    "batch": [],
}

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

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

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

```

## CLI example

```bash
echo '{
  "endpoint": "/soundcloud/v1/artist",
  "params": {
    "url": "https://soundcloud.com/postmalone"
  },
  "batch": []
}' |
apify call apish/soundcloud-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apish/soundcloud-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/U3IPUVfYKk5R6lRtY/builds/57B2Td3s2pnZYN0Fs/openapi.json
