Instagram Comments Scraper avatar

Instagram Comments Scraper

Pricing

from $0.20 / 1,000 results

Go to Apify Store
Instagram Comments Scraper

Instagram Comments Scraper

Collect public Instagram comments with text, posting times, likes, and author handles. Add several post shortcodes in one run and page through replies.

Pricing

from $0.20 / 1,000 results

Rating

0.0

(0)

Developer

Scrappa

Scrappa

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

21 hours ago

Last modified

Categories

Share

Collect public comments from Instagram posts with text, posting times, like totals, and author profile details. Batch post shortcodes and follow available comment pages.

What data can you extract?

FieldTypeDescription
idStringInstagram identifier for this comment.
textStringComment text published beneath the Instagram post.
taken_atStringISO 8601 timestamp when the comment was posted, when available.
taken_at_timestampIntegerUnix timestamp for the comment posting time.
like_countIntegerNumber of likes shown for the comment.
authorObjectPublic profile details associated with the comment author.
author_idStringInstagram identifier for the public comment author.
author_usernameStringPublic Instagram handle of the comment author.
author_verifiedStringTrue when Instagram marks the comment author as verified.
input_shortcodeStringInstagram post shortcode used to retrieve this comment.
scraped_atStringUTC date and time when this record was collected.

Use cases

  • Community managers can review public replies across several posts.
  • Researchers can compare comment activity and posting times on public content.
  • Brand teams can export comments and author handles for moderation workflows.

How to use

  1. Add each post shortcode to shortcodes.
  2. Set maxPages to limit comment pages requested for each post.
  3. Use maxResults to cap all saved comments in the run.
{
"shortcodes": [
{
"shortcode": "DdVztIfpeKW"
}
],
"maxResults": 20,
"maxPages": 1
}

Input

FieldTypeRequiredDescription
shortcodesArray<object>YesInstagram post shortcodes to retrieve public comments.
shortcodes[].shortcodestringYes per entryPost Shortcode sent to the source search.
shortcodes[].max_idstringNoNext Page Cursor sent to the source search.
max_idstringNoNext Page Cursor sent to the source search.
maxResultsintegerNoMaximum dataset items to save across this entire run.
maxPagesintegerNoMaximum pages to request for each batch entry.

Output example

{
"id": "18012345678901234",
"text": "The colors in this landscape are beautiful.",
"taken_at": "2025-09-18T14:32:11Z",
"taken_at_timestamp": 1758205931,
"like_count": 86,
"author": {
"id": "584700123456789",
"username": "coastline.creator",
"profile_pic_url": "https://cdn.instagram.com/profiles/coastline-creator.jpg",
"is_verified": false
},
"author_id": "584700123456789",
"author_username": "coastline.creator",
"author_verified": false,
"input_shortcode": "DdVztIfpeKW",
"scraped_at": "2026-10-01T12:00:00Z"
}

Pricing

$0.30 per 1,000 results. Apify saves one dataset item per result and applies the Actor’s per-result price to saved items.

Pagination follows the source response. Set maxPages per batch entry and maxResults across the run.

FAQ

Rules depend on the source, location, data type, and intended use. Check applicable laws and source terms, and make sure your workflow follows privacy and data protection requirements.

What limits apply?

Submit up to 100 batch entries per run. Use maxResults to cap saved items and maxPages to limit pages for each entry. Results also depend on source availability and your Scrappa API plan.

Can I start runs through the Apify API?

Yes. Send a POST request to https://api.apify.com/v2/acts/thescrappa~instagram-post-comments-scraper/runs with your Actor input, or use an Apify client library. Read the output from the run dataset.

Can I connect the results to other tools?

Yes. Apify integrations and APIs can pass dataset results to Make, Zapier, n8n, Google Sheets, and other data workflows.

What happens when one input fails?

The Actor logs a short source error and continues with the remaining entries. Transient rate limits and gateway errors are retried; if every entry fails, the run reports an error.

How do I find a post shortcode?

Open the Instagram post URL and use the letters and numbers after /p/ or /reel/.