# SoundCloud 用户搜索 API (soundcloud.search_users)

- Canonical page: [https://everyinfra.com/soundcloud-api/search_users](https://everyinfra.com/soundcloud-api/search_users?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "soundcloud", "action": "search_users", "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 50 per call
- Mode: sync; add "mode": "async" for slow tasks

SoundCloud 用户搜索按 `keyword` 搜作者账号，每个结果带名称、用户名、主页链接、简介、头像、城市和国家、粉丝数、关注数、曲目数、歌单数、点赞数，以及认证和 Pro 状态。它回答「这个关键词对应哪些创作者」，常用于从一个词出发找出候选账号，列成一份待跟进的名单。

搜曲目、搜作者、搜歌单各是一项能力，同样用 `keyword`，返回的对象不同，这一页只返回作者。默认返回 20 条，单次最多 50 条。结果里的 `url` 就是作者主页链接，可以直接交给艺人或创作者资料那一页读取。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | search 查曲目，search_users 查作者，search_playlists 查歌单；三者虽同用关键词，返回对象不同。playlist 仅在未识别到 /sets/ 歌单 URL 时把此字段作为搜索词，不等于精确歌单详情。 |
| limit | integer (1–50) | no | 20 | 这次调用最多返回的条数，整数，1–50；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| username | 用户名（@handle）。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| url | 该记录在原平台上的可访问链接。 |
| bio | 个人简介，账号自己填写的文本。可能含换行和 emoji。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| city | 城市名，用原平台的语言书写，未做中英归一。 |
| country | 国家或地区。可能是全称也可能是 ISO 代码，取决于平台，未归一。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| following_count | 关注数。null 表示不公开，不等于 0。 |
| track_count | 曲目数。 |
| playlist_count | 歌单数。 |
| like_count | 点赞数。null 表示该平台或该接口不公开此数据，不等于 0。 |
| is_verified | 是否为平台认证账号（蓝V等）。null 表示无法判定。 |
| is_pro | 是否为 Pro 付费账号。 |
| created_at | 创建时间，格式同 posted_at。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 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_users",
  "params": {
    "keyword": "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": "search_users",
        "params": {
            "keyword": "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; 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_users",
  "results": [
    {
      "id": 0,
      "username": "•••",
      "name": "",
      "url": "https://soundcloud.com/•••",
      "bio": "•••",
      "avatar_url": "https://i1.sndcdn.com/•••",
      "city": "Johannesburg",
      "country": "ZA",
      "follower_count": 405249,
      "following_count": 27,
      "track_count": 206,
      "playlist_count": 22,
      "like_count": 16,
      "is_verified": true,
      "is_pro": true,
      "platform": "soundcloud"
    },
    {
      "id": 0,
      "username": "•••",
      "name": "•••",
      "url": "https://soundcloud.com/•••",
      "bio": "•••",
      "avatar_url": "https://i1.sndcdn.com/•••",
      "city": "",
      "follower_count": 606,
      "following_count": 0,
      "track_count": 8,
      "playlist_count": 2,
      "like_count": 0,
      "is_verified": false,
      "is_pro": true,
      "platform": "soundcloud"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 同一个关键词，搜曲目、搜作者、搜歌单有什么区别？

返回的对象不同：搜曲目返回曲目，用户搜索返回作者账号，播放列表搜索返回歌单。要找人就用这一页。这一页的结果里没有曲目的播放量和版权许可，那些在单曲详情里。

### 搜到账号以后，还要再读一遍艺人或创作者资料吗？

多数时候不用。艺人或创作者资料那一页返回的字段和这里一模一样，再读一遍拿不到新东西；它适合手里只有一条主页链接的场合。搜索结果已经带粉丝数、曲目数和歌单数，够做第一轮排序。`bio` 是账号自己填的简介，可能含换行和 emoji，入库前要先清洗；`avatar_url` 部分是带尺寸参数的 CDN 链接，可能有时效，要留存头像请及时下载。

### 怎么用认证和 Pro 状态筛账号？

`is_verified` 是平台认证标记，null 表示无法判定，不能当成未认证；`is_pro` 标出 Pro 付费账号。再配合 `follower_count`、`track_count` 排序，可以先筛出规模大、曲目多的账号。

## 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
