# SoundCloud Search API (soundcloud.search)

- Canonical page: [https://everyinfra.com/en/soundcloud-api/search](https://everyinfra.com/en/soundcloud-api/search?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "soundcloud", "action": "search", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- 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=search

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | 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. |
| limit | integer (1–100) | no | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## 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. |
| url | Link to the record on the platform. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| 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 |
| tags | Array of tags. An empty array, not null, when there are none. |
| duration_sec | platform-native meaning |
| duration_seconds | Duration in seconds. null for content that is not video or audio. |
| artist_name | platform-native meaning |
| artist_url | platform-native meaning |
| artist_avatar_url | platform-native meaning |
| artist_follower_count | platform-native meaning |
| artist_verified | platform-native meaning |
| play_count | platform-native meaning |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| comment_count | Comments. null means not disclosed, not 0. |
| repost_count | Reposts (as distinct from quote posts). null means not disclosed. |
| download_count | platform-native meaning |
| artwork_url | platform-native meaning |
| license | 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": "search",
  "params": {
    "keyword": "ambient piano"
  }
}'
```

```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": "search",
        "params": {
            "keyword": "ambient piano",
        },
    },
    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; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "soundcloud",
  "action": "search",
  "results": [
    {
      "id": 1766135160,
      "url": "https://soundcloud.com/ambientmusicalgenre/good-lee-bliss-in-chaos-piano-edit",
      "title": "Good Lee - Bliss in Chaos (Piano Edit)",
      "text": "🎇 Bliss in Chaos.\n🎧 Stream: https://open.spotify.com/track/5TaBEN8vARmiaPrteQmqpy\n🌆 Spotify Ambient Playlist: http://bit.ly/AmbientSpotify\n\n🎊 Subscribe to Ambient and click on the bell for more wonderful music!\n\n📸 Ambient Instagram: http://bit.ly/AmbientInstagram\n🎁 Ambient Shop: …",
      "genre": "Ambient",
      "tags": [
        "Classical",
        "Piano",
        "Ambient"
      ],
      "duration_sec": 202,
      "artist_name": "Ambient",
      "artist_url": "https://soundcloud.com/ambientmusicalgenre",
      "artist_avatar_url": "https://i1.sndcdn.com/•••",
      "artist_follower_count": 57569,
      "artist_verified": false,
      "play_count": 1524,
      "like_count": 33,
      "comment_count": 1,
      "repost_count": 4,
      "download_count": 0,
      "artwork_url": "https://i1.sndcdn.com/artworks-Q6zUENkFLRjlrWa7-Ji7q8w-large.jpg",
      "license": "all-rights-reserved",
      "posted_at": "2024-03-05T19:06:52+00:00",
      "platform": "soundcloud"
    },
    {
      "id": 1289751166,
      "url": "https://soundcloud.com/esteban-martinez-749274166/the-owl-house-outro-ambient",
      "title": "The Owl House - Outro ( Ambient Piano Lofi )",
      "text": "",
      "genre": "Ambient",
      "tags": [],
      "duration_sec": 141,
      "artist_name": "Steb",
      "artist_url": "https://soundcloud.com/esteban-martinez-749274166",
      "artist_avatar_url": "https://i1.sndcdn.com/•••",
      "artist_follower_count": 37,
      "artist_verified": false,
      "play_count": 70246,
      "like_count": 469,
      "comment_count": 56,
      "repost_count": 13,
      "download_count": 0,
      "artwork_url": "https://i1.sndcdn.com/artworks-VKNHiJD2pRuiVmfx-LPQ46w-large.jpg",
      "license": "all-rights-reserved",
      "posted_at": "2022-06-18T05:15:45+00:00",
      "platform": "soundcloud"
    }
  ],
  "count": 20,
  "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
