Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Douyin Video Comment Replies (App V3)

Dokumentasi 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.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
2 wajib · 2 opsional
100 panggilan gratis / hari100 panggilan pertama per hari gratis (dibagi per organisasi) · Direset pada 00:00 UTC. Setelah itu, bayar per panggilan.

Playground

Input
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.
OutputContoh
Responsoutputs · 356 B · 20 baris
[
  {
    "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
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON

Panduan:Best Douyin API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Douyin Video Comment Replies (App V3)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Douyin Video Comment Replies (App V3)?

$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.

Parameter apa yang diterima API Douyin Video Comment Replies (App V3)?

Wajib: comment_id (string) dan item_id (string). Opsional: count (integer) dan cursor (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Douyin Video Comment Replies (App V3)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Douyin?

Tidak. Douyin Video Comment Replies (App V3) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.