# 抖音 达人涨粉趋势 API (douyin.creator_trend)

- Canonical page: https://everyinfra.com/douyin-api/creator_trend
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "creator_trend", "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

达人涨粉趋势返回一个账号的粉丝数随日期变化的序列 `follower_trend`，外加窗口内的平均粉丝量 `average_follower_count`。谈合作前用它看达人的粉丝是稳步增加、突然跳升还是停滞，再对照账号的热度判断是否对得上。

请求只需要 `user_id`，没有时间窗参数；采样窗口、每个日期有没有数据、变化的原因，接口都不说明。`dimension_code` 是画像维度的编码，要按维度看粉丝构成，用粉丝画像那一页。`user_id` 用账号的 secUid，示例里直接填了用户主页链接。

## Health

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

## 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。 |
| follower_trend | 粉丝数量随日期变化的序列。 |
| average_follower_count | 趋势窗口内的平均粉丝量。 |
| dimension_code | 画像维度：device_price_band、gender、age 或 province；由请求 option 映射，不把领先分布桶标签当维度。 |
| 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_trend",
  "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_trend",
        "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-24T18:28:34Z. `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_trend",
  "results": {
    "user_id": "https://www.douyin.com/user/MS4wLjABAAAAk1tZ-L085zZf2yW_H5dnVFZWyk8Rt8v4RAvf9KhTyPoVdMDxTs7Q_rvgTJGWXezS",
    "follower_trend": [
      {
        "date": 1785081600,
        "value": 23
      },
      {
        "date": 1785168000,
        "value": 21
      },
      {
        "date": 1785254400,
        "value": 11
      }
    ],
    "average_follower_count": 27,
    "dimension_code": 2,
    "platform": "douyin"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 涨粉趋势能看出为什么涨吗？

看不出。`follower_trend` 只是粉丝数随日期的序列，接口不说明变化原因。想找原因，把涨幅大的日期对到这个账号的用户内容发布时间，或者读那几天视频下的评论。

### `average_follower_count` 有什么用？

它是趋势窗口内的平均粉丝量，可以当基线：序列里哪些日期高于它、哪些低于它，一眼就能分出来。比较两个达人的体量时，也可以直接比这个数。

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

要看一个账号的粉丝随时间怎么变，用趋势这一页；要知道新增粉丝量在同类账号里排什么位置，用同类达人对比，它给对比窗口内的平均新增粉丝量和百分位，没有逐日序列。两页的 `user_id` 填法相同，同一个 secUid 可以先后传给两边。

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