Our own visit statistics are always on. Google Analytics, which helps us understand how people use our public pages (not your signed-in workspace), is enabled only with your permission. See our Privacy policy.

POST

API health

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

Read the conversion figures Xingtu shows for one Douyin creator's Xingtu order videos over the last 7, 30 or 90 days: related videos, median plays, component clicks and click rate, CPC, GPM, average sales, products promoted and their categories. Most values are ranges in Xingtu's own wording, such as 500-1000, with open-ended ones like "10% or more" in Chinese. Only creators with Xingtu orders in the window have figures; the rest return an empty result, which is not charged.

Price $1.6 per 1,000 requests ($0.001597 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 conversion ability endpoint (douyin/xingtu_conversion_ability).

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_conversion_ability, and put the parameters inside params.
- Required parameters:
  - douyin_id: The creator's visible Douyin ID (unique_id, from creator_search) or the 19-digit Xingtu creator_id returned by xingtu_creator_search. A creator who is not on Xingtu gives an empty result, which is not charged.
- Optional parameters:
  - time_window: Period of the Xingtu figures: 7d, 30d (default) or 90d, counted back from today. It is not the ranking period of xingtu_creator_rankings. (allowed: 30d / 7d / 90d)
- Returns one object. Main fields: creator_id, time_window (Period of the figures (xingtu_conversio…), related_video_count (Videos Xingtu used for the conversion f…), video_play_median (Median plays of those videos (xingtu_co…), component_click_count_range (Component click range in Xingtu's wordi…), component_click_rate_range (Component click-rate range (xingtu_conv…), cpc_range_cny (Cost-per-click range in yuan (xingtu_co…), gpm_range_cny (GPM range in yuan, sales per thousand p…), average_sales_range_cny (Average sales range in yuan (xingtu_con…), product_count (Products the creator promoted in the pe…), product_price_range_cny (Price range of those products in yuan (…), categories (On xingtu_conversion_ability, the promo…).
- Example request body:
{
  "platform": "douyin",
  "action": "xingtu_conversion_ability",
  "params": {
    "douyin_id": "XiaoZhenlla"
  }
}
- Price: $1.6 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_conversion_abilityCapability identifier, fixed value.
douyin_idbody.paramsstringYes-The creator's visible Douyin ID (unique_id, from creator_search) or the 19-digit Xingtu creator_id returned by xingtu_creator_search. A creator who is not on Xingtu gives an empty result, which is not charged.
time_windowbody.paramsstring (enum)No-Period of the Xingtu figures: 7d, 30d (default) or 90d, counted back from today. It is not the ranking period of xingtu_creator_rankings.Allowed values30d7d90d

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_conversion_ability",
  "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

No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.

json
{
  "id": "req_…",
  "platform": "douyin",
  "action": "xingtu_conversion_ability",
  "results": {
    "creator_id": …,
    "time_window": …,
    "related_video_count": …,
    "video_play_median": …,
    "component_click_count_range": …,
    "component_click_rate_range": …,
    "cpc_range_cny": …,
    "gpm_range_cny": …,
    "average_sales_range_cny": …,
    "product_count": …,
    "product_price_range_cny": …,
    "categories": …,
    "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
time_windowPeriod of the figures (xingtu_conversion_ability): 7d, 30d or 90d, as requested.
related_video_countVideos Xingtu used for the conversion figures in the period (xingtu_conversion_ability).
video_play_medianMedian plays of those videos (xingtu_conversion_ability).
component_click_count_rangeComponent click range in Xingtu's wording (xingtu_conversion_ability), such as 500-1000; open-ended ranges such as "under 500" come in Chinese.
component_click_rate_rangeComponent click-rate range (xingtu_conversion_ability), such as 2%-5%; open-ended ranges such as "10% or more" come in Chinese.
cpc_range_cnyCost-per-click range in yuan (xingtu_conversion_ability), such as 6-8.
gpm_range_cnyGPM range in yuan, sales per thousand plays (xingtu_conversion_ability), such as 10-30.
average_sales_range_cnyAverage sales range in yuan (xingtu_conversion_ability), such as 2000-5000; missing when the creator hides sales on Xingtu.
product_countProducts the creator promoted in the period (xingtu_conversion_ability).
product_price_range_cnyPrice range of those products in yuan (xingtu_conversion_ability), such as 2000-5000; ten-thousands may be written with the Chinese unit for 10,000.
categoriesOn xingtu_conversion_ability, the promoted product categories: [{name, share (0 to 1), sales_range_cny}], only when the creator promoted products. On xingtu_touch_distribution, the content categories connected users came from, up to three levels: [{name, touch_count, subcategories (same shape)}].
platformSource 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.

Errors