Get a video's comments
get_commentsUse when you need what viewers say about one video: a page of its comments (text, likes, reply count, never the author), with analyze its sentiment and themes. Not for one comment's thread: use get_comment_replies. Not for the video itself: use get_video. Price: 3 credits per page; +10 credits with analyze. By URL or platform + id, on TikTok, Instagram, YouTube or Facebook. limit 1-100 (default 25); pass next_cursor as cursor.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The platform's own video id | |
| url | No | TikTok, Instagram, YouTube or Facebook video URL. Pass this or platform + id | |
| limit | No | ||
| cursor | No | next_cursor from a previous get_comments for the same video, for the next page. | |
| analyze | No | Add a sentiment distribution and themes for the surcharge | |
| estimate | No | Quote the price in Credits: no Run, no charge | |
| platform | No | ||
| max_credits | No | ||
| idempotency_key | No | Reuse on a retry: replays the original Run, not charged again |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| cached | No | ||
| result | No | ||
| poll_url | No | ||
| estimate_credits | No |