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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statistics。您也可以直接在本頁的 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 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。