Skip to content

Post Comments

GET/v2/instagram/post/comments1 credit

Returns the comments of a post or reel with their authors, like counts and timestamps.

01Query parameters

NameTypeDescription
urlrequiredstringLink to the post or reel (`/p/…`, `/reel/…` or `/tv/…`). A bare shortcode also works.
cursoroptionalstringCursor for the next page: the `cursor` value of the previous answer.

02Request

curl "https://api.scrapesocial.ai/v2/instagram/post/comments?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDecPSQfoaRe%2F" \
  -H "x-api-key: $SCRAPESOCIAL_KEY"

03Responses

Real answers from the API. Lists are shortened to 2 items.

GET /v2/instagram/post/comments?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDecPSQfoaRe%2F

{
  "success": true,
  "credits_remaining": 4980,
  "credits_charged": 1,
  "comments": [
    {
      "id": "18130995436828109",
      "text": "The sequence across these slides is stunning! Great work",
      "comment_like_count": 0,
      "child_comment_count": null,
      "created_at": "2026-10-25T04:43:32.000Z",
      "user": {
        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.82787-19/642971158_18042956444535313_7384894640051603948_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=104&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4zMjAuQzMifQ%3D%3D&_nc_ohc=Jpd0nggV_coQ7kNvwEnOUZE&_nc_oc=AdrTBM3622p2Ah1S3OSSoftxo-arE4JuhfUWxR4Uh-WPKG52L91EiTFEfCKjyGth69o&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_gid=v3T80ImEpNLB0i…",
        "username": "penguin.8656465",
        "id": "46021735312",
        "is_unpublished": false,
        "pk": "46021735312",
        "is_verified": false
      }
    },
    {
      "id": "18088850396295390",
      "text": "#FlavioIrmaoDoTigrinho",
      "comment_like_count": 0,
      "child_comment_count": null,
      "created_at": "2026-10-24T02:18:13.000Z",
      "user": {
        "profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/158270056_2679004639057404_6343831689224677911_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=101&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy41MDAuQzMifQ%3D%3D&_nc_ohc=c4gKPxREPLkQ7kNvwHn1VUl&_nc_oc=AdpeEzRAJA-n5L05sI438LNKn6cojwmpauNRponzFTE2MvZzfRvd_wMKvaNHNUiZdLQ&_nc_zt=24&_nc_ht=scontent.cdninstagram.com&_nc_ss=7b689&oh=00_AQPmZ…",
        "username": "lamanitafungi",
        "id": "44470621342",
        "is_unpublished": false,
        "pk": "44470621342",
        "is_verified": false
      }
    }
  ],
  "cursor": "AQHTLYLUmOAd_4UhhCCzAU7W5IbCwkfNzB3O2Ltaa3U1UexhJdts9jlGfHqsbxyisJTK2X5orafShQAt0Fz7E7G4bw"
}

Common to every endpoint

Any route can answer these: a missing or wrong key, no credits left, the platform not answering, or a failure on our side. None of them costs credits.

GET /v1/cosmos/profile?handle=design

{
  "success": false,
  "message": "Invalid API key"
}

04Notes

About 15 comments per page in `comments`. Pass the returned `cursor` back to page further. A post without comments, or a page past the end, is an empty list for 0 credits. An unknown post is a free 404; a URL that is not a post a free 400.

05Errors & credits

Every error has success: false, a real HTTP status and costs no credits.

  • 400missing_parameter

    A required parameter is missing or invalid.

  • 403private_account

    The account is private or age-restricted.

  • 404not_found

    No such account.

  • 503upstream_error

    The platform did not answer; retry shortly.