# How to Scrape Instagram Comments

To scrape Instagram comments, put the post URLs, such as https://www.instagram.com/p/DC7Q4z5JPMX/, or the post codes in apidojo's Instagram Comments Scraper API on Apify and set maxItems.

[![apidojo](/blog/authors/apidojo.png)**Apidojo** *15+ years of experience in data retrieval.*](/blog/authors/apidojo/)

**16 October 2026** Published

**3 min** Read

![Cover card reading 'How to Scrape Instagram Comments'](/blog/covers/instagram-scrape-comments.png)

**To scrape Instagram comments, put the post URLs, such as `https://www.instagram.com/p/DC7Q4z5JPMX/`, or the post codes in apidojo’s [Instagram Comments Scraper API](https://apify.com/apidojo/instagram-comments-scraper-api) on Apify and set `maxItems`.** It charges $0.0075 per post, with the first 15 comments of each post included, and needs no Instagram login. apidojo’s pay-per-result [Instagram Comments Scraper](https://apify.com/apidojo/instagram-comments-scraper) is the alternative, at $0.50 per 1,000 comments. Every other collection task is mapped in [how to scrape Instagram data](/blog/instagram-scraping/how-to-scrape-instagram/).

Comments are the richest text on Instagram: questions, complaints, praise and spam all live there. This guide covers inputs, the fields you get, costs, and what to do with the data. The full overview is in [how to scrape Instagram data in 2026](/blog/instagram-scraping/how-to-scrape-instagram/). Long threads run into the limits covered in [Instagram scraping limits](/blog/instagram-scraping/limits/).

## Which apidojo Comments Actor Should You Use?

**Use the Comments Scraper API for most posts, because its per-post price includes the first 15 comments; use the pay-per-result Comments Scraper for very large comment threads priced per comment.** The table compares them, using each listing (Apify, Apify).

| Point | Instagram Comments Scraper API | Instagram Comments Scraper |
| --- | --- | --- |
| Input | startUrls (post URLs) or postIds | startUrls (post URLs only) or postIds |
| Pricing | $0.0075 per post, first 15 comments included | $0.50 per 1,000 comments |
| Minimum | None stated | At least 10 comments per post |
| Cap | maxItems | maxItems |

## How Do You Scrape Comments From an Instagram Post?

**List the post URLs, or the codes from them, and set a total cap.** The post code is the part after `/p/` in the URL; for `https://www.instagram.com/p/DC7Q4z5JPMX/` it’s `DC7Q4z5JPMX`.

```
{
  "startUrls": ["https://www.instagram.com/p/DC7Q4z5JPMX/"],
  "postIds": ["DCKDRSpiy3b"],
  "maxItems": 1000
}
```

This is the input format apidojo’s listing shows for the Comments Scraper API (Apify). Only post URLs work; profile or hashtag URLs aren’t accepted. To find the posts worth scraping, collect a profile’s or hashtag’s posts first and sort by `commentCount`; see [how to scrape Instagram profiles and posts](/blog/instagram-scraping/scrape-profiles/). For TikTok threads, see [how to scrape TikTok comments and replies](/blog/tiktok-scraping/scrape-comments/).

## What Data Does a Scraped Comment Contain?

**Each comment comes with its text, time, likes, reply count and the commenter’s public profile.** The fields below are from apidojo’s Instagram Comments Scraper output example (Apify).

| Field | Contains |
| --- | --- |
| postId | The post the comment belongs to |
| id, type | The comment’s ID and type |
| message | The comment text |
| createdAt | When it was posted |
| likeCount, replyCount | Likes on the comment and number of replies |
| user | username, fullName, isVerified, isPrivate |
| isRanked | Whether Instagram ranked the comment |

## What Does Scraping Instagram Comments Cost?

**On the Comments Scraper API, 100 posts cost $0.75 when each has up to 15 comments; on the pay-per-result Comments Scraper, 100,000 comments cost $50.** For many posts with few comments each, the per-post price is cheaper; for a few posts with huge threads, per-comment pricing usually is.

## What Can You Do With Instagram Comments?

**Comments show what an audience thinks, asks and complains about.** Listed below are the 4 common uses.

-   **Sentiment analysis** of a campaign or product; see [how to analyse Instagram comment sentiment](/blog/instagram-scraping/comment-sentiment/).
-   **Influencer vetting**, by checking for generic or repeated comments; see [how to vet Instagram influencers with data](/blog/instagram-scraping/vet-influencers/).
-   **FAQ and content ideas** from repeated questions.
-   **Customer service** follow-ups on public complaints.

## The scrapers behind this

-   [Instagram Comments Scraper API Comments and replies with user data; 15 comments free per post $0.0075 / post + $0.50 / 1K](/scrapers/instagram-comments-scraper-api/)

## Questions people ask

### Can you scrape comments from private accounts?

No, private accounts' posts aren't public, so their comments can't be collected.

### Can you scrape comments on reels?

Post URLs and post IDs are the documented inputs; test a reel's code in `postIds` on a small run before scaling up.

### Do you need an Instagram login?

No, apidojo's comment actors don't need one.

### Where do you start?

At [how to scrape Instagram data in 2026](/blog/instagram-scraping/how-to-scrape-instagram/).

## More on scraping Instagram data

-   [How to Scrape Instagram Data in 2026 What Instagram data you can scrape, the 3 ways to collect it, which apidojo actor fits each task, limits, costs and Python code.](/blog/instagram-scraping/how-to-scrape-instagram/)
-   [How to Scrape Instagram Profiles and Posts Scrape any public Instagram profile's posts and profile details with apidojo's actors, with fields, reels and tagged URLs, and costs.](/blog/instagram-scraping/scrape-profiles/)
-   [How to Scrape Instagram Posts by Hashtag or Keyword Scrape Instagram hashtag posts and reels or keyword searches, compare apidojo's two actors, and see real costs per 1,000 posts.](/blog/instagram-scraping/scrape-hashtags/)
-   [How to Scrape Instagram Followers and Following Export public Instagram follower and following lists, with the inputs, fields, verified-account limit and real costs per user.](/blog/instagram-scraping/scrape-followers/)
-   [How to Scrape Instagram Location Data Scrape posts tagged at Instagram locations with apidojo's actors, with inputs, location fields, costs, uses and limits.](/blog/instagram-scraping/scrape-locations/)
-   [How to Scrape Instagram Reels and Audio Scrape a creator's reels, every reel using a sound, or a hashtag's reels, with play counts, durations, costs and uses.](/blog/instagram-scraping/scrape-reels-audio/)
-   [How to Collect Instagram Data With Python A Python script that collects Instagram posts, comments and author profiles with apidojo's actors, then cleans and saves them.](/blog/instagram-scraping/instagram-python/)
-   [Instagram Scraping Limits: Pagination and Blocks The documented limits of apidojo's Instagram actors, how pagination works, what gets runs blocked, and fixes for missing results.](/blog/instagram-scraping/limits/)
-   [Instagram profiles: search or handle lookup? A keyword search costs $0.02 and brings forty profiles. A handle lookup costs $0.01 and brings one. The right choice depends on what you already know.](/blog/instagram/instagram-keyword-vs-handle/)
-   [Measuring a campaign hashtag inside its own window A hashtag query costs $0.016 and brings sixty items with it. That allowance is per hashtag, which decides how you should slice a campaign.](/blog/instagram/instagram-campaign-hashtag-window/)
-   [What replyCount tells you before you pay Instagram comments are billed per post plus per comment, and reply threads are comments too. The top-level replyCount is your estimate, free.](/blog/instagram/instagram-reply-threads-cost/)

![apidojo](/blog/authors/apidojo.png)

## [Apidojo](/blog/authors/apidojo/)

15+ years of experience in data retrieval.

API Dojo is always ready for you. With 15+ years of experience, data acquisition has never been that easy. Cheapest prices with high availability.

-   🏯 15+ years of experience in data retrieval.
-   💰 Cheapest prices, qualified data.
-   ⚙️ High availability, extreme maintenance.
-   🐉 Hyper communicative, excellent support.

-   [apify.com](https://apify.com/apidojo)
-   [x.com](https://x.com/apidojo_)
-   [github.com](https://github.com/apidojo-io)
