author_idstringआवश्यक
Creator/author ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokensReturns trending comment tokens and keywords for a Douyin creator. Queries metrics by author ID with options to exclude emojis and adjust token count.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "平板",
"hot_rate": 1335
},
{
"comment_token": "垃圾",
"hot_rate": 613
},
{
"comment_token": "电脑",
"hot_rate": 580
},
"… 7 more items in the full response"
]
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns the most frequent comment tokens (keywords) found in a Douyin creator's comment sections on Xingtu, each with a hot_rate score. It needs a Xingtu author_id. You can set the number of tokens with num and drop emojis with without_emoji.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"author_id": "7146074596666507300"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
author_id | string | Yes | Creator/author ID |
num | integer | No | Number of hot tokens, default 10 |
without_emoji | boolean | No | Whether to exclude emoji, default True |
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": 1335
}
]
}
| Field | Meaning |
|---|---|
hot_comment_tokens[] | List of hot comment tokens for the creator. Each item is one token with its score. |
hot_comment_tokens[].comment_token | The keyword or token found in the creator's comments, such as 平板 or 电脑. |
hot_comment_tokens[].hot_rate | Score for how hot the token is. A higher number ranks the token higher in the list. |
base_resp.status_code / base_resp.status_message | Status of the call. 0 with Success means the request worked. |
author_id. If you only have a Douyin ID or sec_user_id, look up the creator ID first with Douyin XingTu kolId by Douyin ID or Douyin XingTu kolId by sec_user_id (V2).num sets how many tokens come back (default 10). without_emoji defaults to true; set it to false to keep emoji tokens.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"author_id": "7146074596666507300"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
author_idstringआवश्यकCreator/author ID
numintegerNumber of hot tokens, default 10
without_emojibooleanWhether to exclude emoji, default True
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "平板",
"hot_rate": 1335
},
{
"comment_token": "垃圾",
"hot_rate": 613
},
{
"comment_token": "电脑",
"hot_rate": 580
},
"… 7 more items in the full response"
]
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.002 प्रति कॉल | JSON |
Douyin | $0.002 प्रति कॉल | JSON |
Douyin | $0.01 प्रति कॉल | JSON |
Douyin | $0.003 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: author_id (string)। वैकल्पिक: num (integer) और without_emoji (boolean)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।