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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ 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 ไปที่ https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-item-analysis-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: sec_uid (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Hot Account Work Analysis ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก