oAuthorIdstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
oAuthorIdstringobligatoireAuthor's unique ID.
liveTypestringLive room type filter.
Valeurs possibles : ALL, GAME, ECOMMERCE, OTHER
periodstringLive data time period.
Valeurs possibles : DAY_30, DAY_90
onlyStarOrderbooleanWhether to include only Xingtu marketplace orders.
Par défaut : false
flowTypestringFlow type filter.
Valeurs possibles : EXCLUDE, INCLUDE
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Xingtu Live StatisticsCette API Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Douyin | $0.071429 par appel | JSON |
Douyin | $0.021429 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-statistics avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.021429 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : oAuthorId (string). Facultatif : liveType (l’un de ALL, GAME, ECOMMERCE, OTHER), period (l’un de DAY_30, DAY_90), onlyStarOrder (boolean) et flowType (l’un de EXCLUDE, INCLUDE). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douyin Xingtu Live Statistics fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douyin séparément.