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 |
问题
向 https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-list 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:sec_uid (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Douyin Hot Account Work Analysis 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。