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

Douyin Video Comment Replies (App V3)

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies

Returns reply comments for a specific comment on a Douyin video based on the video ID and comment ID, with support for cursor-based pagination.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
2 bắt buộc · 2 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Comment id
Video id
Number Please keep the default, otherwise there will be BUG.
Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response.
Đầu raVí dụ
Phản hồioutputs · 356 B · 20 dòng
[
  {
    "data": {
      "comments": null,
      "cursor": 0,
      "extra": {
        "fatal_item_ids": null,
        "now": 1787219150000,
        "scenes": null
      },
      "has_more": 0,
      "log_pb": {
        "impr_id": "202608201745503DFA256C2818C925E1B7"
      },
      "merge_cursor": "",
      "status_code": 0,
      "total": 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 Video Comment Replies (App V3) API

Returns the reply comments under one comment on a Douyin video. It needs the video ID (item_id) and the parent comment ID (comment_id), and it pages through replies with a cursor.

Use cases

  • Read the full reply thread under a popular Douyin comment.
  • Collect reply text and like counts to study how viewers react to a specific comment.
  • Find which users reply to whom by reading the reply target fields.
  • Export a reply thread with timestamps and IP location labels for moderation review.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"comment_id": "7354669356632638218", "item_id": "7354666303006723354"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
comment_idstringYesComment id
item_idstringYesVideo id
countintegerNoNumber Please keep the default, otherwise there will be BUG.
cursorintegerNoCursor, used for paging, the first page is 0, the second page is the cursor value in the first response.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "comments": [
    {
      "aweme_id": "7354666303006723354",
      "can_collect": false,
      "can_share": true,
      "cid": "7354723548119139098",
      "comment_reply_total": 288,
      "comment_token": "MS4wLjAA…",
      "content_type": 1,
      "create_time": 1712405022,
      "decorated_emoji_info": null,
      "digg_count": 15944,
      "image_list": null,
      "ip_label": "湖南"
    }
  ],
  "cursor": 20,
  "extra": {
    "fatal_item_ids": null,
    "now": 1793691101000,
    "scenes": null
  },
  "has_more": 1,
  "log_pb": {
    "impr_id": "202611031531417B52BA2153595311905D"
  },
  "merge_cursor": "",
  "status_code": 0,
  "total": 288
}

Response fields

FieldMeaning
comments[].cidID of the reply comment.
comments[].textText of the reply. Emoji appear as bracket codes such as [再见].
comments[].create_timeTime the reply was posted, as a Unix timestamp in seconds.
comments[].digg_countNumber of likes on the reply.
comments[].reply_id / comments[].root_comment_idID of the comment being replied to, and the ID of the top level comment of the thread.
comments[].reply_to_username / comments[].reply_to_userid / comments[].reply_to_user_sec_idName and IDs of the user this reply is directed at. These appear when the reply targets another reply.
comments[].ip_labelLocation label shown next to the reply, such as a province name.
comments[].label_textBadge shown on the reply. The value 作者 marks a reply with the author label. It is empty when there is no badge.
comments[].user.avatar_thumb.url_listImage URLs for the small avatar of the user who wrote the reply.
total / has_more / cursortotal is the number of replies to the comment. has_more is 1 when more pages exist. cursor is the value to send for the next page.

Notes

  • Take item_id from the video and comment_id from a top level comment. Use Douyin Video Comments to list those comments first.
  • For the first page, send cursor as 0. For the next page, send the cursor value from the previous response. Stop when has_more is not 1.
  • Leave count at its default value. The parameter description warns that other values cause bugs.
  • Each reply repeats comment_reply_total and aweme_id, which is the video ID.

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 Video Comment Replies (App V3)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies 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 Video Comment Replies (App V3) có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Douyin Video Comment Replies (App V3) chấp nhận những tham số nào?

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

API Douyin Video Comment Replies (App V3) 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 Video Comment Replies (App V3) 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.