Fast Instagram Comments Scraper API - No Duplicates avatar
Fast Instagram Comments Scraper API - No Duplicates

Pricing

Pay per event

Go to Apify Store
Fast Instagram Comments Scraper API - No Duplicates

Fast Instagram Comments Scraper API - No Duplicates

The fastest and cheapest Instagram Comments Scraper - extract comments & replies at 100-200 comments/sec for just $0.0075 per post (15 FREE). Retrieve comment text, user profiles, and engagement data instantly with a reliable, proxy-free setup.

Pricing

Pay per event

Rating

0.0

(0)

Developer

API Dojo

API Dojo

Maintained by Community

Actor stats

2

Bookmarked

9

Total users

7

Monthly active users

13 hours ago

Last modified

Share

๐ŸŽฏ Fast Instagram Comments Scraper API: Extract Comments & Replies at Scale ๐Ÿ’ฌ

This Actor provides a fast, scalable API for extracting Instagram comment and reply data from any public post URL.

Extract Instagram comments, replies, and engagement data with one of the most powerful Instagram Comments Scraper APIs available. This Instagram comments scraper collects comment text, user profiles, like counts, reply threads, and timestamps with transparent event-based pricing at $0.0075 per post (first 15 comments FREE), then just $0.0005 per additional comment.

Perfect for sentiment analysis, brand monitoring, competitor analysis, and social media intelligence - scrape public Instagram post, reel, and video comments by URL, perform bulk Instagram comment scraping, extract Instagram comment data at 100โ€“200 comments per second, and receive complete engagement metrics in structured JSON or CSV format.

๐Ÿ’ฐ Price: $0.0075/post (15 FREE comments) + $0.0005/comment
โšก Speed: 100โ€“200 comments per second
๐Ÿ“Š Data Coverage: Comments, replies, user profiles, likes, timestamps, engagement metrics
๐ŸŽ Free Tier: First 15 comments included per post query
๐Ÿ›ก๏ธ No Proxy Required | No Login Needed | Event-Based Pricing

This Instagram comments scraper API is ideal for developers, growth teams, marketers, and data engineers who need reliable, scalable access to Instagram engagement data at scale.

TL;DR: The Instagram Comments Scraper API extracts comments from any public post at $0.0075/post (15 FREE). No login. No proxy. 100โ€“200 comments/sec. Output: JSON/CSV with user profiles, likes, timestamps, reply threads.

๐Ÿ“‹ Table of Contents

โ„น๏ธ Disclaimer About This Instagram Comments API

Actively maintained with continuous updates for platform changes. No login credentials or proxies required-start extracting public post comment data immediately. Transparent event-based pricing at $0.0075/post (15 comments FREE) + $0.0005/comment. Extraction speed: 100โ€“200 comments per second. Direct developer support via apidojo10@gmail.com

๐Ÿงญ What Does Instagram Comments Scraper API Do?

Instagram comment scraping is the automated process of extracting comment data, user profiles, and engagement metrics from public Instagram posts. This technique enables sentiment analysis, brand monitoring, and audience research at scale.

This Instagram comments scraper retrieves comprehensive engagement data, reply threads, and user metrics from Instagram.com without authentication or proxies. Use this Instagram comments API to collect comment text, user profiles, like counts, timestamps, and conversation chains from any public post at 100โ€“200 comments per second with transparent event-based pricing.

Core Extraction Capabilities

๐Ÿ’ฌ Instagram Comment Data Extraction

Extract complete comment data including text, author usernames, user IDs, profile pictures, timestamps, like counts, and comment IDs. This Instagram comments API retrieves all public comment information from any Instagram post using direct URLs.

๐Ÿ”„ Reply Thread Scraping

Collect nested reply threads and conversation chains. The Instagram comments scraper captures parent-child relationships, reply authors, and complete conversation context-perfect for sentiment analysis and discussion mapping.

๐Ÿ‘ฅ User Profile Extraction from Comments

Automatically extracts commenter profile data including username, user ID, full name, profile picture URL, and verification status. Identifies all users participating in post discussions for audience analysis and influencer identification.

๐Ÿ“Š Engagement Metrics Collection

Capture like counts, reply counts, comment timestamps, and engagement patterns. Tracks interaction data for social listening, brand monitoring, and competitive intelligence.

๐Ÿš€ High-Speed Extraction

