sec_uidstringobligatoire
User sec_id
https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-listReturns analysis metrics for works associated with a specific hot Douyin account over the last week. Requires the target account user ID.
[
{
"data": {
"code": 0,
"data": {
"BaseResp": null,
"UserID": 0,
"avg_aweme_count": 0.42857142857142855,
"avg_aweme_count_c": 0,
"avg_comment_count": 84.14285714285714,
"avg_comment_count_c": -0.11561561561561562,
"avg_follower_count": 275,
"avg_follower_count_c": -0.2025683512841756,
"avg_like_count": 21781.571428571428,
"avg_like_count_c": -0.29577848598217177,
"avg_share_count": 1727.857142857143,
"avg_share_count_c": -0.451896497031767,
"percentile_aweme_count": 0,
"percentile_aweme_count_c": 0,
"percentile_comment_count": 66,
"percentile_comment_count_c": -0.15384615384615383,
"percentile_follower_count": 239,
"percentile_follower_count_c": -0.28012048192771083,
"percentile_like_count": 19479,
"percentile_like_count_c": -0.3827751196172249,
"percentile_share_count": 1361,
"percentile_share_count_c": -0.602975495915986
},
"extra": {
"now": 1791290506000
},
"message": ""
}
}
]Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.
Returns average engagement metrics for the works of one hot Douyin account over the last week. It needs the account's sec_uid. The response also gives percentile values and a change value for each metric.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
sec_uid | string | Yes | User sec_id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"BaseResp": null,
"UserID": 0,
"avg_aweme_count": 0.42857142857142855,
"avg_aweme_count_c": 2,
"avg_comment_count": 11.428571428571429,
"avg_comment_count_c": -0.1752577319587629,
"avg_follower_count": 31.285714285714285,
"avg_follower_count_c": -0.39335180055401664,
"avg_like_count": 3273.285714285714,
"avg_like_count_c": -0.2215465108378067,
"avg_share_count": 140.57142857142858,
"avg_share_count_c": -0.5260115606936415
},
"extra": {
"now": 1793691105000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.avg_aweme_count | Average number of works posted per day or period for the account. The value is a decimal such as 0.43. |
data.avg_like_count / data.avg_comment_count / data.avg_share_count | Average likes, comments and shares per work for the account over the last week. |
data.avg_follower_count | Average follower count figure for the account's works in the period. |
data.avg_aweme_count_c / data.avg_like_count_c / data.avg_comment_count_c / data.avg_share_count_c / data.avg_follower_count_c | Change values for each average metric. Negative numbers such as -0.22 point to a drop. Values look like ratios, not percentages. |
data.percentile_like_count / data.percentile_comment_count / data.percentile_share_count / data.percentile_follower_count / data.percentile_aweme_count | Percentile-group reference values for each metric, given as numbers on the same scale as the matching avg_ field. Use them as a comparison point against the account's own average. |
data.percentile_like_count_c / data.percentile_comment_count_c / data.percentile_share_count_c / data.percentile_follower_count_c / data.percentile_aweme_count_c | Change values for each percentile figure. |
code / message | code is 0 on this successful response. message is an empty string. |
extra.now | A 13-digit timestamp (1793691105000) that looks like milliseconds since the Unix epoch. |
sec_uid as the only request parameter. It is a string that starts with MS4w.data.BaseResp is null and data.UserID is 0 in this response, so do not rely on them.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
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/billboard/hot-account-item-analysis-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"
}'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.
sec_uidstringobligatoireUser sec_id
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
[
{
"data": {
"code": 0,
"data": {
"BaseResp": null,
"UserID": 0,
"avg_aweme_count": 0.42857142857142855,
"avg_aweme_count_c": 0,
"avg_comment_count": 84.14285714285714,
"avg_comment_count_c": -0.11561561561561562,
"avg_follower_count": 275,
"avg_follower_count_c": -0.2025683512841756,
"avg_like_count": 21781.571428571428,
"avg_like_count_c": -0.29577848598217177,
"avg_share_count": 1727.857142857143,
"avg_share_count_c": -0.451896497031767,
"percentile_aweme_count": 0,
"percentile_aweme_count_c": 0,
"percentile_comment_count": 66,
"percentile_comment_count_c": -0.15384615384615383,
"percentile_follower_count": 239,
"percentile_follower_count_c": -0.28012048192771083,
"percentile_like_count": 19479,
"percentile_like_count_c": -0.3827751196172249,
"percentile_share_count": 1361,
"percentile_share_count_c": -0.602975495915986
},
"extra": {
"now": 1791290506000
},
"message": ""
}
}
]Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douyin Hot Account Work AnalysisCette API Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Douyin | $0.001 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-list 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.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : sec_uid (string). 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 Hot Account Work Analysis 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.