awemeIdstringобязательно
The unique ID of the TikTok post.
https://api.sandbase.ai/v1/api/tiktok/post-sub-commentGet 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.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
awemeId | string | Yes | The unique ID of the TikTok post. |
commentId | string | Yes | The unique ID of the comment to retrieve replies for. |
cursor | string | No | Pagination cursor. Start with '0'. |
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
}
| Field | Meaning |
|---|---|
comments | List 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_more | Paging flag. 0 means there are no more reply pages after this one. |
cursor | Cursor value returned with this page. Use it as the cursor of your next request when has_more is not 0. |
total | Total count reported with the reply list. It is 0 in the sample response. |
status_code / status_msg | Result status of the call. status_code is 0 and status_msg is empty in the sample response. |
extra.fatal_item_ids | List of item IDs flagged in the response. It is empty in the sample response. |
log_pb.impr_id | Request identifier. It matches extra.logid in the sample response. |
awemeId is the ID of the TikTok post. commentId is the ID of the parent comment whose replies you want.cursor set to "0". Send the returned cursor on the next call while has_more is not 0.status_code 0 with an empty comments list.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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 '{
"cursor": "0",
"awemeId": "7701102965385383199",
"commentId": "1650470666299398"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
awemeIdstringобязательноThe unique ID of the TikTok post.
commentIdstringобязательноThe unique ID of the comment to retrieve replies for.
cursorstringPagination cursor. Start with '0'.
По умолчанию: "0"
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
TikTok Comment RepliesЭтот 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
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/tiktok/post-sub-comment, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.014286 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: awemeId (string) и commentId (string). Необязательные: cursor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. TikTok Comment Replies работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API TikTok.