Video comments
videos_commentsFetches a page of a TikTok video's stored comments, including replies to a specific comment, using cursors for pagination. Returns JSON with freshness and coverage details so you can decide when to retry.
Instructions
One page of a video's stored comments; pass parentCommentId for the replies of one comment and nextCursor as cursor for the next page. Needs API key scope content:read. Costs credits from the workspace wallet (billed as a cached read). May wait up to 40 s while toktokdata.live collects fresh data; if it is still collecting, the tool says when to retry. Returns the API answer as JSON, with provenance (freshness, coverage, source).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_id": "<video_id>"
},
"name": "videos_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Comments per page. | |
| cursor | No | Opaque cursor from `nextCursor` of the previous page. | |
| video_id | Yes | TikTok video id. | |
| parentCommentId | No | Return the replies of this comment. |