# SoundCloud Playlist API (soundcloud.playlist)

- Canonical page: [https://everyinfra.com/en/soundcloud-api/playlist](https://everyinfra.com/en/soundcloud-api/playlist?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "soundcloud", "action": "playlist", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=soundcloud&action=playlist

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 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 | not declared | no | not declared | 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 | not declared | no | not declared | 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. |

## Response fields (items in `results`)

| 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 | platform-native meaning |
| track_count | platform-native meaning |
| duration_sec | platform-native 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 | platform-native meaning |
| artwork_url | platform-native meaning |
| artist_name | platform-native meaning |
| artist_url | platform-native meaning |
| artist_verified | platform-native 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). |

## Example

```bash
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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "soundcloud",
        "action": "playlist",
        "params": {
            "url": "https://soundcloud.com/beabadoobee/coffee",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=soundcloud
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
