Douyin Xingtu creator rankings API
API health
- 24h health
- Normal
- 24h average time
- —
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Pull up to five creators from a Douyin Xingtu ranking board, chosen by industry, board type and time window, with rank, previous rank, score, CPM and order ranges. Ranks and scores compare only within the returned board and window, and order and repurchase ranges are not exact totals.
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
Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.
Please help me write a data collection script with the EveryInfra Douyin Xingtu creator rankings endpoint (douyin/xingtu_creator_rankings).
Endpoint contract:
- 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; 23 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 | 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 | 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 | 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
There is no real sample for these example parameters yet: this shows the response shape and fields from the contract, with … as placeholders. It is not the result of a real call.
{
"id": "req_…",
"platform": "douyin",
"action": "xingtu_creator_rankings",
"results": [
{
"creator_id": …,
"user_id": …,
"url": …,
"nickname": …,
"avatar_url": …,
"gender": …,
"city": …,
"province": …,
"follower_count": …,
"cpm_cny": …,
"completed_order_range": …,
"repurchase_rate_range": …,
"item_order_rate": …,
"average_view_count": …,
"industry": …,
"rank": …,
"previous_rank": …,
"ranking_score": …,
"is_new": …,
"ranking_board": …,
"period_days": …,
"snapshot_date": …,
"source_kind": …,
"platform": …
}
],
"count": …,
"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 | Keeps the platform's own meaning |
industry | Keeps the platform's own meaning |
rank | Position on the board: the trending rank on trending, the position on the Xingtu board on xingtu_creator_rankings. |
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 |
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. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
- 422
- Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
- 402
- Insufficient balance. Top up first.
- 429
- The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
- 503
- Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
- 200 empty
- The request completed without data and is not charged (billing.reason = empty_result_refunded).