Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Douyin Video Comment Replies (App V3)

Документация 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.

Цена
$0.001USD / вызов
Метод
POST
Ответ
JSON
Параметры
2 обязательных · 2 необязательных
100 бесплатных вызовов в деньПервые 100 вызовов в день — бесплатно (общий лимит для организации) · Сброс в 00:00 UTC. Далее оплата за каждый вызов.

Песочница

Ввод
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.
ВыходПример
Ответoutputs · 356 B · 20 строк
[
  {
    "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
    }
  }
]

Примеры

Выберите пример, чтобы загрузить его входные данные и результат в 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.

Посмотреть больше

Связанные APIs

Все APIs
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

Руководства:Best Douyin API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Douyin Video Comment Replies (App V3)?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/app-v3/video-comment-replies, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Douyin Video Comment Replies (App V3)?

$0.001 за вызов. Каждой организации предоставляется 100 бесплатных вызовов в сутки по UTC, общих для всех подходящих API SandBase, включая этот; после этого каждый вызов тарифицируется по этой цене и списывается с баланса SandBase. Подписка не требуется.

Какие параметры принимает API Douyin Video Comment Replies (App V3)?

Обязательные: comment_id (string) и item_id (string). Необязательные: count (integer) и cursor (integer). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Douyin Video Comment Replies (App V3)?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Douyin или API key?

Нет. Douyin Video Comment Replies (App V3) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.