Skip to content

Comments

GET /v2/instagram/post/comments

Retrieves comments on a public Instagram post or reel. Each comment includes the comment text, creation timestamp, and commenter details such as username, user ID, verification status, and profile picture URL. Supports cursor-based pagination to load additional comment pages.

Authentication

All requests require the x-api-key header. Get your key at scrapecreators.com.

Query Parameters

NameTypeRequiredDescriptionExample
urlstringyesThe URL of the post or reel to get comments fromhttps://www.instagram.com/reel/DOq6eV6iIgD
cursorstringnoThe cursor to get more comments. Get 'cursor' from previous response.eyJjYWNoZWRfY29tbWVud...

Example Request

curl

bash
curl 'https://api.scrapecreators.com/v2/instagram/post/comments?url=https://www.instagram.com/reel/DOq6eV6iIgD' \
  -H 'x-api-key: $SCRAPECREATORS_API_KEY'

Node / TypeScript

js
const params = new URLSearchParams({ url: 'https://www.instagram.com/reel/DOq6eV6iIgD' });
const res = await fetch(`https://api.scrapecreators.com/v2/instagram/post/comments?${params}`, {
  headers: { 'x-api-key': process.env.SCRAPECREATORS_API_KEY }
});
const data = await res.json();
console.log(data);

Python

python
import os, requests
r = requests.get(
    'https://api.scrapecreators.com/v2/instagram/post/comments',
    headers={'x-api-key': os.environ['SCRAPECREATORS_API_KEY']},
    params={'url': 'https://www.instagram.com/reel/DOq6eV6iIgD'},
)
r.raise_for_status()
print(r.json())

CLI

bash
scrapecreators instagram post-comments --help

Example Response

json
{
  "success": true,
  "credits_remaining": 33929114,
  "comments": [
    {
      "id": "18051843701642870",
      "text": "\"...but who wants to know people who don't love animals anyway?\". ❤️",
      "created_at": "2025-09-16T17:03:04.000Z",
      "comment_like_count": 0,
      "user": {
        "is_verified": false,
        "id": "46773599357",
        "pk": "46773599357",
        "is_unpublished": null,
        "profile_pic_url": "https://scontent-dfw5-1.cdninstagram.com/v/t51.2885-19/542013919_18051324464559358_4060586438619554592_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw5-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2QEVOAPWq7DXE6cVfhoMQb0GTMvPo_vizELP9TUgQylvA5jBW1WSonDzvjeTQpAGJ3w&_nc_ohc=b__bzrMG6kYQ7kNvwGXM67R&_nc_gid=oDBffhoPbGLAq2tbCGpGKg&edm=AKp6CbIBAAAA&ccb=7-5&oh=00_AflThVwZ86n6DiACA5-zJCNFQZWBwHfaG6AXZclgea57BA&oe=695A3139&_nc_sid=d62176",
        "username": "catherina_thijs",
        "fbid_v2": "17841446780736699"
      }
    }
  ],
  "cursor": "AQHSpoi6HyDbzYRMzrD........."
}

Credits

Most ScrapeCreators endpoints consume 1 credit per successful response. Some heavier endpoints (transcripts, AI-driven enrichment, ad detail lookups) may cost more. Check GET /v1/credit-balance for your remaining balance.

Errors

StatusMeaningAction
200Success.Use the JSON payload.
400Invalid or missing parameter.Verify required parameters and value format.
401Missing or invalid x-api-key.Pass a valid API key in the header.
402Out of credits.Top up at scrapecreators.com or wait for plan reset.
404Resource not found or private.Confirm the handle, URL, or id and that the resource is public.
429Rate limited.Backoff and retry with exponential delay.
500Server error or upstream platform failure.Retry with backoff; report persistent errors to support.