Douyin Xingtu creator rankings API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Pull up to five creators from a Douyin Xingtu ranking board. Choose the board by industry, board type and time window. Get rank, previous rank, score, CPM and order ranges. Ranks and scores compare only within the returned board and window. Order and repurchase ranges are not exact totals.
Send POST https://api.everyinfra.com/api/v1/social with platform set to douyin and action set to xingtu_creator_rankings. Price $0.56 per 1,000 requests ($0.000556 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Douyin Xingtu creator rankings endpoint (douyin/xingtu_creator_rankings).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to douyin and action to xingtu_creator_rankings, and put the parameters inside params.
- Required parameters:
- industry: 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. (allowed: apparel_accessories / automotive / beauty / electronics / food_beverage / household_goods / mother_baby_pets)
- ranking_type: 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. (allowed: all_top / head_tier / paid_ad_performers / rising_stars / sales_champions / top_creators / viral_drivers)
- time_window: 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. (allowed: all_history_monthly / all_history_weekly / latest_monthly / latest_weekly)
- Optional parameters:
- limit: 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. (default: 5)
- Returns a list of records. Main fields of each record: creator_id, user_id, url, nickname (Display name of the account), avatar_url, gender (Gender as shown on the account), city, province, follower_count, cpm_cny, completed_order_range, repurchase_rate_range; 27 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- Example request body:
{
"platform": "douyin",
"action": "xingtu_creator_rankings",
"params": {
"industry": "beauty",
"ranking_type": "top_creators",
"time_window": "latest_monthly"
}
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | douyin | Platform identifier, fixed value. |
action | body | string | Yes | xingtu_creator_rankings | Capability identifier, fixed value. |
industry | body.params | string (enum) | Yes | - | 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.Allowed valuesapparel_accessoriesautomotivebeautyelectronicsfood_beveragehousehold_goodsmother_baby_pets |
ranking_type | body.params | string (enum) | Yes | - | 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.Allowed valuesall_tophead_tierpaid_ad_performersrising_starssales_championstop_creatorsviral_drivers |
time_window | body.params | string (enum) | Yes | - | 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.Allowed valuesall_history_monthlyall_history_weeklylatest_monthlylatest_weekly |
limit | body.params | 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. |
Code samples
#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"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "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": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
creator_id | Keeps the platform's own 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 | Keeps the platform's own meaning |
follower_count | Followers. null means not disclosed, not 0. |
cpm_cny | Keeps the platform's own meaning |
completed_order_range | Keeps the platform's own meaning |
repurchase_rate_range | Keeps the platform's own meaning |
item_order_rate | Keeps the platform's own meaning |
average_view_count | Average plays of the works under the hashtag (billboard_topic_hot). |
industry | Keeps the platform's own 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 | Keeps the platform's own meaning |
ranking_score | Keeps the platform's own meaning |
is_new | Keeps the platform's own meaning |
ranking_board | Keeps the platform's own meaning |
period_days | Keeps the platform's own meaning |
snapshot_date | Keeps the platform's own meaning |
industry_tags | Keeps the platform's own meaning |
primary_tag | Keeps the platform's own meaning |
industry_id | Keeps the platform's own meaning |
top_videos | Keeps the platform's own meaning |
source_kind | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.