Comments on a profile's latest posts
Comments from the 3 latest posts of a profile link.
Updated October 26, 2026
What this example returns
This example returns up to 5 results.
The dataset’s “Profiles” view shows 9 columns: Username, Full name, Followers, Following, Posts, Verified, Private, URL, and Input URL. See every output field.
What each setting does
The input this example runs Instagram Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- Content to scrape
resultsType Comments
One results type per run. Posts returns a feed. Details returns the metadata object for the URL. Comments works with post and reel URLs, and with profile, hashtag, place or audio URLs: those return the comments of their latest posts (see Posts to read comments from). Stories is accepted but hidden in the console.
Default: Posts → this example uses Comments
- Instagram URLs based on content type
directUrls https://www.instagram.com/natgeo/
Instagram URLs: profiles, posts, reels, hashtags (explore/tags), places (explore/locations) or audio pages. When this list is not empty, search is ignored.
- Results limit per URL
resultsLimit 5
How many posts, reels, comments, or mentions to return per URL. In Comments mode the limit is per post: a profile, hashtag, place or audio URL returns up to this many comments from each of its latest posts.
Default: 20 → this example uses 5
- Posts to read comments from
commentsPostsLimit 3
Comments mode with a profile, hashtag, place or audio URL: read the comments of this many of its latest posts (newest first, after the date filter and Skip pinned posts). Results limit per URL then applies to each post. Post and reel URLs ignore this field.
Default: 10 → this example uses 3
{
"resultsType": "comments",
"directUrls": [
"https://www.instagram.com/natgeo/"
],
"commentsPostsLimit": 3,
"resultsLimit": 5
}What it costs
About $0.013 for 5 results
An estimate: 5 × $0.0026 per result (One saved Instagram result: a post, reel, comment, profile, hashtag or place). A run is charged for the events it reports, so one that finds fewer results costs less. Platform usage is included in the event price.
Other ways to run Instagram Scraper
- 2 profile details, 2 resultsProfile details for Instagram profile links.
- Comments on a post, 10 commentsComments from an Instagram post link.
- Nat Geo reels, 5 reelsReels from a profile link.
- Travel hashtag posts, 5 postsPosts found through a hashtag search.
About Instagram Scraper
Scrape public Instagram profiles, posts, reels, comments, mentions, stories, hashtags, and places. Get captions, likes, comments, media URLs, and owner details without logging in.
- Price:
- from $2.05 / 1,000 results
- Developer:
- Echofield
- Categories:
- Social media, Lead generation
Related actors
Latest articles
AI agentsInstagram MCP: Give Claude, ChatGPT and Cursor Instagram Data Without a Login
An Instagram MCP server lets your AI agent read public profiles, posts and reels right in the chat. Connect Scrape.ly's hosted server to Claude, ChatGPT or Cursor in a minute, with no Instagram login or Business account, and see real prompts, tool calls, output and costs.
Read the article
ComparisonsThe 9 Best Web Scraping Tools in 2026, Compared
The 9 best web scraping tools for 2026 across platforms, scraping APIs, no-code builders, open-source libraries and AI crawlers, each with a narrow 'best for', today's prices, and a comparison table. Scrape.ly is our pick.
Read the article
GuidesWhat Is Web Scraping? How It Works and What It Is Used For
What is web scraping? The automated collection of data from websites into structured records. See how it works step by step with tested Python code, what teams use it for, how it differs from crawling, APIs and screen scraping, and how to do it without code.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.