SoundCloud track API
Title, artist, duration, play, like and comment counts, genre, license, ISRC and release date.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
You send url.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/soundcloud/track" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'url=https://soundcloud.com/flume/all-of-the-worlds'import os
import requests
params = {
"url": "https://soundcloud.com/flume/all-of-the-worlds",
}
res = requests.get(
"https://api.socialscrape.io/v1/soundcloud/track",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/soundcloud/track");
url.search = new URLSearchParams({
url: "https://soundcloud.com/flume/all-of-the-worlds",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape SoundCloud track",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/soundcloud/track",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://soundcloud.com/flume/all-of-the-worlds"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | yes | Track URL (soundcloud.com/<user>/<track>). |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_2ad9cbd9d843278076e5d687",
"data": {
"object": "song",
"platform": "soundcloud",
"id": "2119863225",
"url": "https://soundcloud.com/flume/all-of-the-worlds",
"title": "All Of The Worlds",
"artists": [
"Emma Louise, Flume"
],
"album": "DUMB",
"duration_seconds": 125.78,
"cover_url": "https://i1.sndcdn.com/artworks-bvBQ1BhZQSM2-0-t500x500.jpg",
"preview_url": null,
"released_at": "2025-08-22",
"isrc": "US38Y2548239",
"explicit": false,
"is_original": null,
"stats": {
"plays": 36627,
"uses": null,
"likes": 1090
},
"extra": {
"c_line": "© 2025 Flume",
"comment_count": 23,
"commentable": true,
"contains_music": true,
"created_at": "2025-06-26T13:01:21Z",
"display_date": "2025-08-22T00:00:00Z"
}
},
"cursor": null,
"has_more": null
}Fields
One Song in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "song" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
title | string or null | ||
artists | string[] or null | ||
album | string or null | ||
duration_seconds | number or null | ||
cover_url | string or null | ||
preview_url | string or null | ||
released_at | string (ISO 8601 date) or null | ||
isrc | string or null | ||
explicit | boolean or null | ||
is_original | boolean or null | TikTok "original sound" |
Show the other 2 fields
| Field | Type | Always | Notes |
|---|---|---|---|
stats | SongStats | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.soundcloud.track(...) and the TypeScript client client.soundcloud.track(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.