kolIdstringจำเป็น
User kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1Returns hot comment keywords from content produced by a Douyin Xingtu creator. Queries data using the creator's KOL identifier.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns hot comment keywords from the content of a Douyin Xingtu creator. It needs one input, the creator's kolId.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kolId": "7048929565493690398"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
kolId | string | Yes | User kolId, can be obtained from the following interfaces: douyin/xingtu/xingtu-kolid-by-uid; douyin/xingtu/xingtu-kolid-by-sec-user-id; douyin/xingtu/xingtu-kolid-by-unique-id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
| Field | Meaning |
|---|---|
keyword_map | Object that maps each hot comment keyword to a number. The keyword is the key and the number is the value. |
keyword_item_distribution | Object with the same shape as keyword_map: keyword as key, number as value. It holds a smaller set of keywords, and the numbers can differ from those in keyword_map. |
base_resp.status_code | Status code of the response. 0 means the call succeeded. |
base_resp.status_message | Status text of the response. It is an empty string when the call succeeds. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup, or the lookup by unique ID.$0.02 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"kolId": "7048929565493690398"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
kolIdstringจำเป็นUser kolId, can be obtained from the following interfaces: `douyin/xingtu/xingtu-kolid-by-uid`; `douyin/xingtu/xingtu-kolid-by-sec-user-id`; `douyin/xingtu/xingtu-kolid-by-unique-id`
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"keyword_item_distribution": {
"25岁": 4,
"女人": 4,
"维c": 4,
"胶原蛋白肽": 4,
"虾青素": 4
},
"keyword_map": {
"25岁": 4,
"女人": 4,
"女王": 4,
"维c": 12,
"胶原蛋白肽": 4,
"虾青素": 8
}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
Douyin | $0.02 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu/author-content-hot-comment-keywords-v1 โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.02 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: kolId (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Xingtu Author Hot Comment Keywords ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก