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.014286美元 / 次调用
方法
POST
响应
JSON
参数
2 个必填 · 1 个可选

Playground

输入
The unique ID of the TikTok post.
The unique ID of the comment to retrieve replies for.
Pagination cursor. Start with '0'.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

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

问题

常见问题

如何使用 TikTok Comment Replies API?

向 https://api.sandbase.ai/v1/api/tiktok/post-sub-comment 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

TikTok Comment Replies API 的价格是多少?

每次调用 $0.014286,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

TikTok Comment Replies API 接受哪些参数?

必填:awemeId (string) 和 commentId (string)。 可选:cursor (string)。 Parameters 表和本页的 Playground 列出了每个字段。

TikTok Comment Replies API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 TikTok 开发者账户或 API key 吗?

不需要。TikTok Comment Replies 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。