Skip to main content

What it does

Returns a paginated list of replies to a TikTok comment. Maximum 50 per page. Includes author info, like counts, and reply timestamps.

Tool details

FieldValue
Tool nametiktok.get_comment_replies
PlatformTikTok
REST endpointGET /v1/tiktok/videos/{videoId}/comments/{commentId}/replies
Result typeCollection tool

Parameters

ParameterSourceTypeRequiredDescription
videoIdpathstringYesTikTok video ID
commentIdpathstringYesTikTok comment ID
countqueryintegerNoNumber of replies to fetch (maximum: 50) Default: 50.
cursorquerystringNoPagination cursor Default: 0.
projection_presetsharedstringNoOptional. Defaults to minimal. Allowed values: full, minimal, identity, engagement, content.
data_fieldssharedstring[]NoOptional. Adds top-level keys from data on top of the selected projection_preset.
item_fieldssharedstring[]NoOptional. Adds keys from data.orderedItems[] on top of the selected projection_preset.

Example

{
  "name": "tiktok.get_comment_replies",
  "arguments": {
    "videoId": "7526718640041882912",
    "commentId": "7526720000000000000",
    "count": 50,
    "projection_preset": "minimal",
    "data_fields": [
      "orderedItems",
      "nextCursor",
      "cursor",
      "itemCount"
    ],
    "item_fields": [
      "entityId",
      "published",
      "content",
      "url",
      "likeCount"
    ]
  }
}

Available data fields

[
  "@context",
  "type",
  "partOf",
  "totalItems",
  "cursor",
  "nextCursor",
  "next",
  "itemCount",
  "orderedItems"
]

Available item fields

[
  "type",
  "id",
  "url",
  "entityId",
  "content",
  "language",
  "published",
  "likeCount",
  "replyCount",
  "status",
  "isPinned",
  "isLiked",
  "attributedTo",
  "inReplyTo"
]

Response notes

Successful calls return a JSON object with a top-level data field and, when available, metadata.creditsUsed and metadata.creditsRemaining. See response format, pagination, and credits.