oAuthorIdstring必填
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-abilityGet Douyin Creator Marketplace (Xingtu) conversion analysis for a creator, content channel, and 30- or 90-day period. Use it to compare creator conversion performance during commerce campaign planning.
您的输出将显示在这里
完成输入,然后点击运行。
Returns Douyin Xingtu conversion metrics for one creator, such as GPM, click rate, related CPC and recommended product data. It needs the creator's oAuthorId. You can also set the content channel with platform and the period with range.
range between DAY_30 and DAY_90 to see whether a creator's conversion profile changes over a longer period.platform value to see which content channel a creator converts best on.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-ability" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
platform | string | No | Platform type. |
range | string | No | Time range. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"avg_sales_amount_range": "-",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"component_click_cnt_range": "-",
"component_click_rate_range": "-",
"gpm_range": "-",
"rec_product_cnt": {},
"rec_product_price_range": "-",
"related_cpc_range": "-",
"related_video_cnt": {
"value": "1"
},
"video_vv_median": {
"value": "16215921"
}
}
| Field | Meaning |
|---|---|
gpm_range | Range value for the creator's GPM (gross merchandise value per thousand views). The sample shows -, which means no value was returned for this creator. |
avg_sales_amount_range | Range value for average sales amount. The sample shows -. |
component_click_cnt_range / component_click_rate_range | Range values for clicks on the video component and the click rate. Both show - in the sample. |
related_cpc_range | Range value for related cost per click. The sample shows -. |
rec_product_price_range | Price range of the recommended products. The sample shows -. |
rec_product_cnt | Recommended product count object. It is empty in the sample. |
related_video_cnt.value | Count of related videos, returned as a string. The sample value is 1. |
video_vv_median.value | Median video view count (vv), returned as a string. The sample value is 16215921. |
base_resp.status_code / base_resp.status_message | Status of the call. 0 with an empty message means the call succeeded. |
- when no value is available, so check for it before parsing numbers.related_video_cnt.value and video_vv_median.value arrive as strings.platform accepts SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT and SHORT_DRAMA. range accepts DAY_30 and DAY_90.oAuthorId, use Douyin Xingtu Creator Search. For the products and videos behind these metrics, call Douyin Xingtu Conversion Resources.$0.021429 per successful call. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-ability" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"range": "DAY_30",
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
oAuthorIdstring必填Author's unique ID.
platformstringPlatform type.
默认值:"SHORT_VIDEO"
可选值:SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
rangestringTime range.
默认值:"DAY_30"
可选值:DAY_30, DAY_90
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
Douyin | $0.071429 每次调用 | JSON |
Douyin | $0.021429 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-convert-ability 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.021429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:oAuthorId (string)。 可选:platform(SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA 之一) 和 range(DAY_30, DAY_90 之一)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Xingtu Conversion Analysis 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。