Process 100โ€“200 comments per second with optimized pagination and smart duplicate handling. Built for enterprise-scale data extraction with transparent cost controls.

๐Ÿ” Smart Pagination & Duplicate Handling

Advanced pagination technology continues extraction even when encountering duplicate comments. Enable "continue on duplicates" option to maximize data completeness during large-scale extraction operations.

Pricing: Transparent Event-Based Instagram Comments API Costs

Transparent pay-per-use pricing-no subscriptions, no hidden fees, no monthly minimums. Extract public post comment data with crystal-clear costs calculated per post query and per comment extracted.

๐Ÿ“Š Event Costs

Event TypePriceFree Items IncludedWhat Triggers It
Post Query$0.007515 comments FREEScraping comments from an Instagram post
Dataset Item$0.0005N/AEach comment beyond the free 15 comments

๐Ÿ’ก How Pricing Works

Post Query Costs:
Each Instagram post URL or post ID you scrape counts as 1 Post Query at $0.0075-and the first 15 comments are completely free.

Additional Comments:
Comments beyond the free 15 cost just $0.0005 each. This makes comment extraction incredibly cost-effective for both small monitoring projects and enterprise-scale data collection.

Example Calculations:

  • Scrape 1 post with 100 comments: $0.0075 (query) + ($0.0005 ร— 85 comments) = $0.050
  • Scrape 10 posts with 150 comments total: ($0.0075 ร— 10 queries) = $0.075 (all within free quota!)

๐Ÿ“ˆ Cost Examples

ScenarioChargesCalculationTotal Cost
1 post, 15 comments total1 post query$0.0075$0.0075
1 post, 100 comments total1 post query + 85 items$0.0075 + ($0.0005 ร— 85)$0.050
1 post, 500 comments total1 post query + 485 items$0.0075 + ($0.0005 ร— 485)$0.250
1 post, 1000 comments total1 post query + 985 items$0.0075 + ($0.0005 ร— 985)$0.500
10 posts, 150 comments total10 post queries$0.0075 ร— 10$0.075
50 posts, 2000 comments total50 post queries + 1250 items($0.0075 ร— 50) + ($0.0005 ร— 1250)$1.000

๐Ÿ’ก Pro Tip

Each post query includes the first 15 comments FREE! This makes sentiment analysis, brand monitoring, and engagement tracking incredibly cost-effective. Monitor multiple posts, track competitor discussions, and analyze audience sentiment without breaking your budget-perfect for social media managers and marketing teams working with limited resources.

โšก Features and Functionality

This Instagram comments scraper combines blazing-fast extraction speed with enterprise-grade reliability. Get complete comment data, reply threads, and engagement metrics with transparent event-based billing and powerful extraction capabilities.

Core Features

FeatureDescriptionBenefit
๐Ÿ’ฐ Event-Based PricingPay only for comments you actually scrape-no subscriptions, no monthly feesCost control: Only pay for what you extract
๐ŸŽ 15 Free Comments Per PostEvery post query includes first 15 comments at no extra chargeBudget-friendly: $0.0075 gets you 15 complete comments
โšก 100โ€“200 Comments/SecondHigh-speed extraction processes hundreds of comments per secondTime savings: Extract thousands of comments in minutes
๐Ÿ”„ Smart PaginationContinue extraction even when encountering duplicate comments during paginationData completeness: Maximize comment collection from large discussions
๐Ÿ’ฌ Complete Comment DataMessage text, like counts, reply counts, timestamps, user profiles, engagement metricsComprehensive data: Everything you need for sentiment analysis
๐Ÿ‘ฅ User Profile ExtractionAutomatically extracts commenter username, full name, profile picture, verification statusAudience intelligence: Identify influencers and engaged users
๐Ÿ›ก๏ธ Zero AuthenticationNo cookies, no login credentials, no account requiredSafe & simple: Start extracting immediately without setup
๐Ÿš€ No Proxy NeededDirect API access without residential or datacenter proxiesCost savings: No proxy fees, simplified infrastructure
๐Ÿ”ง Custom Map FunctionJavaScript function to transform, filter, or enrich output data on-the-flyData control: Shape results to match your exact requirements
โœจ Structured JSON OutputClean JSON/CSV export ready for databases, spreadsheets, or analytics toolsIntegration-ready: Import directly into your analysis pipeline
๐Ÿ Python & API AccessRESTful API endpoint for programmatic access-scrape Instagram comments Python, Node.js, or any languageDeveloper-friendly: Integrate into existing workflows
๐Ÿ“ฅ Bulk DownloadBulk download Instagram comments from multiple posts in a single runEfficiency: Extract thousands of comments across posts simultaneously

