item_idstringआवश्यक
Video (item) ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-commentsGet Item Report Comments on Douyin. Returns the platform data as structured JSON.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns a list of comments for one Douyin video, taken from its Xingtu item report. Each comment has its ID, text, like count and reply count. The only input is the video item_id.
like_count to find the most liked comments on a video.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video (item) 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": ""
},
"comments": [
{
"comment_count": "30",
"comment_id": "7372955079207256882",
"comment_text": "不仅赞还评论你也尽量[比心]",
"like_count": "97"
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Status of the request. A status_code of 0 with an empty status_message means the call worked. |
comments[] | List of comments on the video. Each entry is one comment. |
comments[].comment_id | ID of the comment, returned as a string. |
comments[].comment_text | Text of the comment. It can contain platform emoji codes such as [比心]. |
comments[].like_count | Number of likes the comment received, returned as a string. |
comments[].comment_count | Number of replies to the comment, returned as a string. |
item_id is the Douyin video ID, for example 7372484719365098803.like_count and comment_count come back as strings, so convert them before sorting.$0.003 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-v2/item-report-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7372484719365098803"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
item_idstringआवश्यकVideo (item) ID
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.003 प्रति कॉल | 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/item-report-comments पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.003 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: item_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Item Report Comments SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।