Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

TikTok Comment Replies

Documentazione 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.

Prezzo
$0.014286USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
2 obbligatori · 1 opzionali

Playground

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

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTok$0.014286 per chiamataJSON
TikTokDa $0.0012 per chiamataJSON
TikTokDa $0.0008 per chiamataJSON
TikTokDa $0.0008 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON

Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API TikTok Comment Replies?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/post-sub-comment con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API TikTok Comment Replies?

$0.014286 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API TikTok Comment Replies?

Richiesti: awemeId (string) e commentId (string). Facoltativi: cursor (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API TikTok Comment Replies?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API TikTok?

No. TikTok Comment Replies funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.