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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statistics に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $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 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。