Social listening on a campaign hashtag
Combine with the Hashtag Scraper: find public posts on the tag, then pull comments on each to capture what people say rather than just how many posted.
Instagram API / Comments
Comments on any public post or reel, with author handle, like count and timestamp — paginated so you can take the whole set, not the first page.
1 credit per request · request metadata included · errors are never charged
GET /v1/instagram/comments1 creditcurl "https://api.socialscrape.dev/v1/instagram/comments?url=https://www.instagram.com/p/C8QltIdyBGH/" \
-H "x-api-key: $INSCRAPE_KEY"Parameters
urlstringrequiredFull post URL or bare shortcodecursorstringValid for up to 3 minutes, or until the pagination session ends. If expired, start a new request.include_mediabooleanReturn the post or reel mediainclude_repliesbooleanReturn comment repliesWhat you get
Use cases
Combine with the Hashtag Scraper: find public posts on the tag, then pull comments on each to capture what people say rather than just how many posted.
Poll comments on your own recent posts and route anything containing an order number or a negative keyword into your helpdesk before it escalates publicly.
Fetch the full comment set on an entry post, dedupe by author handle, and check for the mention requirement without hand-scrolling thousands of comments.
FAQ
You can paginate as deep as the post exposes publicly. Each page costs one credit, so budget accordingly on posts with six-figure comment counts.
Every top-level comment carries its reply count. The endpoint takes a post URL and a cursor and nothing else, so there is no parameter that drills into one comment's replies — you get the comment set the post exposes publicly, paginated.
It matches the public ordering Instagram serves, which is ranked rather than strictly chronological. Sort by created_at yourself if you need time order.
Related endpoints
Paginated Instagram feed posts with likes, comments, captions and media URLs. Cursor-based pagination that does not drop items.
Get paginated public Instagram posts for a hashtag, including captions, media and engagement fields. One REST endpoint, no Instagram login.
Fetch an account's public reels with play counts, likes, comments and media URLs. Cursor paginated, no Instagram login required.
Back to the full Instagram API overview, or read the comments endpoint documentation.