API Direct
Endpoints
Instagram Comment Replies

Instagram Comment Replies

GET /v1/instagram/comment/replies

Get the replies to a single Instagram comment by post URL or shortcode plus the comment ID from the Post Comments endpoint. Returns each reply's text, author details, like count, date, link, and the comment it replies to.

Cost
$0.006 per page
Free tier
50 requests/month

Parameters

url
Instagram post or reel URL, e.g. https://www.instagram.com/p/CxYQJO8xuC6/ (max 500 characters). Provide either url or code.
code
The post's shortcode, e.g. CxYQJO8xuC6, or numeric media ID (max 50 characters). Provide either url or code.
comment_id *
The comment's numeric ID, from the Post Comments endpoint (max 50 characters)
pages
Number of pages to fetch, 1-10 (default: 1)
get_sentiment
Set to true to add AI emotion analysis (Plutchik's Wheel) to each result. Adds +$0.001 per page to the cost. Returns emotion scores, dominant emotion, intensity, and polarity.

Example Request

curl "https://apidirect.io/v1/instagram/comment/replies?code=C3OqtMeRxrV&comment_id=18033049183828491" \
  -H "X-API-Key: YOUR_API_KEY"

Example Response

{
  "replies": [
    {
      "comment_id": "18026563642931570",
      "text": "@instagram haha",
      "author": "omer.arincc",
      "author_name": "ÖmerArnc",
      "author_id": "52890574747",
      "author_verified": false,
      "author_is_ai_generated_profile": false,
      "author_url": "https://instagram.com/omer.arincc",
      "author_profile_pic_url": "https://scontent.cdninstagram.com/v/t51.89012-19/photo.jpg",
      "likes": 9,
      "reply_count": 0,
      "is_pinned": false,
      "hashtags": [],
      "mentions": [
        "instagram"
      ],
      "date": "2024-02-12 18:56:19",
      "date_timestamp": 1707759379,
      "url": "https://www.instagram.com/p/C3OqtMeRxrV/c/18033049183828491/r/18026563642931570/",
      "source": "Instagram",
      "domain": "instagram.com",
      "gif_url": null,
      "parent_comment_id": "18033049183828491",
      "replied_to_comment_id": "18033049183828491"
    }
  ],
  "comment_id": "18033049183828491",
  "code": "C3OqtMeRxrV",
  "total": 52,
  "pages": 1,
  "count": 9
}

Your Usage

Free tier this month
Loading...
Recent Activity