awemeIdstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
awemeIdstringobligatoireThe unique ID of the TikTok post.
commentIdstringobligatoireThe unique ID of the comment to retrieve replies for.
cursorstringPagination cursor. Start with '0'.
Par défaut : "0"
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
TikTok Comment RepliesCette API TikTok | $0.014286 par appel | JSON |
TikTok | À partir de $0.0012 par appel | JSON |
TikTok | À partir de $0.0008 par appel | JSON |
TikTok | À partir de $0.0008 par appel | JSON |
TikTok | $0.001 par appel | JSON |
TikTok | $0.001 par appel | JSON |
Guides :TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/post-sub-comment avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : awemeId (string) et commentId (string). Facultatif : cursor (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. TikTok Comment Replies fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.