commentIdstringzorunlu
The unique identifier of the top-level comment.
https://api.sandbase.ai/v1/api/douyin/video-sub-commentGet replies to a top-level Douyin (TikTok China) video comment with page-based pagination. Use it to inspect threaded discussions and review feedback under a known comment.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Returns replies to one top-level Douyin comment. It needs the commentId of that comment and takes an optional page number. Each reply includes its text, timestamp, like count and the video it belongs to.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/video-sub-comment" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"commentId": "7373626964752450315"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
commentId | string | Yes | The unique identifier of the top-level comment. |
page | integer | No | Page number (starting from 1). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"comments": [
{
"aweme_id": "7372484719365098803",
"can_collect": false,
"cid": "7373632254276944680",
"comment_reply_total": 6,
"content_type": 1,
"create_time": 1716807549,
"decorated_emoji_info": null,
"digg_count": 0,
"image_list": null,
"is_author_digged": false,
"is_folded": false,
"is_hot": false
}
],
"cursor": 10,
"extra": {
"fatal_item_ids": null,
"now": 1793691144000,
"scenes": null
},
"has_more": 0,
"log_pb": {
"impr_id": "202611031532243E3D7BB70E367D24D5ED"
},
"merge_cursor": "",
"status_code": 0,
"total": 6
}
| Field | Meaning |
|---|---|
comments[].cid | ID of the reply. Use it as a unique key for each reply. |
comments[].text | Text of the reply. Emoji appear as bracket tags such as [玫瑰]. |
comments[].create_time | Time the reply was posted, as a Unix timestamp in seconds. |
comments[].digg_count | Number of likes on the reply. |
comments[].reply_id | ID of the top-level comment that this reply belongs to. It matches the commentId you sent. |
comments[].reply_to_reply_id | ID of the reply this reply answers. The value 0 means it answers the top-level comment directly. |
comments[].aweme_id | ID of the video that holds the comment thread. |
comments[].comment_reply_total | Reply count shown on each reply item. It matches total in this response. |
comments[].user | Profile object of the reply author. It holds avatar image objects and account flags. |
has_more / cursor / total | has_more is 0 when no further page exists. cursor is the paging offset returned by the platform. total is the number of replies to the comment. |
commentId from the cid field of a top-level comment. The Douyin Video Comments API lists those comments for a video.page to 1, 2, 3 and so on. Keep requesting the next page while has_more is 1.avatar_* objects come back with an empty url_list, so do not rely on them for images.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/video-sub-comment" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"commentId": "1767587367821390"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
commentIdstringzorunluThe unique identifier of the top-level comment.
pageintegerPage number (starting from 1).
Varsayılan: 1
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Douyin Comment RepliesBu API Douyin | $0.014286 çağrı başına | JSON |
Douyin | $0.001 çağrı başına | JSON |
Douyin | $0.001 çağrı başına | JSON |
Douyin | $0.001 çağrı başına | JSON |
Douyin | $0.001 çağrı başına | JSON |
Douyin | $0.001 çağrı başına | JSON |
Kılavuzlar:Best Douyin API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/douyin/video-sub-comment adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.014286, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: commentId (string). İsteğe bağlı: page (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Douyin Comment Replies, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Douyin API erişimi için ayrıca başvuru yapmanız gerekmez.