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"
]
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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 के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"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 |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu/author-hot-comment-tokens-v1 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.02 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: kolId (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu Author Hot Comment Tokens (Xingtu) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।