Douyin Xingtu creator analytics API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Get a creator's Xingtu commercial profile on Douyin. It includes type and grade, followers, average plays, content themes, commerce flag and lowest CNY quote. Pass the visible douyin_id from creator_search, not a secUid or Xingtu ID. The lowest quote is an asking price, not a closed deal.
Send POST https://api.everyinfra.com/api/v1/social with platform set to douyin and action set to xingtu_creator_analytics. 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.
Douyin Xingtu creator analytics reads one creator's commercial snapshot from Xingtu, Douyin's platform for commercial creator partnerships, given the Douyin ID shown on the creator's profile. It returns Xingtu's creator_id, the creator type and grade, follower count, the average play count Xingtu reports, city, province, gender, category, content themes and tags, flags for Xingtu membership and e-commerce, and the lowest quote on display. Before a booking, brand and agency teams use it to vet a creator: how large the audience is, how many plays a typical video draws, and where the price starts.
average_play_count is Xingtu's own figure, useful because public Douyin pages do not show plays, but it is not a forecast of future results. lowest_quote_cny is a quote in yuan, not a settled price. is_xingtu_creator tells you whether the account is a Xingtu creator at all, and city is written in the platform's own language without normalization.
AI prompt
#Please help me write a data collection script with the EveryInfra Douyin Xingtu creator analytics endpoint (douyin/xingtu_creator_analytics).
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_analytics, and put the parameters inside params.
- Required parameters:
- douyin_id: The visible Douyin account ID (unique_id) returned by the ordinary creator_search action and required by xingtu_creator_analytics and xingtu_rate_card; xingtu_creator_search does not return it.
- Returns one object. Main fields: creator_id, creator_type, follower_count, average_play_count, city, province, gender (Gender as shown on the account), category_id, content_themes, tags, creator_grade, is_xingtu_creator; 14 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=douyin.
- Example request body:
{
"platform": "douyin",
"action": "xingtu_creator_analytics",
"params": {
"douyin_id": "XiaoZhenlla"
}
}
- 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_analytics | Capability identifier, fixed value. |
douyin_id | body.params | string | Yes | - | The visible Douyin account ID (unique_id) returned by the ordinary creator_search action and required by xingtu_creator_analytics and xingtu_rate_card; xingtu_creator_search does not return it. It is distinct from a user_id (secUid), Xingtu creator_id, and nickname. |
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_analytics",
"params": {
"douyin_id": "XiaoZhenlla"
}
}'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_analytics", "results": { "creator_id": …, "creator_type": …, "follower_count": …, "average_play_count": …, "city": …, "province": …, "gender": …, "category_id": …, "content_themes": …, "tags": …, "creator_grade": …, "is_xingtu_creator": …, "ecommerce_enabled": …, "lowest_quote_cny": …, "platform": … }, "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 |
creator_type | Keeps the platform's own meaning |
follower_count | Followers. null means not disclosed, not 0. |
average_play_count | Keeps the platform's own meaning |
city | City name in the platform's language, not normalized. |
province | Keeps the platform's own meaning |
gender | Gender as shown on the account. |
category_id | Keeps the platform's own meaning |
content_themes | Keeps the platform's own meaning |
tags | Array of tags. An empty array, not null, when there are none. |
creator_grade | Keeps the platform's own meaning |
is_xingtu_creator | Keeps the platform's own meaning |
ecommerce_enabled | Keeps the platform's own meaning |
lowest_quote_cny | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
FAQ
#Where do I get the douyin_id?
#Use the Douyin ID shown on the creator's profile, which the Douyin Creator search capability returns for every account it finds. Results from Xingtu creator search do not include it: they carry Xingtu's commercial IDs and quotes instead, so they cannot be passed here. A secUid starting with MS4w or a nickname will not work either.
How do creator_id and douyin_id differ?
#douyin_id is the public handle you pass in, the one shown on the profile. creator_id is Xingtu's own stable ID for the same creator; it is neither the profile ID that other Douyin capabilities use nor the handle. Store both so you can join Xingtu data with profile, audience and video data later.
Is lowest_quote_cny what a collaboration will cost?
#No. It is the lowest quote Xingtu displays for the creator, a listed price rather than a transaction price, and its unit has not been verified, so do not use it directly as a quote. To see every quote tier with its settlement notes and whether it is open, read the Douyin Xingtu creator rate card capability with the same douyin_id.
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.