# 抖音 同类达人对比 API (douyin.creator_benchmark)

- Canonical page: https://everyinfra.com/douyin-api/creator_benchmark
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "creator_benchmark", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

同类达人对比把一个账号放进同类账号里看位置：按 `user_id` 返回对比窗口内的平均发布量 `average_post_count`、平均评论量 `average_comment_count`、平均分享量 `average_share_count`、平均新增粉丝量 `average_follower_growth` 和平均点赞量 `average_like_count`，每一项各配一个同类账号中的百分位，如 `follower_growth_percentile`。

候选达人多时，先用百分位粗筛，再回到平均值看绝对水平：百分位说明排位，平均值说明大小。同类怎么划分、样本有多大，接口没有给出说明，百分位不能当成官方排名。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| user_id | not declared | yes | not declared | 抖音用户的 secUid（通常以 MS4w 开头），不是昵称或短数字抖音号。用于定位 profile / user_posts 的账号；可从搜索结果的 author_id 或抖音用户主页链接取得。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| user_id | 用户在原平台的唯一 ID。 |
| average_post_count | 对比窗口内的平均发布量。 |
| average_comment_count | 对比窗口内的平均评论量。 |
| average_share_count | 对比窗口内的平均分享量。 |
| average_follower_growth | 对比窗口内的平均新增粉丝量。 |
| average_like_count | 对比窗口内的平均点赞量。 |
| post_count_percentile | 发布量在同类账号中的百分位。 |
| comment_count_percentile | 评论量在同类账号中的百分位。 |
| share_count_percentile | 分享量在同类账号中的百分位。 |
| follower_growth_percentile | 新增粉丝量在同类账号中的百分位。 |
| like_count_percentile | 点赞量在同类账号中的百分位。 |
| 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": "douyin",
  "action": "creator_benchmark",
  "params": {
    "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS"
  }
}'
```

```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": "douyin",
        "action": "creator_benchmark",
        "params": {
            "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T19:16:38Z. `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": "douyin",
  "action": "creator_benchmark",
  "results": {
    "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS",
    "average_post_count": 0,
    "average_comment_count": 0,
    "average_share_count": 25,
    "average_follower_growth": 16.142857142857142,
    "average_like_count": 19,
    "post_count_percentile": 0,
    "comment_count_percentile": 0,
    "share_count_percentile": 28,
    "follower_growth_percentile": 17,
    "like_count_percentile": 18,
    "platform": "douyin"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 百分位能当官方排名用吗？

不能。`post_count_percentile` 等五个字段表示这一项在同类账号中的位置，同类怎么划分、样本有多大都没有说明，它不是平台官方排名，不代表全量同行样本，也不保证未来的效果。拿它给候选名单粗筛没问题，定合作前再回头看账号本身。

### `user_id` 怎么填？

填账号的 secUid，通常以 MS4w 开头，可以从搜索结果里的作者 ID 或抖音用户主页链接取得；不能填昵称或短数字抖音号。这一页的调用示例传的是整条用户主页链接。

### 同类达人对比和涨粉趋势怎么搭配？

对比这一页给对比窗口内的平均值和百分位，不含逐日序列；涨粉趋势那一页返回粉丝数随日期变化的序列和趋势窗口内的平均粉丝量。先用对比页看新增粉丝量在同类里处在什么位置，再用趋势页看粉丝是怎么一天天变的。

## Also

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