item_idstringआवश्यक
Video item ID (required, get from video link or API)
https://api.sandbase.ai/v1/api/douyin/creator/video-danmaku-listReturns the danmaku bullet comment list for a specified Douyin video. Filter by blocked status and order results by timestamp or engagement with pagination support.
[
{
"data": {
"danmaku_list": [],
"has_more": false,
"status_code": 0,
"total_count": 0
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
Returns the danmaku (bullet comment) list for one Douyin video. Each entry has the comment text, the author, a send time and the position in the video where it appears. The only required input is the video item_id.
is_blocked set to true to review what was hidden.offset_time.curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/video-danmaku-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7692766887218950514"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video item ID (required, get from video link or API) |
count | integer | No | Items per page (recommended 20, range 1-100) |
is_blocked | boolean | No | Whether to get blocked danmaku (false=normal, true=blocked) |
offset | integer | No | Offset (for pagination, starting position) |
order_type | integer | No | Order type (1=time order, 2=other order) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"danmaku_list": [
{
"create_time": 1793372977,
"danmaku_id": "7702469458682069818",
"danmaku_logos": null,
"digg_count": 0,
"digg_type": 0,
"extra": {
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_5eec97d8a90d…",
"big_thumb": [],
"decorated_emoji_info": null,
"item_cover": "https://p5-ex-gddgtc-sign.douyinpic.com/tos-cn-p-0015/oA7CULBmC2veLYherVnlA2EC7v…",
"item_desc": "双子星是吗@过几天",
"nickname": "记得我的好",
"style_list": null,
"unviewed": false
},
"item_id": "7692766887218950514",
"offset_time": 4530,
"status": 1,
"text": "王述涵是你吗",
"text_extra": null,
"user_id": "99391254676"
}
],
"has_more": true,
"status_code": 0,
"total_count": 145
}
| Field | Meaning |
|---|---|
danmaku_list[].text | The text of the bullet comment. |
danmaku_list[].danmaku_id | ID of the danmaku, returned as a string. |
danmaku_list[].offset_time | Position in the video where the danmaku appears. Values such as 4530 and 6778 suggest milliseconds, but the response does not state the unit. |
danmaku_list[].create_time | Unix timestamp in seconds for when the danmaku was posted. |
danmaku_list[].digg_count | Number of likes on the danmaku. |
danmaku_list[].user_id | ID of the user who sent the danmaku. |
danmaku_list[].extra.nickname / danmaku_list[].extra.avatar_url | Nickname and avatar image URL of the sender. |
danmaku_list[].extra.item_desc / danmaku_list[].extra.item_cover | Caption and cover image URL of the video the danmaku belongs to. |
danmaku_list[].status | Status code of the danmaku. All returned entries have the value 1. |
total_count / has_more | total_count is the total number of danmaku. has_more is true when more pages remain. |
item_id is the numeric video ID, for example 7692766887218950514. Pass it as a string.count (1 to 100) and offset. Keep requesting while has_more is true.order_type to 1 for time order or 2 for the other order. Set is_blocked to true to list blocked danmaku.$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/creator/video-danmaku-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "example"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
item_idstringआवश्यकVideo item ID (required, get from video link or API)
countintegerItems per page (recommended 20, range 1-100)
is_blockedbooleanWhether to get blocked danmaku (false=normal, true=blocked)
offsetintegerOffset (for pagination, starting position)
order_typeintegerOrder type (1=time order, 2=other order)
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"danmaku_list": [],
"has_more": false,
"status_code": 0,
"total_count": 0
}
}
]और जानें
| 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/creator/video-danmaku-list पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: item_id (string)। वैकल्पिक: count (integer), is_blocked (boolean), offset (integer) और order_type (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Creator Video Danmaku List SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।