aweme_idstringआवश्यक
Work id
https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-listReturns word cloud analysis data and keyword weights extracted from comments on a Douyin video. Input a target video identifier to analyze audience feedback topics.
[
{
"data": {
"code": 0,
"data": [
{
"related_comment": null,
"value": 61,
"word_seg": "宝宝"
},
{
"related_comment": null,
"value": 27,
"word_seg": "吱声"
},
{
"related_comment": null,
"value": 17,
"word_seg": "评论"
},
"… 77 more items in the full response"
],
"extra": {
"now": 1791290507000
},
"message": ""
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns a list of keywords taken from the comments on one Douyin video, each with a weight. It needs one input, the video's aweme_id.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Work id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": [
{
"related_comment": null,
"value": 46,
"word_seg": "宝宝"
}
],
"extra": {
"now": 1793691108000
},
"message": ""
}
| Field | Meaning |
|---|---|
code | Status code of the response. 0 appears in a normal response. |
data[] | One entry per keyword found in the comments. |
data[].word_seg | The keyword text, taken from the comments. |
data[].value | The weight of the keyword. A higher number means the word counts for more in the word cloud. |
data[].related_comment | Comments linked to the keyword. It is null in the sample response. |
extra.now | A 13-digit number that looks like a timestamp in milliseconds. It is likely the time of the response. |
message | Text message from the response. It is an empty string in the sample. |
aweme_id, for example 7372484719365098803. Send it as a string.data list.data[].value to size words in a word cloud or to sort keywords.$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/billboard/hot-comment-word-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7372484719365098803"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
aweme_idstringआवश्यकWork id
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"code": 0,
"data": [
{
"related_comment": null,
"value": 61,
"word_seg": "宝宝"
},
{
"related_comment": null,
"value": 27,
"word_seg": "吱声"
},
{
"related_comment": null,
"value": 17,
"word_seg": "评论"
},
"… 77 more items in the full response"
],
"extra": {
"now": 1791290507000
},
"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 |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/billboard/hot-comment-word-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: aweme_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Work Hot Comment Word Cloud SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।