Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok Comment Replies

Documentación de la 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.

Precio
$0.014286USD / llamada
Método
POST
Respuesta
JSON
Parámetros
2 obligatorios · 1 opcionales

Entorno de pruebas

Entrada
The unique ID of the TikTok post.
The unique ID of the comment to retrieve replies for.
Pagination cursor. Start with '0'.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTok$0.014286 por llamadaJSON
TikTokDesde $0.0012 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTokDesde $0.0008 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Comment Replies?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/post-sub-comment con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok Comment Replies?

$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok Comment Replies?

Requeridos: awemeId (string) y commentId (string). Opcionales: cursor (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Comment Replies?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok Comment Replies funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.