Instagram Comments Scraper
Pricing
from $0.50 / 1,000 results
Instagram Comments Scraper
Turn public Instagram post and reel links into structured data. No login. One row per URL, with the caption, photos, video, likes, comment count, author, and audio. Works for photos, carousels, videos, and Reels.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
Alien Force
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Overview
The Instagram Comments Scraper collects public comments from Instagram post and reel URLs. Paste /p/ or /reel/ links and get one dataset row per top-level comment, with the comment text, author, likes, and timestamp.
This actor does not log in and does not take profile usernames. Replies are not included: Instagram's logged-out comments query returns top-level comments only, and it leaves the reply count empty.
Key Features
- Post URL input: Accepts
/p/,/reel/,/reels/,/tv/, andinstagram.com/{user}/p|reel/{code}links. - Pagination: Follows the public comments cursor until the requested limit, or until Instagram says there is no next page.
- Per-post limit:
maxCommentscaps each post. Set it to0to collect every top-level comment. - Author details: Username, user ID, verified flag, profile URL, and profile picture.
- Proxy support: Datacenter proxies by default; switch to residential if Instagram starts blocking.
- Fast and lightweight: HTTP fetch with browser TLS impersonation. No login.
Input Schema
Input Properties
-
startUrls(required)- Type:
array - Description: Public Instagram post or reel URLs.
- Example:
[{ "url": "https://www.instagram.com/reel/DffMLSDhUm6/" }]
- Type:
-
maxComments- Type:
integer - Default:
100 - Description: Maximum number of top-level comments to save for each post.
0collects every top-level comment the public query returns.
- Type:
-
proxyConfiguration- Type:
object - Description: Proxy settings for the run. Apify Proxy datacenter IPs are used by default. If Instagram starts returning empty pages, switch to the
RESIDENTIALgroup.
- Type:
At least one startUrls entry must be a valid Instagram post or reel URL.
Input Example
{"startUrls": [{ "url": "https://www.instagram.com/reel/DffMLSDhUm6/" }],"maxComments": 100,"proxyConfiguration": {"useApifyProxy": true}}
Output
One dataset row per comment.
| Field | Type | Description |
|---|---|---|
inputUrl | string | URL as given in the input |
postUrl | string | Canonical post or reel URL |
postId | string | Instagram media ID |
shortcode | string | Shortcode from the URL |
commentId | string | Comment ID |
commentUrl | string | Permalink. Posts use /p/{shortcode}/c/{id}/, reels use /reel/, TV uses /tv/ |
text | string | Comment text |
createdAt | integer | Comment time (Unix timestamp, seconds) |
likeCount | integer | Likes on the comment |
replyCount | integer | Replies. Logged-out responses usually leave this null |
authorId | string | Comment author user ID |
authorUsername | string | Comment author username |
authorVerified | boolean | Verified comment author |
authorProfileUrl | string | Comment author profile URL |
authorProfilePicUrl | string | Comment author profile picture |
parentCommentId | string | Parent comment ID when the row is a reply. Top-level comments are null |
scrapedAt | string | When the comment was scraped |
The post's own comment count can be higher than the number of rows. That count includes replies, and this actor only receives top-level comments.
Profile picture URLs expire. Treat authorProfilePicUrl as short-lived.
Handling of missing and blocked inputs
Inputs that yield no comments are kept out of the dataset and reported in the RUN_REPORT record in the run's key-value store, alongside a warning in the log. Each entry lists the original input, the resolved postUrl and shortcode, a reason, and a human-readable message.
- No comments: skipped as
noComments. - Comments turned off: skipped as
commentsDisabled. - Private or gated post: skipped as
empty. - Deleted / missing post: skipped as
notFound. - Input without a usable shortcode: skipped as
invalidInput. If no input yields a post URL, the run fails with an input error. - Blocked request: automatically retried. If every retry fails, the input is skipped as
requestFailed. A run where all targets were blocked fails with a clear message.
The run's status message always reports how many comments were scraped and how many inputs were skipped.