# Douyin Xingtu creator rankings API (douyin.xingtu_creator_rankings)

- Canonical page: https://everyinfra.com/en/douyin-api/xingtu_creator_rankings
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "douyin", "action": "xingtu_creator_rankings", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 5, max 5 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=douyin&action=xingtu_creator_rankings

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| industry | enum: apparel_accessories / automotive / beauty / electronics / food_beverage / household_goods / mother_baby_pets | yes | not declared | Selects the Xingtu creator-ranking industry: `apparel_accessories`, `automotive`, `beauty`, `electronics`, `food_beverage`, `household_goods`, or `mother_baby_pets`. It is a board filter, not a creator-authored tag. |
| ranking_type | enum: all_top / head_tier / paid_ad_performers / rising_stars / sales_champions / top_creators / viral_drivers | yes | not declared | Selects the Xingtu ranking board: `all_top`, `head_tier`, `paid_ad_performers`, `rising_stars`, `sales_champions`, `top_creators`, or `viral_drivers`. Board names do not turn rank into a forecast or guaranteed outcome. |
| time_window | enum: all_history_monthly / all_history_weekly / latest_monthly / latest_weekly | yes | not declared | Selects the Xingtu ranking snapshot: `latest_weekly`, `latest_monthly`, `all_history_weekly`, or `all_history_monthly`. This scopes the returned leaderboard and does not accept an arbitrary date range. |
| limit | integer (1–5) | no | 5 | The most rows to return in this call, an integer from 1 to 5. 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 |
|---|---|
| creator_id | platform-native meaning |
| user_id | User's unique ID on the platform. |
| url | Link to the record on the platform. |
| nickname | Display name of the account. |
| avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
| gender | Gender as shown on the account. |
| city | City name in the platform's language, not normalized. |
| province | platform-native meaning |
| follower_count | Followers. null means not disclosed, not 0. |
| cpm_cny | platform-native meaning |
| completed_order_range | platform-native meaning |
| repurchase_rate_range | platform-native meaning |
| item_order_rate | platform-native meaning |
| average_view_count | Average plays of the works under the hashtag (billboard_topic_hot). |
| industry | platform-native meaning |
| rank | Position from 1: the trending rank on trending, the position on the Xingtu board on xingtu_creator_rankings, the position on the search board on billboard_search_hot, and the suggestion's place in Douyin's search box on search_suggest. |
| previous_rank | platform-native meaning |
| ranking_score | platform-native meaning |
| is_new | platform-native meaning |
| ranking_board | platform-native meaning |
| period_days | platform-native meaning |
| snapshot_date | platform-native meaning |
| industry_tags | platform-native meaning |
| primary_tag | platform-native meaning |
| industry_id | platform-native meaning |
| top_videos | platform-native meaning |
| source_kind | platform-native meaning |
| 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": "douyin",
  "action": "xingtu_creator_rankings",
  "params": {
    "industry": "beauty",
    "ranking_type": "top_creators",
    "time_window": "latest_monthly"
  }
}'
```

```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": "xingtu_creator_rankings",
        "params": {
            "industry": "beauty",
            "ranking_type": "top_creators",
            "time_window": "latest_monthly",
        },
    },
    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; the list keeps the first 2 of 5. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "douyin",
  "action": "xingtu_creator_rankings",
  "results": [
    {
      "creator_id": "•••",
      "user_id": "•••",
      "url": "https://www.douyin.com/•••",
      "nickname": "•••",
      "avatar_url": "https://p11.douyinpic.com/•••",
      "gender": 0,
      "city": "揭阳市",
      "province": "广东省",
      "follower_count": 243801,
      "cpm_cny": 29,
      "completed_order_range": "10 ~ 20",
      "repurchase_rate_range": "> 0.75",
      "item_order_rate": 0.1333,
      "average_view_count": 39171,
      "industry": "美妆",
      "rank": 1,
      "previous_rank": 7,
      "ranking_score": 0.5167095115681234,
      "is_new": false,
      "ranking_board": "品牌种草·品牌优选榜",
      "period_days": 30,
      "snapshot_date": "20260930",
      "industry_tags": [
        "测评",
        "生活",
        "美妆"
      ],
      "primary_tag": "时尚",
      "industry_id": "1930",
      "top_videos": [
        {
          "id": "•••",
          "url": "https://www.douyin.com/•••",
          "play_count": 642310
        },
        {
          "id": "•••",
          "url": "https://www.douyin.com/•••",
          "play_count": 341352
        },
        {
          "id": "•••",
          "url": "https://www.douyin.com/•••",
          "play_count": 1965306
        }
      ],
      "source_kind": "ranking",
      "platform": "douyin"
    },
    {
      "creator_id": "•••",
      "user_id": "•••",
      "url": "https://www.douyin.com/•••",
      "nickname": "•••",
      "avatar_url": "https://p26.douyinpic.com/•••",
      "gender": 0,
      "city": "伊春市",
      "province": "黑龙江省",
      "follower_count": 6214298,
      "cpm_cny": 595,
      "completed_order_range": "10 ~ 20",
      "repurchase_rate_range": "> 0.75",
      "item_order_rate": 0.069,
      "average_view_count": 435361,
      "industry": "美妆",
      "rank": 2,
      "previous_rank": 44,
      "ranking_score": 0.5141388174807198,
      "is_new": false,
      "ranking_board": "品牌种草·品牌优选榜",
      "period_days": 30,
      "snapshot_date": "20260930",
      "industry_tags": [
        "三农"
      ],
      "primary_tag": "三农",
      "industry_id": "1930",
      "top_videos": [
        {
          "id": "•••",
          "url": "https://www.douyin.com/•••",
          "play_count": 18194268
        },
        {
          "id": "•••",
          "url": "https://www.douyin.com/•••",
          "play_count": 10898034
        },
        {
          "id": "•••",
          "url": "https://www.douyin.com/•••",
          "play_count": 12998936
        }
      ],
      "source_kind": "ranking",
      "platform": "douyin"
    }
  ],
  "count": 5,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

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