oAuthorIdstringbắt buộc
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.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
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.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
oAuthorIdstringbắt buộcAuthor's unique ID.
liveTypestringLive room type filter.
Giá trị có thể dùng: ALL, GAME, ECOMMERCE, OTHER
periodstringLive data time period.
Giá trị có thể dùng: DAY_30, DAY_90
onlyStarOrderbooleanWhether to include only Xingtu marketplace orders.
Mặc định: false
flowTypestringFlow type filter.
Giá trị có thể dùng: EXCLUDE, INCLUDE
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.071429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statistics với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
$0.021429 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: oAuthorId (string). Tùy chọn: liveType (một trong số ALL, GAME, ECOMMERCE, OTHER), period (một trong số DAY_30, DAY_90), onlyStarOrder (boolean) và flowType (một trong số EXCLUDE, INCLUDE). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. Douyin Xingtu Live Statistics chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.