SoundCloud Playlist API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Open a SoundCloud playlist or album from its full /sets/ url. Get description, genre, track count, total length, likes and reposts. Other links fall back to a search on keyword or query. That search may not land on the intended set.
Send POST https://api.everyinfra.com/api/v1/social with platform set to soundcloud and action set to playlist. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra SoundCloud Playlist endpoint (soundcloud/playlist).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to soundcloud and action to playlist, and put the parameters inside params.
- Required parameters:
- url: Specifies the target SoundCloud resource link. Use direct track URLs for track, artist profile links for artist (which parse down to the creator path), and complete /sets/ URLs for playlist.
- Optional parameters:
- keyword: Specifies the target query string used to discover tracks via search, artists via search_users, or sets via search_playlists. Although shared across endpoints, each action yields distinct entity types.
- query: Provides a secondary fallback search term for the playlist action that takes lower precedence than keyword. Supplying this parameter does not remove the requirement to pass url.
- Returns one object. Main fields: id, title, url, text, genre, track_count, duration_sec, duration_seconds, like_count, repost_count, is_album, artwork_url; 16 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=soundcloud.
- Example request body:
{
"platform": "soundcloud",
"action": "playlist",
"params": {
"url": "https://soundcloud.com/beabadoobee/coffee"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | soundcloud | Platform identifier, fixed value. |
action | body | string | Yes | playlist | Capability identifier, fixed value. |
url | body.params | string | Yes | - | Specifies the target SoundCloud resource link. Use direct track URLs for track, artist profile links for artist (which parse down to the creator path), and complete /sets/ URLs for playlist. Non-playlist links provided to the playlist action trigger a general search fallback and may not return the specific target entity. |
keyword | body.params | string | No | - | Specifies the target query string used to discover tracks via search, artists via search_users, or sets via search_playlists. Although shared across endpoints, each action yields distinct entity types. On the playlist action, this parameter serves as a fallback search term only when a full /sets/ URL is missing, which does not guarantee an exact playlist match. |
query | body.params | string | No | - | Provides a secondary fallback search term for the playlist action that takes lower precedence than keyword. Supplying this parameter does not remove the requirement to pass url. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "soundcloud",
"action": "playlist",
"params": {
"url": "https://soundcloud.com/beabadoobee/coffee"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "soundcloud", "action": "playlist", "results": { "id": 1233385918, "title": "https://soundcloud.com/soulisticmusic/black-coffee-appreciation-mix-2017", "url": "https://soundcloud.com/dragan-mitrovic-3/sets/https-soundcloud-com", "text": "", "genre": "", "track_count": 1, "duration_sec": 3634, "like_count": 1, "repost_count": 0, "is_album": false, "artist_name": "DR Funkme", "artist_url": "https://soundcloud.com/dragan-mitrovic-3", "artist_verified": false, "posted_at": "2021-03-27T21:22:01+00:00", "platform": "soundcloud" }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
title | Title. null when the platform has no titles (for example text-only posts). |
url | Link to the record on the platform. |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
genre | Keeps the platform's own meaning |
track_count | Keeps the platform's own meaning |
duration_sec | Keeps the platform's own meaning |
duration_seconds | Duration in seconds. null for content that is not video or audio. |
like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
repost_count | Reposts (as distinct from quote posts). null means not disclosed. |
is_album | Keeps the platform's own meaning |
artwork_url | Keeps the platform's own meaning |
artist_name | Keeps the platform's own meaning |
artist_url | Keeps the platform's own meaning |
artist_verified | Keeps the platform's own meaning |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- SoundCloud: Collection Summaries vs. Detailed Track Lists ↗
Official SoundCloud documentation describes playlists as track collections and explains how to adjust album or set formats. This reference defines object relationships only; this endpoint does not return `tracks` detail arrays, and official SoundCloud playlist storage limits do not serve as output quantity guarantees for this endpoint.
Checked 2026-09-04