Post Comment List

Retrieves top-level comments for an Instagram post by shortcode, with cursor pagination and popular or newest sorting. Use it to review audience feedback or analyze discussion around a known post.

Endpoint ID
GET /v1/instagram/get_post_comments_v1
Endpoint ID
instagram.get_post_comments_v1
Price
$0.02 per successful call · failed calls are free

Parameters

Name Required Type Description Example Allowed values
code Required string The unique shortcode for the Instagram post. C0AZ5Tjsr1v —
min_id Optional string Pagination cursor returned as next_min_id from the previous response. — —
sort_order Optional string Sort order for the comments. Available Values: - `popular`: Popular - `newest`: Newest newest popularnewest

Code samples

curl -G "https://api.mofa-ai.com/v1/instagram/get_post_comments_v1" \
  -H "Authorization: Bearer $MOFA_API_KEY" \
  --data-urlencode 'code=C0AZ5Tjsr1v' \
  --data-urlencode 'sort_order=newest'

Try it

Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.

Sign in to try

Example response

Captured 2026-11-08, took 1555 ms · Request parameters {"code": "C0AZ5Tjsr1v", "sort_order": "newest"}

JSON
{
  "success": true,
  "code": 0,
  "message": "success",
  "request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
  "endpoint": "instagram.get_post_comments_v1",
  "cost_usd": 0.02,
  "data": {
    "code": 0,
    "data": {
      "_rid": "1247d115b5ddc",
      "status": "ok"
    },
    "message": null,
    "requestId": "9e1654a6ff00499e971b8835b00390e6",
    "recordTime": "2026-11-08T08:00:05.280338239",
    "requestParams": {
      "body": null,
      "query": {
        "code": "C0AZ5Tjsr1v",
        "sortOrder": "newest"
      }
    }
  }
}