Douyin Xingtu creator analytics API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Get a creator's Xingtu commercial profile on Douyin, including type and grade, followers, average plays, content themes, commerce flag and lowest CNY quote. Pass the visible douyin_id returned by creator_search, not a secUid or Xingtu ID; the lowest quote is an asking price, not a closed deal.

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.

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 analytics endpoint (douyin/xingtu_creator_analytics).

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

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesdouyinPlatform identifier, fixed value.
actionbodystringYesxingtu_creator_analyticsCapability identifier, fixed value.
douyin_idbody.paramsNot declaredYes-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

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

Field preview

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.

json
{
  "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.

FieldMeaning
creator_idKeeps the platform's own meaning
creator_typeKeeps the platform's own meaning
follower_countFollowers. null means not disclosed, not 0.
average_play_countKeeps the platform's own meaning
cityCity name in the platform's language, not normalized.
provinceKeeps the platform's own meaning
genderGender as shown on the account.
category_idKeeps the platform's own meaning
content_themesKeeps the platform's own meaning
tagsArray of tags. An empty array, not null, when there are none.
creator_gradeKeeps the platform's own meaning
is_xingtu_creatorKeeps the platform's own meaning
ecommerce_enabledKeeps the platform's own meaning
lowest_quote_cnyKeeps the platform's own meaning
platformSource 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, in yuan: a listed price rather than a transaction price. 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. 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).