Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Creator Video Danmaku List

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/creator/video-danmaku-list

Returns the danmaku bullet comment list for a specified Douyin video. Filter by blocked status and order results by timestamp or engagement with pagination support.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 4 tùy chọn

Phòng thử nghiệm

Đầu vào
Video item ID (required, get from video link or API)
1100
Items per page (recommended 20, range 1-100) Phạm vi: 1 đến 100.
Whether to get blocked danmaku (false=normal, true=blocked)
Offset (for pagination, starting position) Tối thiểu: 0.
Order type (1=time order, 2=other order)
Đầu raVí dụ
Phản hồioutputs · 129 B · 10 dòng
[
  {
    "data": {
      "danmaku_list": [],
      "has_more": false,
      "status_code": 0,
      "total_count": 0
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin Creator Video Danmaku List API

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.

Use cases

  • Read what viewers wrote at each moment of a video to see how the audience reacted.
  • Export all danmaku of a video with author IDs and nicknames for text analysis.
  • Pull blocked danmaku with is_blocked set to true to review what was hidden.
  • Find the moments in a video that draw the most comments by grouping entries on offset_time.

Request

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.

Parameters

NameTypeRequiredDescription
item_idstringYesVideo item ID (required, get from video link or API)
countintegerNoItems per page (recommended 20, range 1-100)
is_blockedbooleanNoWhether to get blocked danmaku (false=normal, true=blocked)
offsetintegerNoOffset (for pagination, starting position)
order_typeintegerNoOrder type (1=time order, 2=other order)

Example response

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
}

Response fields

FieldMeaning
danmaku_list[].textThe text of the bullet comment.
danmaku_list[].danmaku_idID of the danmaku, returned as a string.
danmaku_list[].offset_timePosition 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_timeUnix timestamp in seconds for when the danmaku was posted.
danmaku_list[].digg_countNumber of likes on the danmaku.
danmaku_list[].user_idID of the user who sent the danmaku.
danmaku_list[].extra.nickname / danmaku_list[].extra.avatar_urlNickname and avatar image URL of the sender.
danmaku_list[].extra.item_desc / danmaku_list[].extra.item_coverCaption and cover image URL of the video the danmaku belongs to.
danmaku_list[].statusStatus code of the danmaku. All returned entries have the value 1.
total_count / has_moretotal_count is the total number of danmaku. has_more is true when more pages remain.

Notes

  • item_id is the numeric video ID, for example 7692766887218950514. Pass it as a string.
  • Page through results with count (1 to 100) and offset. Keep requesting while has_more is true.
  • Set order_type to 1 for time order or 2 for the other order. Set is_blocked to true to list blocked danmaku.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Creator Video Danmaku List?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/creator/video-danmaku-list với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Creator Video Danmaku List có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Creator Video Danmaku List chấp nhận những tham số nào?

Bắt buộc: item_id (string). Tùy chọn: count (integer), is_blocked (boolean), offset (integer) và order_type (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Creator Video Danmaku List trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Creator Video Danmaku List chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.