awemeIdstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
awemeIdstringwajibThe unique ID of the TikTok post.
commentIdstringwajibThe unique ID of the comment to retrieve replies for.
cursorstringPagination cursor. Start with '0'.
Default: "0"
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
TikTok Comment RepliesAPI ini TikTok | $0.014286 per panggilan | JSON |
TikTok | Dari $0.0012 per panggilan | JSON |
TikTok | Dari $0.0008 per panggilan | JSON |
TikTok | Dari $0.0008 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
TikTok | $0.001 per panggilan | JSON |
Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/post-sub-comment dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.014286 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: awemeId (string) dan commentId (string). Opsional: cursor (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. TikTok Comment Replies berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.