Comments
get_commentsComments on an Instagram post, top first (sort "top") or newest first (sort "newest"), about 15 per page. Paginate by passing pagination.next_cursor back as cursor while pagination.has_more is true. Costs 1 credit per page (nothing from cache, on errors or with a kd_test_ sandbox key).
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": {
"post": "<post>"
},
"name": "get_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | Post shortcode, numeric post id, or an instagram.com/p|reel URL (URL-encoded). | |
| sort | No | Order: top or newest (default top). | |
| fresh | No | true skips the cache and fetches live data (full price). Default false. | |
| cursor | No | pagination.next_cursor from the previous page. Leave out for the first page. |