๐Ÿš Input Parameters

Streamlined configuration for extracting comment data from Instagram posts. Use direct post URLs or post IDs with flexible options for pagination control and output customization.

FieldTypeDescriptionDefault value
startUrlsarrayInstagram post URLs (e.g., https://www.instagram.com/p/ABC123/). Uses Post Query pricing ($0.0075 per post, first 15 comments FREE). Most intuitive option for comment extraction.[]
postIdsarrayInstagram post IDs extracted from URLs (e.g., ABC123). Uses Post Query pricing ($0.0075 per post, first 15 comments FREE). Useful when you already have post IDs.[]
continueOnDuplicatesbooleanIf enabled, actor continues fetching next pages even when encountering duplicate comments. If disabled, actor stops on first duplicate. Useful for handling Instagram pagination issues and maximizing data collection.false
maxItemsintegerMaximum number of comments to extract across entire run. Controls your total costs and output volume.Infinity
customMapFunctionstringJavaScript function that takes each comment object as argument and returns transformed data. Use to customize output format or calculate custom metrics. Not for filtering-filtering may result in automatic restrictions.null

Note: You must provide either startUrls OR postIds (at least one is required).

๐Ÿ’ก Instagram Comments API Strategy Guide

Choose the right extraction approach to optimize costs and get exactly the comment data you need. Each method-post URL extraction or post ID scraping-serves different use cases.

๐ŸŽฏ Strategy 1: Quick Sentiment Analysis (Small Posts)

Best for: Brand monitoring, customer feedback analysis, quick sentiment checks

Method: Post URLs with default settings

json

{
"startUrls": [
"https://www.instagram.com/p/DC7Q4z5JPMX/",
"https://www.instagram.com/p/DCKDRSpiy3b/"
],
"maxItems": 100
}
Cost ComponentCalculationAmount
2 post queries2 ร— $0.0075$0.015
70 dataset items(100 - 30 free) ร— $0.0005$0.035
Total Cost$0.050
Cost per comment$0.0005

What you get:

  • โœ… Up to 100 Instagram comments from 2 posts
  • โœ… First 15 comments per post completely FREE (30 total free)
  • โœ… Comment text, user profiles, like counts, timestamps
  • โœ… Perfect for tracking brand mentions and customer sentiment

Why this works: Post URL method is intuitive and includes generous free tier-ideal for monitoring multiple posts affordably.


๐ŸŽฏ Strategy 2: Post ID-Based Extraction

Best for: Automated workflows, database integration, scheduled monitoring

Method: Post IDs with controlled output volume

json

{
"postIds": ["DC7Q4z5JPMX", "DCKDRSpiy3b", "DBxYZ123abc"],
"maxItems": 200
}
Cost ComponentCalculationAmount
3 post queries3 ร— $0.0075$0.0225
155 dataset items(200 - 45 free) ร— $0.0005$0.0775
Total Cost$0.100
Cost per comment$0.0005

What you get:

  • โœ… Up to 200 Instagram comments from 3 posts
  • โœ… 45 free comments included (15 per post ร— 3)
  • โœ… Clean post ID input perfect for programmatic access
  • โœ… Ideal for CRM integration and automated sentiment tracking

Why this works: Post IDs integrate seamlessly with existing databases and automated workflows-extract comment data using IDs from your systems.


๐ŸŽฏ Strategy 3: Large-Scale Discussion Analysis

Best for: Viral post analysis, comprehensive sentiment analysis, research projects

Method: Post URLs with smart pagination enabled

json

{
"startUrls": [
"https://www.instagram.com/p/POST1/",
"https://www.instagram.com/p/POST2/",
"https://www.instagram.com/p/POST3/"
],
"continueOnDuplicates": true,
"maxItems": 500
}
Cost ComponentCalculationAmount
3 post queries3 ร— $0.0075$0.0225
455 dataset items(500 - 45 free) ร— $0.0005$0.2275
Total Cost$0.250
Cost per comment$0.0005

What you get:

  • โœ… Up to 500 Instagram comments from 3 viral posts
  • โœ… Smart pagination handles duplicate comments automatically
  • โœ… Complete discussion threads and reply chains
  • โœ… Perfect for analyzing trending content and audience reactions

Why this works: continueOnDuplicates ensures complete extraction even with pagination quirks-maximizes data completeness for large-scale analysis.


๐ŸŽฏ Strategy 4: Multi-Post Brand Monitoring

Best for: Competitive intelligence, campaign tracking, ongoing brand monitoring

Method: Multiple post IDs with efficient duplicate handling

json

{
"postIds": ["ABC123", "DEF456", "GHI789", "JKL012", "MNO345"],
"continueOnDuplicates": false,
"maxItems": 100
}
Cost ComponentCalculationAmount
5 post queries5 ร— $0.0075$0.0375
25 dataset items(100 - 75 free) ร— $0.0005$0.0125
Total Cost$0.050
Cost per post$0.010

What you get:

  • โœ… Up to 100 Instagram comments from 5 different posts
  • โœ… 75 free comments included (15 per post ร— 5)
  • โœ… Quick monitoring across multiple brand posts
  • โœ… Efficient extraction stops on duplicates for speed

Why this works: Monitor multiple posts cost-effectively-perfect for social media managers tracking brand campaigns across numerous posts.


๐Ÿ“Š Strategy Comparison Table

StrategyBest ForPostsCommentsTotal CostCost/Comment
Quick SentimentBrand monitoring2100$0.050$0.0005
Post ID ExtractAutomation3200$0.100$0.0005
Large-Scale AnalysisViral posts3500$0.250$0.0005
Multi-Post MonitorCampaigns5100$0.050$0.0005

๐Ÿง  Pro Tips for Comment Extraction Optimization

โœ… Maximize Free Comments

Each post query includes 15 FREE comments. Monitor 10 posts = 150 free comments before paying for additional data. Perfect for ongoing brand monitoring without high costs.

โœ… Use maxItems Wisely

Set maxItems to control costs. For testing, use maxItems: 50. For production, calculate your budget: maxItems = (budget - query_cost) / 0.0005.

โœ… Enable Smart Pagination for Large Posts

Set continueOnDuplicates: true for viral posts with hundreds of comments-ensures complete extraction even with pagination issues.

Extract comments from multiple related posts in one run rather than separate runs to minimize operational overhead.

โœ… URLs vs Post IDs Decision

  • Have direct Instagram URLs? Use startUrls ($0.0075 per post, 15 free comments)
  • Have post IDs from database? Use postIds ($0.0075 per post, 15 free comments)
  • Rule of thumb: Both methods cost the same-choose based on your data source format

๐Ÿœ Output

The Instagram comments scraper returns clean, structured JSON output containing comprehensive comment information. Export Instagram comments to CSV directly from Apify Console, or access via API for programmatic integration:

๐Ÿ“ฆ Example Output Object

{
"inputSource": "https://www.instagram.com/p/DS5IfIWDTHk",
"postId": "DS5IfIWDTHk",
"type": "comment",
"id": "17919079491232885",
"userId": "6677757292",
"message": "๐Ÿ˜",
"createdAt": "2025-12-30T15:37:46.000Z",
"likeCount": 3,
"replyCount": 0,
"user": {
"id": "6677757292",
"username": "beah_us",
"fullName": "Beatriz Macedo",
"isVerified": true,
"isPrivate": false,
"profilePicUrl": "https://scontent-vie1-1.cdninstagram.com/v/t51.82787-19/534273865_18299285281221293_1901012278943061543_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=103&ig_cache_key=GElf2B_tqtReGgNBACeWDoCYwGEabmNDAQAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=ci8vHEh2LBYQ7kNvwGKnNLD&_nc_oc=Adl8MqnB8GP4aHrTUNmuVYQRgQabNPbst_1H3uzPTdI9h5D47--_jlbw_cw88ScyyeU&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-vie1-1.cdninstagram.com&_nc_gid=7AKsYo4z16QMY6Lthn_E0w&oh=00_AfmDjvLMLAGMwq1GSOWsKw64WTfa8PCnEI-DrKPBXjLWmA&oe=695A40EC"
},
"isRanked": true
}

Output Fields Explained

FieldDescription
inputSourceOriginal Instagram post URL used for extraction
postIdInstagram post ID where comment was posted
typeAlways "comment" for comment objects
idUnique Instagram comment ID
userIdInstagram user ID of the commenter
messageComment text content (supports emojis and Unicode)
createdAtISO 8601 timestamp when comment was posted
likeCountNumber of likes the comment received
replyCountNumber of replies to this comment
user.idUser ID (same as userId for consistency)
user.usernameInstagram handle of commenter
user.fullNameDisplay name of commenter
user.isVerifiedBlue checkmark verification status
user.isPrivateWhether commenter's account is private
user.profilePicUrlProfile picture URL (high quality)
isRankedWhether Instagram algorithm ranked this comment higher

๐Ÿงฉ Custom Map Function: Transform Output Data

Transform and customize your Instagram comments API output using the customMapFunction parameter. This JavaScript function receives each comment object and returns your desired format-perfect for adding custom metrics, reformatting fields, or calculating sentiment scores.

How It Works

The custom map function accepts each comment object as input and returns your transformed data structure. Use it to customize output format, calculate engagement scores, extract specific user fields, or add custom analytics.

Important: Custom map function is for data transformation-not for filtering. Filtering items may result in automatic restrictions.

Example Transformation

Add custom sentiment analysis, extract user data, and calculate engagement metrics:

javascript

(object) => ({
...object,
username: object.user?.username,
isVerified: object.user?.isVerified,
hasReplies: object.replyCount > 0,
sentiment: object.message?.includes('love') || object.message?.includes('โค') ? 'positive' : 'neutral',
commentLength: object.message?.length || 0,
user: undefined // Remove nested user object from output
})

Example Transformation Results

Input (original comment object):

json

{
"id": "17919079491232885",
"userId": "6677757292",
"message": "I love this! โค๏ธ",
"likeCount": 15,
"replyCount": 3,
"user": {
"username": "beah_us",
"fullName": "Beatriz Macedo",
"isVerified": true
}
}

Output (transformed with custom map function):

json

{
"id": "17919079491232885",
"userId": "6677757292",
"message": "I love this! โค๏ธ",
"likeCount": 15,
"replyCount": 3,
"username": "beah_us",
"isVerified": true,
"hasReplies": true,
"sentiment": "positive",
"commentLength": 15
}

Common Use Cases

1. Sentiment Analysis Enhancement

Add custom sentiment scoring based on keywords, emojis, or patterns:

javascript

(object) => ({
...object,
sentiment: object.message?.includes('amazing') || object.message?.includes('๐Ÿ”ฅ') ? 'positive' :
object.message?.includes('disappointed') || object.message?.includes('๐Ÿ˜ž') ? 'negative' : 'neutral',
hasPositiveEmoji: /[๐Ÿ˜โค๏ธ๐Ÿ”ฅ๐Ÿ‘]/.test(object.message || '')
})

2. Engagement Score Calculation

Calculate custom engagement metrics for each comment:

javascript

(object) => ({
...object,
engagementScore: (object.likeCount * 1) + (object.replyCount * 2),
isHighEngagement: object.likeCount > 50 || object.replyCount > 10,
engagementRate: object.likeCount / (object.replyCount + 1)
})

3. User Data Extraction

Flatten nested user data for easier analysis:

javascript

(object) => ({
commentId: object.id,
commentText: object.message,
commentLikes: object.likeCount,
commentDate: object.createdAt,
authorUsername: object.user?.username,
authorName: object.user?.fullName,
authorVerified: object.user?.isVerified,
authorPrivate: object.user?.isPrivate
})

4. Data Cleanup & Formatting

Remove unnecessary fields and reformat timestamps:

javascript

(object) => ({
id: object.id,
text: object.message,
author: object.user?.username,
likes: object.likeCount,
replies: object.replyCount,
posted: new Date(object.createdAt).toLocaleDateString(),
verified: object.user?.isVerified || false
})

5. Keyword Extraction

Extract mentions, hashtags, and URLs from comment text:

javascript

(object) => ({
...object,
mentions: object.message?.match(/@[\w.]+/g) || [],
hashtags: object.message?.match(/#[\w]+/g) || [],
hasUrl: /https?:\/\//.test(object.message || ''),
wordCount: object.message?.split(' ').length || 0
})

Best Practices

โœ… DO use custom map function for:

  • Adding calculated fields (sentiment scores, engagement metrics)
  • Reformatting data structures for your analysis tools
  • Extracting specific fields from nested objects
  • Converting timestamps or data types
  • Adding custom metadata or classifications

โŒ DO NOT use custom map function for:

  • Filtering out comments (may result in restrictions)
  • Removing items based on conditions
  • Reducing dataset size through omission

Pro Tips

๐Ÿ’ก Flatten nested data: Extract user.username to top level for easier CSV analysis

๐Ÿ’ก Calculate metrics: Add engagement scores, sentiment analysis, or custom classifications

๐Ÿ’ก Clean output: Remove unused fields to reduce dataset size and improve clarity

๐Ÿ’ก Preserve original data: Use spread operator (...object) to keep all original fields while adding new ones

Expand your data extraction capabilities with our complete suite of specialized scraper APIs. Each tool focuses on specific data types for comprehensive social media intelligence and competitive analysis.

๐Ÿ“ฆ Complete Apidojo Instagram Scraper Ecosystem

ToolWhat It ExtractsBest For
๐Ÿฏ Instagram Profile ScraperUser profiles, followers, following lists, public emailsInfluencer research, lead generation, audience analysis
๐Ÿ“ธ Instagram ScraperPosts, media, images, videos, captionsContent analysis, competitor monitoring, media collection
๐Ÿ’ฌ Instagram Comments ScraperComments, engagement data, user interactionsSentiment analysis, engagement tracking, community insights.ย (You are here)
#๏ธโƒฃ Instagram Hashtag ScraperHashtag posts, trending content, campaign trackingHashtag research, trend monitoring, campaign performance
๐Ÿ“ Instagram Location ScraperLocation-based posts, geo-tagged contentLocal marketing, location intelligence, regional analysis

๐ŸŽฏ Choose the Right Extractor for Your Use Case

๐Ÿ‘ค Need User & Profile Data?

โ†’ [Instagram Profile Scraper](Instagram Profile Scraper ยท Fast & Affordable ยท Apify) Extract profiles, followers, following lists, verification status, public emails, bios

๐Ÿ“ธ Need Posts & Media Content?

โ†’ Instagram Scraper
Extract posts, images, videos, captions, likes, post metadata

๐Ÿ’ฌ Need Engagement & Interactions?

Extract comments, replies, user engagement, sentiment data

#๏ธโƒฃ Need Hashtag & Trend Data?

โ†’ Instagram Hashtag Scraper
Extract posts by hashtag, trending content, campaign tracking

๐Ÿ“ Need Location-Based Content?

โ†’ Instagram Location Scraper
Extract geo-tagged posts, location intelligence, regional content

๐Ÿ†“ Demo Mode & Free Testing

If you run on Apify's Free plan, you can still use this Instagram comments scraper with limited results (up to 10 items). For unrestricted usage and to unlock the full power of the Instagram comments API at scale, subscribe to a paid Apify plan at apify.com/pricing.

Free Plan Benefits:

  • โœ… Test the comments API with up to 10 comment extractions
  • โœ… Each post query includes 15 comments FREE (even on paid plans)
  • โœ… Perfect for testing sentiment analysis workflows before scaling
  • โœ… Validate output format and data quality risk-free

Upgrade for Full Access:

  • ๐Ÿš€ Unlimited comment extraction from public posts
  • ๐Ÿš€ 100โ€“200 comments per second processing speed
  • ๐Ÿš€ API access for automated workflows and integrations
  • ๐Ÿš€ Enterprise-scale data extraction capabilities

For unrestricted usage, subscribe to a paid Apify plan.

๐Ÿ”ง Troubleshooting Common Instagram Comments API Issues

Having trouble with your extraction? Here are solutions to common issues when scraping comment data, managing costs, and optimizing performance.


โ“ Getting Fewer Comments Than Expected?

Problem: Extraction returns fewer Instagram comments than anticipated

Solutions:

โœ… Check your maxItems setting โ€“ Increase the limit if you need more comments per post
โœ… Enable smart pagination โ€“ Set continueOnDuplicates: true to handle Instagram pagination issues
โœ… Verify post has public comments โ€“ Private or restricted posts limit comment visibility
โœ… Remember the free tier โ€“ Each post query includes 15 FREE comments automatically

Pro Tip: For viral posts with thousands of comments, always enable continueOnDuplicates to ensure complete extraction even when Instagram's API returns duplicate comments during pagination.


๐Ÿ’ฐ Unexpected Costs?

Problem: Your Instagram Comments API run cost more than anticipated

Key pricing differences to remember:

ScenarioCost CalculationWhat You Pay
1 post, 15 comments1 post query$0.0075 (all comments FREE)
1 post, 100 comments1 query + 85 items$0.0075 + ($0.0005 ร— 85) = $0.050
10 posts, 150 comments10 queries (all free)$0.075 (no additional charges)
10 posts, 500 comments10 queries + 350 items($0.0075 ร— 10) + ($0.0005 ร— 350) = $0.250

Cost control tips:

โœ… Each post creates a separate query โ€“ 10 post URLs = 10 ร— $0.0075 = $0.075 in base costs
โœ… First 15 comments per post are FREE โ€“ Only pay for comments beyond the free tier
โœ… Use maxItems to cap spending โ€“ Set hard limits on total comment extraction
โœ… Review your input carefully โ€“ Count how many posts you're scraping before running


๐Ÿ’ก Want to Minimize Instagram API Costs?

Problem: Looking for the most cost-effective comment extraction approach

Cost optimization strategies:

โœ… Set maxItems Strategically

json

{
"startUrls": ["https://www.instagram.com/p/ABC123/"],
"maxItems": 50
}

Result: Controls total output volume and prevents runaway costs on viral posts

โœ… Disable Smart Pagination When Not Needed

json

{
"continueOnDuplicates": false
}

Result: Extraction stops on first duplicate, faster completion for small posts

โœ… Leverage Free Comments

  • Each post includes 15 FREE comments
  • Monitor 10 posts = 150 free comments
  • Perfect for ongoing brand monitoring without high costs

Extract comments from multiple posts in one run rather than separate runs to minimize operational overhead and maximize free comment allocation.


โŒ No Results?

Problem: Returns zero comments or empty dataset

Troubleshooting checklist:

โœ… Verify you provided input โ€“ Must include either startUrls OR postIds (at least one is required)
โœ… Check post URL format โ€“ Must be valid Instagram post URLs
โœ… Confirm posts are public โ€“ Private or restricted posts cannot be scraped
โœ… Verify posts exist โ€“ Deleted or removed posts return no data
โœ… Check post has comments โ€“ Some posts have comments disabled

Correct URL format:

  • โœ… https://www.instagram.com/p/ABC123/
  • โŒ instagram.com/p/ABC123/ (missing https://)
  • โŒ https://www.instagram.com/ABC123/ (missing /p/ path)

Test with known public posts first (e.g., major brand accounts with active discussions)


๐Ÿ”„ Pagination Issues?

Problem: Scraper stops prematurely or misses comments from large discussion threads

Solution: Enable smart pagination for complete extraction

json

{
"startUrls": ["https://www.instagram.com/p/VIRAL_POST/"],
"continueOnDuplicates": true,
"maxItems": 1000
}

Why this happens:
Instagram's pagination sometimes returns duplicate comments when loading next pages. By default, the scraper stops on first duplicate to avoid redundant data. Enable continueOnDuplicates to continue extraction past duplicates-essential for viral posts with hundreds or thousands of comments.

When to enable:

  • โœ… Viral posts with 500+ comments
  • โœ… Complete discussion thread analysis
  • โœ… Comprehensive sentiment analysis projects
  • โœ… When comment count seems lower than expected

When to disable:

  • โœ… Small posts with <100 comments
  • โœ… Quick brand monitoring checks
  • โœ… Cost-conscious extractions
  • โœ… When speed matters more than completeness

๐Ÿ“Š Missing Output Fields?

Problem: Not seeing all data fields in the preview interface

Solution:
Open the Storage tab in Apify Console to explore and download full datasets. The preview interface shows limited fields-complete JSON/CSV exports contain all extracted data including:

  • Comment text, IDs, timestamps
  • User profiles, usernames, verification status
  • Like counts, reply counts, engagement metrics
  • Profile pictures, account privacy settings
  • Post IDs, source URLs, ranking status

How to access full data:

  1. Navigate to Storage โ†’ Dataset in your run details
  2. Click Preview data for formatted view
  3. Click Download for complete JSON/CSV export
  4. Use API endpoint for programmatic access

๐Ÿš€ Performance Optimization Tips

Maximize extraction speed and data quality:

โœ… Use Post IDs when available โ€“ Slightly faster than URL parsing
โœ… Enable continueOnDuplicates for large posts โ€“ Ensures complete extraction
โœ… Set reasonable maxItems limits โ€“ Balance completeness with performance
โœ… Batch multiple posts โ€“ More efficient than separate runs
โœ… Monitor extraction logs โ€“ Check run details for warnings or errors


๐Ÿ“ž Still Having Issues?

If you've tried these solutions and still experience problems:

  1. Check the run logs โ€“ Detailed error messages in Apify Console
  2. Review your input format โ€“ Validate JSON syntax and parameter values
  3. Test with sample data โ€“ Try known working post URLs first
  4. Contact support โ€“ Email apidojo10@gmail.com with your run ID

When contacting support, include:

  • Run ID from Apify Console
  • Input configuration (JSON)
  • Expected vs actual results
  • Any error messages from logs

๐ŸŽฏ Use Cases: Who Needs This Instagram Comments Scraper?

๏ฟฝ Analyze Brand Sentiment from Instagram Comments

Social Media Managers - Use this Instagram comments API to track engagement patterns, identify trending topics, and understand audience sentiment at just $0.0075 per post (15 comments included).

Market Research Analysts - Gather real-time consumer insights, track brand sentiment, and conduct competitor analysis through the Instagram comments scraper affordably.

๐Ÿ“ˆ Measure Campaign Performance & Influencer Impact

Marketing Professionals - Analyze campaign responses, measure product reception, and identify influencers through comment engagement data.

๐Ÿค– Train NLP Models on Comment Data

Data Scientists & AI Researchers - Access structured comment data from this Instagram comments API for training sentiment analysis models, NLP algorithms, and predictive analytics.

๐Ÿ›ก๏ธ Detect Brand Mentions & PR Issues Early

Brand Protection Teams - Monitor brand mentions, track customer complaints, and identify potential PR issues before they escalate using the Instagram comments scraper.

๐Ÿ”Ž Conduct Digital Investigations & Pattern Analysis

OSINT Professionals - Analyze comment patterns for security assessments, threat detection, and digital investigation purposes.

Academic Researchers - Study social behavior patterns, conduct linguistic analysis, and research digital communication trends.

๐Ÿ›’ Gather Product Feedback & Customer Insights

E-commerce & Product Teams - Track product feedback, identify customer pain points, and gather feature requests through comment analysis.

โ“ Frequently Asked Questions

How much does it cost to scrape 1000 Instagram comments?

Scraping 1000 comments costs $0.50: $0.0075 (post query) + $0.0005 ร— 985 comments. First 15 comments per post are FREE.

Does this require login credentials?

No. Works without Instagram account, cookies, or login. Provide public post URLs and start immediately.

Is there a free Instagram comment API option?

Yes. Apify's Free plan includes 10 items. Every post query includes 15 FREE comments on all plans-Instagram comment API free tier included.

How do I scrape Instagram comments with Python?

Use the Apify API client. Scrape Instagram comments Python example: call the actor endpoint with post URLs, receive JSON response. Full API docs available.

Can I bulk download Instagram comments?

Yes. Bulk download Instagram comments from multiple posts in one run. Add URLs to startUrls array and set maxItems for volume control.

How do I export Instagram comments to CSV?

Export Instagram comments to CSV directly from Apify Console's Storage tab, or use the API with format=csv parameter.

How fast is extraction?

Processes 100โ€“200 comments per second. Extract thousands of comments in minutes.

Can I scrape Reels and Video comments?

Yes. Works with posts, reels, videos, and carousels. Just provide the URL.

How do I handle posts with thousands of comments?

Enable continueOnDuplicates: true for complete extraction. Set maxItems to control costs.

๐Ÿ“ž Contact

If you need any sort of support, please send an email to apidojo10@gmail.com. You name it, we get it.


Ready to start extracting Instagram comment data? With transparent event-based pricing, high-speed performance (100โ€“200 comments/sec), smart duplicate handling, and generous free quotas, this Instagram comments scraper is the perfect tool for sentiment analysis, brand monitoring, and social listening. Start extracting today! ๐Ÿ’ฌ