Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

TikTok Post Comments

API दस्तावेज़
https://api.sandbase.ai/v1/api/tiktok/post-comment

Get comments for a TikTok post with cursor pagination. Use it to review audience discussion, continue through comment pages, or support comment analysis for a known post.

मूल्य
$0.014286USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
The unique ID of the TikTok post (awemeId).
Pagination cursor. Start with '0'.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

TikTok Post Comments API

Returns one page of comments for a TikTok post, including comment text, like counts, creation time, and a short preview of replies. It needs the post's awemeId. Use the cursor parameter to move through later pages.

Use cases

  • Read what viewers say about a known TikTok video.
  • Collect all comments on a post by following the cursor until has_more is 0.
  • Find the most liked comments and the ones the creator liked.
  • Feed comment text into sentiment or topic analysis for one post.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/post-comment" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"awemeId": "7701102965385383199"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
awemeIdstringYesThe unique ID of the TikTok post (awemeId).
cursorstringNoPagination cursor. Start with '0'.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "alias_comment_deleted": false,
  "comments": [
    {
      "allow_download_photo": true,
      "author_pin": false,
      "aweme_id": "7701102965385383199",
      "cid": "7701125977473532702",
      "collect_stat": 0,
      "comment_language": "en",
      "comment_post_item_ids": null,
      "content_type": 1,
      "create_time": 1793058147,
      "digg_count": 7077,
      "fold_status": -1,
      "image_list": null
    }
  ],
  "cursor": 20,
  "extra": {
    "api_debug_info": null,
    "fatal_item_ids": null,
    "now": 1793691847000
  },
  "has_filtered_comments": 0,
  "has_more": 1,
  "log_pb": {
    "impr_id": "20261103074407D623CDF3639ECD01CFBD"
  },
  "reply_style": 2,
  "status_code": 0,
  "status_msg": "",
  "top_gifts": null,
  "total": 2755
}

Response fields

FieldMeaning
comments[].cidID of the comment.
comments[].textText of the comment.
comments[].create_timeTime the comment was posted, as a Unix timestamp in seconds.
comments[].digg_countNumber of likes on the comment.
comments[].is_author_digged / comments[].label_list[].textShow whether the post's creator liked the comment. The label reads Liked by creator when they did.
comments[].comment_languageLanguage code of the comment, such as en.
comments[].reply_comment_totalTotal number of replies to the comment.
comments[].reply_comment[]A short preview of replies to the comment. It can be null when no preview is returned.
comments[].userProfile data for the commenter, such as avatar images in avatar_thumb.url_list.
totalTotal number of comments reported for the post.
cursor / has_morecursor is the value for the next page. has_more is 1 when more comments remain.

Notes

  • Get awemeId from a video details response, for example from TikTok Video Details.
  • Send cursor as 0 for the first page. For the next page, pass the cursor value from the previous response.
  • Stop paging when has_more is 0.
  • Each comment has reply_comment_total, but reply_comment[] holds only a preview, so it may not list every reply.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
TikTok$0.014286 प्रति कॉलJSON
TikTok$0.0012 प्रति कॉल सेJSON
TikTok$0.0008 प्रति कॉल सेJSON
TikTok$0.0008 प्रति कॉल सेJSON
TikTok$0.001 प्रति कॉलJSON
TikTok$0.001 प्रति कॉलJSON

गाइड्स:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

प्रश्न

FAQ

TikTok Post Comments API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/tiktok/post-comment पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

TikTok Post Comments API की लागत कितनी है?

$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

TikTok Post Comments API कौन-से parameters स्वीकार करती है?

आवश्यक: awemeId (string)। वैकल्पिक: cursor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

TikTok Post Comments API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक TikTok developer account या API key चाहिए?

नहीं। TikTok Post Comments SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से TikTok API access के लिए आवेदन करने की आवश्यकता नहीं है।