# Douyin Xingtu creator conversion ability API (douyin.xingtu_conversion_ability)

- Canonical page: https://everyinfra.com/en/douyin-api/xingtu_conversion_ability
- Endpoint: POST /api/v1/social with {"platform": "douyin", "action": "xingtu_conversion_ability", "params": {...}}
- Price: $0.001597 per call ($1.6 per 1,000 requests); failed and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=douyin&action=xingtu_conversion_ability

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| douyin_id | not declared | yes | not declared | 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_window | enum: 30d / 7d / 90d | no | not declared | Period of the Xingtu figures: `7d`, `30d` (default) or `90d`, counted back from today. It is not the ranking period of `xingtu_creator_rankings`. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| creator_id | platform-native meaning |
| time_window | Period of the figures (xingtu_conversion_ability): 7d, 30d or 90d, as requested. |
| related_video_count | Videos Xingtu used for the conversion figures in the period (xingtu_conversion_ability). |
| video_play_median | Median plays of those videos (xingtu_conversion_ability). |
| component_click_count_range | Component 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_range | Component click-rate range (xingtu_conversion_ability), such as 2%-5%; open-ended ranges such as "10% or more" come in Chinese. |
| cpc_range_cny | Cost-per-click range in yuan (xingtu_conversion_ability), such as 6-8. |
| gpm_range_cny | GPM range in yuan, sales per thousand plays (xingtu_conversion_ability), such as 10-30. |
| average_sales_range_cny | Average sales range in yuan (xingtu_conversion_ability), such as 2000-5000; missing when the creator hides sales on Xingtu. |
| product_count | Products the creator promoted in the period (xingtu_conversion_ability). |
| product_price_range_cny | Price 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. |
| categories | On 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)}]. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "douyin",
        "action": "xingtu_conversion_ability",
        "params": {
            "douyin_id": "XiaoZhenlla",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=douyin
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
