# SoundCloud API

> SoundCloud returns public track details, stats, and artist track lists as a workflow and API.

Get track returns public track details and stats from a title or link, with an optional artist. List artist tracks returns public tracks and profile details from an artist name, username, or profile link; sorting and result count are optional.

- Page: https://fous.com/workflows/soundcloud
- Handle: `@soundcloud`
- Category: [Entertainment](https://fous.com/workflows/category/entertainment)
- Source website: https://soundcloud.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with SoundCloud.

## Methods

### Get track

Operation `get_track`, version 1. 1 credit per call.

Get a public SoundCloud track and its stats from a title and optional artist, or from a track link. Search picks the artist’s matching upload with the most plays; unavailable fields are null.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `track` | string | yes | `"https://soundcloud.com/secret-service-862007284/old-town-road"` | Track title or SoundCloud track link, for example Old Town Road or https://soundcloud.com/secret-service-862007284/old-town-road. |
| `artist` | string | no | `"Lil Nas X"` | Artist name or SoundCloud username, for example Lil Nas X. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "track"
  ],
  "properties": {
    "track": {
      "type": "string",
      "description": "Track title or SoundCloud track link, for example Old Town Road or https://soundcloud.com/secret-service-862007284/old-town-road.",
      "examples": [
        "https://soundcloud.com/secret-service-862007284/old-town-road",
        "Old Town Road",
        "bad guy"
      ]
    },
    "artist": {
      "type": "string",
      "default": "",
      "description": "Artist name or SoundCloud username, for example Lil Nas X.",
      "examples": [
        "Lil Nas X",
        "Billie Eilish"
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "track": "https://soundcloud.com/secret-service-862007284/old-town-road"
    },
    {
      "track": "Old Town Road",
      "artist": "Lil Nas X"
    },
    {
      "track": "bad guy",
      "artist": "Billie Eilish"
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `tags` | array |  | Track tags |
| `genre` | string or null | `"Country"` | Track genre |
| `title` | string or null | `"Old Town Road (I Got The Horses In The Back) [Prod. YoungKio]"` | Track title |
| `length` | string or null | `"1:53"` | Track length as minutes and seconds |
| `track_id` | integer or null | `539018871` | SoundCloud track ID |
| `like_count` | integer or null | `1365224` | Number of likes |
| `play_count` | integer or null | `112713342` | Number of plays |
| `track_link` | string or null | `"https://soundcloud.com/secret-service-862007284/old-town-road"` | SoundCloud track page link |
| `artist_name` | string or null | `"Lil Nas X"` | Uploader’s displayed artist name |
| `description` | string or null | `"can't nobody tell me nonthin"` | Track description as plain text |
| `upload_date` | string or null | `"2018-12-03"` | Upload date (YYYY-MM-DD) |
| `release_date` | string or null | `"2019-03-29"` | Release date (YYYY-MM-DD), when set |
| `repost_count` | integer or null | `32829` | Number of reposts |
| `comment_count` | integer or null | `39551` | Number of comments |
| `artwork_image_link` | string or null | `"https://i1.sndcdn.com/artworks-000452241642-zoz2uc-large.jpg"` | Track artwork image link |
| `artist_profile_link` | string or null | `"https://soundcloud.com/secret-service-862007284"` | Uploader’s SoundCloud profile link |
| `length_milliseconds` | integer or null | `113068` | Track length in milliseconds |

**Example input**

```json
{
  "track": "https://soundcloud.com/secret-service-862007284/old-town-road"
}
```

**Example output**

```json
{
  "tags": [
    "Red Dead Redemption",
    "country trap",
    "country rap"
  ],
  "genre": "Country",
  "title": "Old Town Road (I Got The Horses In The Back) [Prod. YoungKio]",
  "length": "1:53",
  "track_id": 539018871,
  "like_count": 1365224,
  "play_count": 112713342,
  "track_link": "https://soundcloud.com/secret-service-862007284/old-town-road",
  "artist_name": "Lil Nas X",
  "description": "can't nobody tell me nonthin",
  "upload_date": "2018-12-03",
  "release_date": null,
  "repost_count": 32829,
  "comment_count": 39551,
  "artwork_image_link": "https://i1.sndcdn.com/artworks-000452241642-zoz2uc-large.jpg",
  "artist_profile_link": "https://soundcloud.com/secret-service-862007284",
  "length_milliseconds": 113068
}
```

### List artist tracks

Operation `list_artist_tracks`, version 1. 1 credit per call.

List an artist’s public tracks in latest or SoundCloud popular order, with profile and track details. SoundCloud’s popular list may contain fewer than 100 tracks (currently at most 30).

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `sort` | string | no | `"latest"` | Order by latest uploads or SoundCloud popular tracks, for example popular. |
| `artist` | string | yes | `"Kygo"` | Artist name, SoundCloud username, or profile link, for example Kygo. |
| `max_results` | integer | no | `20` | Maximum number of tracks to return, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "artist"
  ],
  "properties": {
    "sort": {
      "enum": [
        "latest",
        "popular"
      ],
      "type": "string",
      "default": "latest",
      "description": "Order by latest uploads or SoundCloud popular tracks, for example popular.",
      "examples": [
        "latest",
        "popular"
      ]
    },
    "artist": {
      "type": "string",
      "minLength": 1,
      "description": "Artist name, SoundCloud username, or profile link, for example Kygo.",
      "examples": [
        "Kygo",
        "The Chainsmokers",
        "https://soundcloud.com/kygo"
      ]
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "description": "Maximum number of tracks to return, for example 20.",
      "x-fous-developer": true,
      "examples": [
        20,
        12,
        100
      ]
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "sort": "latest",
      "artist": "Kygo",
      "max_results": 20
    },
    {
      "sort": "popular",
      "artist": "The Chainsmokers",
      "max_results": 12
    },
    {
      "sort": "latest",
      "artist": "https://soundcloud.com/kygo",
      "max_results": 100
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `tracks` | array |  |  |
| `tracks[].genre` | string or null | `"Dance Pop"` |  |
| `tracks[].title` | string or null | `"Heaven On Your Mind (feat. Dan Tyminski)"` |  |
| `tracks[].length` | string or null | `"3:45"` |  |
| `tracks[].track_id` | integer or null | `2320321532` |  |
| `tracks[].length_ms` | integer or null | `224746` |  |
| `tracks[].like_count` | integer or null | `603` |  |
| `tracks[].play_count` | integer or null | `12727` |  |
| `tracks[].track_link` | string | `"https://soundcloud.com/kygo/heaven-on-your-mind-feat-dan"` |  |
| `tracks[].upload_date` | string or null | `"2026-05-14"` |  |
| `tracks[].repost_count` | integer or null | `36` |  |
| `tracks[].comment_count` | integer or null | `7` |  |
| `tracks[].artwork_image_link` | string or null | `"https://i1.sndcdn.com/artworks-mYLPdamTP6Qe-0-large.jpg"` |  |
| `user_id` | integer | `4360546` |  |
| `profile_link` | string | `"https://soundcloud.com/kygo"` |  |
| `follower_count` | integer or null | `1519561` |  |
| `artist_display_name` | string | `"Kygo"` |  |

**Example input**

```json
{
  "sort": "latest",
  "artist": "Kygo",
  "max_results": 20
}
```

**Example output**

```json
{
  "tracks": [
    {
      "genre": "Dance Pop",
      "title": "Heaven On Your Mind (feat. Dan Tyminski)",
      "length": "3:45",
      "track_id": 2320321532,
      "length_ms": 224746,
      "like_count": 603,
      "play_count": 12727,
      "track_link": "https://soundcloud.com/kygo/heaven-on-your-mind-feat-dan",
      "upload_date": "2026-05-14",
      "repost_count": 36,
      "comment_count": 7,
      "artwork_image_link": "https://i1.sndcdn.com/artworks-mYLPdamTP6Qe-0-large.jpg"
    },
    {
      "genre": "Dance Pop",
      "title": "That's When You Know",
      "length": "3:14",
      "track_id": 2298163559,
      "length_ms": 193880,
      "like_count": 726,
      "play_count": 20223,
      "track_link": "https://soundcloud.com/kygo/thats-when-you-know",
      "upload_date": "2026-04-07",
      "repost_count": 29,
      "comment_count": 5,
      "artwork_image_link": "https://i1.sndcdn.com/artworks-eTcruVlB74jZ-0-large.jpg"
    },
    {
      "genre": "Dance Pop",
      "title": "Chasing Paradise",
      "length": "3:00",
      "track_id": 2013749175,
      "length_ms": 180140,
      "like_count": 2002,
      "play_count": 30798,
      "track_link": "https://soundcloud.com/kygo/chasing-paradise",
      "upload_date": "2025-01-20",
      "repost_count": 29,
      "comment_count": 15,
      "artwork_image_link": "https://i1.sndcdn.com/artworks-HuqUAK1rxMV4-0-large.jpg"
    }
  ],
  "user_id": 4360546,
  "profile_link": "https://soundcloud.com/kygo",
  "follower_count": 1519561,
  "artist_display_name": "Kygo"
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@soundcloud",
  "visibility": "public",
  "operation": "get_track",
  "version": 1,
  "input": {
    "track": "https://soundcloud.com/secret-service-862007284/old-town-road"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@soundcloud\",\n  \"visibility\": \"public\",\n  \"operation\": \"get_track\",\n  \"version\": 1,\n  \"input\": {\n    \"track\": \"https://soundcloud.com/secret-service-862007284/old-town-road\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@soundcloud",
  "visibility": "public",
  "operation": "get_track",
  "version": 1,
  "input": {
    "track": "https://soundcloud.com/secret-service-862007284/old-town-road"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@soundcloud","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Compare play and like counts across tracks.
- Review an artist’s latest public uploads.
- Find an artist’s popular public tracks.
- Collect track genres, tags, and release details.
- Monitor reposts and comments on public tracks.

## FAQ

### Is Fous affiliated with SoundCloud?

No. Fous is not affiliated with SoundCloud. This workflow reads the public soundcloud.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a SoundCloud account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from soundcloud.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### How many plays does a public track have?

Get track returns a public track’s play count from its title or link, with an optional artist name.

### Which public tracks has an artist uploaded?

List artist tracks returns an artist’s public tracks in latest or SoundCloud popular order.

### How many followers does an artist have?

List artist tracks returns the artist’s follower count along with public track details.

## Related

- [Spotify API](https://fous.com/workflows/spotify.md): Spotify returns public artist profiles, album credits and ordered tracks, song details and play counts, up to 500 playlist songs, keyword results, and country-based podcast charts; dates and regional options vary.
- [Last.fm API](https://fous.com/workflows/last-fm.md): Last.fm provides listening statistics, artist profiles, discovery, up to 50 tracks or albums, similar artists without percentages, and upcoming events that may be absent.
- [Genius API](https://fous.com/workflows/genius.md): Genius provides lyrics, annotations, credits, and music knowledge, plus song stories, relationships, page details, and artist song lists by popularity or release date; dates and views may be unavailable.
- [Kworb API](https://fous.com/workflows/kworb.md): Kworb provides published Spotify and YouTube music charts and tracked artist streaming totals; chart dates may lag, and daily streams or some views may be unavailable.
- [Apple Music API](https://fous.com/workflows/apple-music.md): Apple Music returns albums, tracks, artist profiles, latest releases, top music, matching songs, and current charts; prices, previews, and older albums may be unavailable.
- [Discogs API](https://fous.com/workflows/discogs.md): Discogs provides releases, collections and marketplace information, including edition and track details, community counts, available price statistics, and artists’ discographies; sold prices may be unavailable.
- [Deezer API](https://fous.com/workflows/deezer.md): Deezer provides albums with ordered tracklists, song recording details, and current worldwide charts or official country-playlist tracks; previews and some tempo data may be unavailable or expire.
- [Bandsintown API](https://fous.com/workflows/bandsintown.md): Bandsintown provides artist tour dates and concert listings with venues, lineups and ticket or event links; results reflect listed upcoming shows and may include nearby venues.
- [All Entertainment workflows](https://fous.com/workflows/category/entertainment)
