oAuthorIdstring必填
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statisticsGet Douyin Creator Marketplace (Xingtu) live-stream statistics for a creator, with live-room, period, marketplace-order, and flow filters. Use it to compare live-streaming creators for campaign planning.
您的输出将显示在这里
完成输入,然后点击运行。
Returns live-stream statistics for one creator on Douyin Creator Marketplace (Xingtu). It needs the creator's oAuthorId and accepts optional filters for live room type, time period, marketplace orders, and flow type.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statistics" \
-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. |
flowType | string | No | Flow type filter. |
liveType | string | No | Live room type filter. |
onlyStarOrder | boolean | No | Whether to include only Xingtu marketplace orders. |
period | string | No | Live data time period. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"live_aa_statistics": {},
"live_convert_statistics": {},
"live_ecom_statistics": {
"avg_ecom_product_price_range": "0",
"avg_gmv_range": "0",
"avg_gpm_range": "0",
"ecom_live_product_num": "0"
},
"live_room_statistics": {
"acu": "7054",
"acu_precede_percent": 0.07668231611893583,
"comment_rate_avg": 0.0062,
"fans_watch_rate": 0.5692,
"finish_order_cnt": "1",
"follow_ucnt_avg": "426",
"in_process_order_cnt": "0",
"interact_rate_avg": 0.1518,
"like_rate_avg": 0.0055,
"pcu": "49271",
"room_cnt": "38",
"watch_cnt_avg": "358128"
}
}
| Field | Meaning |
|---|---|
live_room_statistics.room_cnt | Number of live rooms counted in the statistics. |
live_room_statistics.acu / live_room_statistics.pcu | acu is the average concurrent viewer count. pcu is the peak concurrent viewer count. |
live_room_statistics.acu_precede_percent | Share value that shows how this creator's acu ranks against others. It is a ratio between 0 and 1. |
live_room_statistics.watch_cnt_avg / live_room_statistics.watch_ucnt_avg | Average watch count and average unique watcher count per live room. |
live_room_statistics.watch_duration_avg | Average watch duration per viewer. The unit is not stated in the response. |
live_room_statistics.like_rate_avg / live_room_statistics.comment_rate_avg / live_room_statistics.interact_rate_avg | Average like, comment, and overall interaction rates, given as ratios. |
live_room_statistics.fans_watch_rate | Ratio of viewers who are followers of the creator. |
live_room_statistics.follow_ucnt_avg | Average number of new followers gained per live room. |
live_room_statistics.finish_order_cnt / live_room_statistics.in_process_order_cnt | Count of finished marketplace orders and count of orders still in progress. |
live_ecom_statistics.ecom_live_product_num | Number of products sold in e-commerce live rooms. avg_gmv_range, avg_gpm_range and avg_ecom_product_price_range sit beside it in the same object. |
live_room_statistics arrive as strings, such as "acu": "7054". Rates arrive as numbers.live_aa_statistics and live_convert_statistics came back as empty objects for this creator. live_ecom_statistics values were "0", so this creator had no e-commerce live data.oAuthorId with Douyin Xingtu Creator Search.$0.021429 per successful call. Failed calls are not charged.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statistics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295",
"onlyStarOrder": false
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
oAuthorIdstring必填Author's unique ID.
liveTypestringLive room type filter.
可选值:ALL, GAME, ECOMMERCE, OTHER
periodstringLive data time period.
可选值:DAY_30, DAY_90
onlyStarOrderbooleanWhether to include only Xingtu marketplace orders.
默认值:false
flowTypestringFlow type filter.
可选值:EXCLUDE, INCLUDE
这是该 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/aggregator-author-live-statistics 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.021429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:oAuthorId (string)。 可选:liveType(ALL, GAME, ECOMMERCE, OTHER 之一), period(DAY_30, DAY_90 之一), onlyStarOrder (boolean) 和 flowType(EXCLUDE, INCLUDE 之一)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Xingtu Live Statistics 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。