sec_uidstring必填
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": ""
}
}
]選擇一個範例,將其輸入與結果載入 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.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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_"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
sec_uidstring必填User sec_id
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"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": ""
}
}
]探索更多
| API | 價格 | 回應 |
|---|---|---|
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
Douyin | 每次呼叫 $0.001 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-list。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:sec_uid (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Douyin Hot Account Work Analysis 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。