What is Instagram Scraper?
Instagram Scraper reads public Instagram pages for you and returns one record per post. Point it at a profile such as instagram.com/nasa, a hashtag or a place, or give it a search word, and you get each post's caption, engagement numbers, media links and the accounts it tags.
It needs no Instagram login and no Meta developer app. You decide what to collect from each page: posts, reels, comments, mentions or the page details, and how far back to go.
You ask
Get the last 12 posts from NASA's Instagram with likes, comments and reel plays.
It runs
From your AI assistant over MCP or from your code over REST
You get
- Post
- Engagement
- Accounts
- Text signals
- Media
- Benchmark brand accountsPull the last month of posts from your brand and three competitors and compare likes, comments and reel plays by format.
- Vet creators before a dealCheck how often a creator posts, how their reels perform and whether they already run paid partnerships.
- Track a campaign hashtagCollect the posts under a launch tag and see who joined, when, and with which caption.
- Build a content swipe fileSave the captions, hashtags and media links of the best posts in your niche for the next creative brief.
- Hand posts to your agentLet Claude or ChatGPT collect the posts, then sort, chart or summarize them in the same chat.
What data does the Instagram scraper extract?
Each post comes back as one record. These are the fields our test run returned. Reel fields appear on video posts only, and carousel fields on posts with several images.
Post
- Post ID and shortcode
- Post URL
- Type: photo, carousel or reel
- Caption
- Publish date and time
- Pinned flag
- Image alt text
Engagement
- Likes
- Comment count
- Reel plays
- Comments turned off or on
Accounts
- Owner username and full name
- Owner ID
- Co-authors of collaboration posts
- Tagged accounts
- Paid partnership flag
Text signals
- Hashtags
- Mentions
- First comment
- Up to 10 recent comments with their authors
Media
- Image and video links
- Every item of a carousel
- Width and height
- Reel length
- Audio link and original audio details
A field appears only when the post has it: a photo has no plays, and a post without hashtags returns an empty list. Media links are signed and expire, so save the files you need soon after the run. For every comment on a post, with likes and replies per comment, use Instagram Comment Scraper.
Sample output from NASA's Instagram
The table at the top of this page is a real run on 16 November 2026: the latest posts from instagram.com/nasa, 12 requested and 12 returned. They span 7 to 13 November and include five photo or carousel posts and seven reels. Below the chart is the first post in full, as the tool returned it.
One result in full
Post 1 in full
- Link
- instagram.com/p/DfkkknjD6vm
- Owner
- NASA (@nasa)
- Type
- Carousel, 2 images
- Posted
- 10 Nov 2026, 18:40 UTC
- Caption
- The sounds of Earth have traveled nearly a light-day away. On Sept. 5, 1977, our Voyager 1 spacecraft lifted off with the Golden Record…
- Hashtags
- #NASA #Voyager #GoldenRecord
- Likes
- 579,524
- Comments
- 1,947, with the latest 10 included
- Image size
- 1975 × 1970 px
- Alt text
- Photo by NASA on November 10, 2026. May be an image of text.
- Pinned
- No
- Paid partnership
- No
What these 12 posts tell you
The five photo and carousel posts averaged 286,214 likes. The seven reels averaged 53,428 likes but 4.43 million plays each, so rank reels by plays and photos by likes.
4of 12
4 of 12 posts are collaborations owned by another account, such as Air Force Thunderbirds and NASA Moon Base. They sit on NASA's grid, so check the owner field before you credit a post to the brand.
Posts did not come back in date order: the newest one, from 13 November, came fourth. Sort by publish time before you chart a posting rhythm.
Each post arrived with up to 10 recent comments, 107 in total, which is enough for a quick read of the reaction but not for a full thread.
Scrape Instagram posts from a chat in four steps
Connect AI/ML API
Click Try it now, choose Claude, ChatGPT, Cursor or another MCP client and add the server. You sign in with your AI/ML API account once.
Name the account, tag or place
Paste a profile link, write a hashtag or name a place, and say how many posts you want and from which date.
Read the post table
Your assistant runs the scraper and lists each post with its type, likes, comments, plays and publish date.
Ask the next question
Have it rank reels by plays, compare two brands side by side, or pull every comment on the strongest post.
Prompts to copy
Use the AI/ML API MCP Instagram Scraper tool. Get the last 12 posts from instagram.com/nasa and show type, likes, comments, reel plays and date in a table.
Use the AI/ML API MCP Instagram Scraper tool. Compare the last 20 posts of @patagonia and @thenorthface: average likes for photos versus plays for reels.
Use the AI/ML API MCP Instagram Scraper tool. Collect 30 recent posts tagged #marathontraining and list the other hashtags they use most often.
Use the AI/ML API MCP Instagram Scraper tool. Find the Instagram place page for Central Park and show the 15 latest posts with their captions and likes.
Settings that shape an Instagram scrape
Describe what you want in words and your assistant fills these in. In code you pass them yourself.
| Setting | What it controls | Tip |
|---|---|---|
| Instagram URLs | Profile, post, hashtag or place links to read | A profile link reads exactly one account |
| Search and search type | A word to look up, and whether to find profiles, hashtags or places | Up to 250 matches per search |
| What to collect | Posts, reels, comments, mentions or the page details | Comments work on post links only |
| Results per link | How many posts or comments to take from each link | Comments stop at 50 per post in this tool |
| Newer than | A date, or a span such as “2 months”, to stop at | Keeps runs short on accounts that post daily |
| Add metadata | Attaches the source profile or hashtag to each feed item | Turn it on when one run mixes several sources |
Collaboration posts appear on every co-author's grid. In our NASA run, 4 of 12 posts belonged to partner accounts, so filter by owner when you report on one brand.
What teams do with Instagram post data
Competitor benchmarks
Pull 30 days of posts from each competitor and compare likes, comments and reel plays by format and weekday.
TypeLikesPlaysDate
Creator vetting
Check posting rhythm, typical engagement and past paid partnerships before you sign an influencer.
DateLikesPaid partnership
Campaign tracking
Follow a launch hashtag and list every post that used it, with owner, caption and engagement.
HashtagsOwnerLikes
Content research
Collect the captions and formats that perform best in your niche and brief your designers and writers with real examples.
CaptionTypeLikes
Partner mapping
See which accounts a brand tags, co-authors with or mentions, and how often each one shows up.
Tagged accountsCo-authorsMentions
Weekly reports
Run the same list of profiles every Monday from your backend and chart engagement per post over time.
Post IDLikesCommentsDate
Instagram scraper API for your code
In your code
REST · your AI/ML API key, JSON records back
The same scraper runs over REST with your AI/ML API key. Send profile or hashtag links with the number of posts and a start date, and you get JSON records with the fields above, ready for a spreadsheet or a dashboard.
Use MCP when a person explores accounts in a chat and REST when a job collects posts on a schedule. Both draw on one AI/ML API balance, and neither needs a Meta app review or an Instagram login. Start with the Toolbox REST quickstart.
Other ways to get Instagram post data
You can collect the same posts several ways. The right one depends on whose accounts you study and how often you need fresh numbers.
| Copy posts by hand | Instagram API from Meta | Your own scraper | ||
|---|---|---|---|---|
| Setup | Connect once with your AI/ML API account | None | Meta developer app, business or creator account, app review | Headless browser, proxies, fixes each time the pages change |
| Inside an AI chat | Yes. Over MCP | No. No | Only if you build it | Only if you build it |
| Best for | Any public profile, hashtag or place, from chat or code | A few posts for one slide | Accounts you own or manage | Teams with engineers to maintain it |
Pricing
Pay as you goBilled per run from your AI/ML API balance
- No subscription
- No seat fee
- One balance for every tool
Each scrape is billed per run from your AI/ML API balance, with no subscription or seat fee. The price grows with the number of posts you collect. Our 12-post test run on the NASA profile cost about one cent. Check the current price in your dashboard before you scrape hundreds of posts.
FAQ
Is it legal to scrape Instagram?
The tool reads public posts and never logs in. Teams use public posts for market and creator research, but Instagram's terms apply to the service, and privacy laws such as GDPR apply when you store personal data or contact people. Ask a lawyer about your specific case.
How many posts can I get from one profile?
Set the number of results per link. Start with 12 to 30 to check the data, then raise it. Use the newer-than date to stop at a point in time instead of walking an account's whole history.
Can the Instagram scraper collect comments?
Yes. Give it a post link and choose comments, up to 50 per post. For longer threads with likes and replies per comment, use Instagram Comment Scraper, which pages through every comment.
Does it work on private accounts?
No. It sees what a logged-out visitor sees: public profiles, hashtags, places and their posts.
How is this different from the Instagram API from Meta?
Meta's API is built for managing accounts you own. It needs a developer app, a business or creator account and app review. Instagram Scraper reads the public pages of any account, runs on your AI/ML API balance and works inside AI assistants over MCP.
Can I use it from Claude, ChatGPT or Cursor?
Yes. Add the AI/ML API MCP server once with the MCP quickstart and ask in plain English. Hermes, OpenClaw and other MCP clients work the same way.
Can I export the posts to CSV or Google Sheets?
Ask your assistant to return the table as CSV, or write the JSON from the REST response to a file or a sheet in your code. Download images and videos soon after the run, because their links expire.
How fresh are likes and plays?
Each run reads Instagram at that moment. Likes, comments and plays keep growing for days after a post goes live, so compare posts of similar age or run the scrape again later.
Scrape your first Instagram profile
Connect once, paste a profile link and get the post table in your chat.