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-hot-comment-tokens-v1Returns hot comment tokens for a Douyin Xingtu creator based on the specified creator ID. Analyze audience sentiment and recurring keywords in creator comments.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "胶原",
"hot_rate": 488
},
{
"comment_token": "越来越好",
"hot_rate": 223
},
{
"comment_token": "基础",
"hot_rate": 219
},
"… 7 more items in the full response"
]
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of hot comment tokens for one Douyin Xingtu creator. Each token is a word or phrase from the creator's audience comments, with a numeric hot_rate. The only input is the creator's kolId.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-hot-comment-tokens-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": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "胶原",
"hot_rate": 488
}
]
}
| Field | Meaning |
|---|---|
hot_comment_tokens[] | List of hot comment tokens for the creator. Each item is one word or phrase with its score. |
hot_comment_tokens[].comment_token | The word or phrase that appears often in the creator's comments, in Chinese in this example (for example 胶原). |
hot_comment_tokens[].hot_rate | Numeric score for the token. A higher value means the token ranks hotter in the list; the example runs from 488 down to 219. |
base_resp.status_code | Status code of the call. 0 means success. |
base_resp.status_message | Text status of the call, for example Success. |
kolId from Douyin XingTu KOL ID by User ID, Douyin XingTu kolId Lookup, or Douyin XingTu KOL ID by Unique ID.kolId as a string, for example "7048929565493690398".$0.02 per successful call. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu/author-hot-comment-tokens-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": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "胶原",
"hot_rate": 488
},
{
"comment_token": "越来越好",
"hot_rate": 223
},
{
"comment_token": "基础",
"hot_rate": 219
},
"… 7 more items in the full response"
]
}
}
]สำรวจเพิ่มเติม
| 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-hot-comment-tokens-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 Tokens (Xingtu) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก