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

TikTok Comment Replies

Документация API
https://api.sandbase.ai/v1/api/tiktok/post-sub-comment

Get replies to a specific comment on a TikTok post with cursor pagination. Use it to inspect threaded discussions and continue through reply pages for a known post comment.

Цена
$0.014286USD / вызов
Метод
POST
Ответ
JSON
Параметры
2 обязательных · 1 необязательных

Песочница

Ввод
The unique ID of the TikTok post.
The unique ID of the comment to retrieve replies for.
Pagination cursor. Start with '0'.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

TikTok Comment Replies API

Returns the replies to one comment on a TikTok post. You send the post ID (awemeId) and the parent comment ID (commentId). Results come in pages, controlled by cursor.

Use cases

  • Read the full reply thread under a single TikTok comment.
  • Walk through every reply page of a busy comment by passing the cursor forward.
  • Check whether a known comment has any replies before you collect more data.
  • Archive a threaded discussion for moderation or research.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/post-sub-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"awemeId": "7701102965385383199", "commentId": "1650470666299398"}'

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

Parameters

NameTypeRequiredDescription
awemeIdstringYesThe unique ID of the TikTok post.
commentIdstringYesThe unique ID of the comment to retrieve replies for.
cursorstringNoPagination cursor. Start with '0'.

Example response

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

{
  "comments": [],
  "cursor": 0,
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103074409E041FC3BC7C8170221E3",
    "now": 1793691849000
  },
  "has_more": 0,
  "log_pb": {
    "impr_id": "20261103074409E041FC3BC7C8170221E3"
  },
  "status_code": 0,
  "status_msg": "",
  "total": 0
}

Response fields

FieldMeaning
commentsList of reply objects for the requested comment. It is an empty list in the sample response, which means that comment had no replies to return.
has_morePaging flag. 0 means there are no more reply pages after this one.
cursorCursor value returned with this page. Use it as the cursor of your next request when has_more is not 0.
totalTotal count reported with the reply list. It is 0 in the sample response.
status_code / status_msgResult status of the call. status_code is 0 and status_msg is empty in the sample response.
extra.fatal_item_idsList of item IDs flagged in the response. It is empty in the sample response.
log_pb.impr_idRequest identifier. It matches extra.logid in the sample response.

Notes

  • awemeId is the ID of the TikTok post. commentId is the ID of the parent comment whose replies you want.
  • Start with cursor set to "0". Send the returned cursor on the next call while has_more is not 0.
  • A reply-free comment returns status_code 0 with an empty comments list.

Pricing

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

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

Связанные APIs

Все APIs
APIЦенаОтвет
TikTok$0.014286 за запросJSON
TikTokОт $0.0012 за запросJSON
TikTokОт $0.0008 за запросJSON
TikTokОт $0.0008 за запросJSON
TikTok$0.001 за запросJSON
TikTok$0.001 за запросJSON

Руководства:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API TikTok Comment Replies?

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

Сколько стоит API TikTok Comment Replies?

$0.014286 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API TikTok Comment Replies?

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

Что возвращает API TikTok Comment Replies?

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

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

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