sec_uidstringwajib
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": ""
}
}
]Pilih contoh untuk memuat input dan hasilnya ke 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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_"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
sec_uidstringwajibUser sec_id
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"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": ""
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-list dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: sec_uid (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Hot Account Work Analysis berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.