Skip to main content
POST
/
api
/
instagram
/
post
/
comments
/
replies
/instagram/post/comments/replies
curl --request POST \
  --url https://api.anysite.io/api/instagram/post/comments/replies \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "post": "<string>",
  "comment_id": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@instagram_post_comment",
    "text": "<string>",
    "created_at": 123,
    "like_count": 0,
    "reply_count": 0,
    "parent_id": "<string>",
    "is_edited": false,
    "user": {
      "id": "<string>",
      "alias": "<string>",
      "name": "<string>",
      "url": "<string>",
      "@type": "@instagram_post_user",
      "image": "<string>",
      "is_verified": false,
      "is_private": false,
      "fbid": "<string>"
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
post
string
required

Post shortcode or URL

Minimum string length: 1
Example:

"DZ7eUsUEbOs"

comment_id
string
required

Parent comment ID (from post/comments)

Minimum string length: 1
Example:

"18155469229478162"

count
integer
required

Max number of replies to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@instagram_post_comment
text
string | null
created_at
integer | null
like_count
integer
default:0
reply_count
integer
default:0
parent_id
string | null
is_edited
boolean
default:false
user
InstagramPostUser · object