Instagram Scraper

Instagram Scraper turns a public profile, hashtag or place into a table of posts with captions, likes, comment counts, reel plays, hashtags, tagged accounts and publish dates. Ask your AI assistant in plain English or call the same Instagram scraper from your code.

  • 30+ fields per post
  • Tested
  • REST API + MCP
  • Billed per run

1Your request

Use the AI/ML API MCP Instagram Scraper tool. Get the last 12 posts from NASA's Instagram with likes, comments and reel plays.

Profile
instagram.com/nasa
Collect
Posts
Posts
12

2Result12 posts · 16 Nov 2026

#Post, owner and dateTypeLikesCommentsReel plays
1The sounds of Earth have traveled nearly a light-day away.@nasa · 10 Nov 2026Carousel579,5241,947photo post
2Tethys and Dione showed up for the group photo!@nasa · 9 Nov 2026Photo290,903752photo post
4Before dawn breaks…@nasa · 13 Nov 2026Photo274,8901,486photo post
5Two astronauts and two Thunderbirds walk into an air show 🚀✈️@afthunderbirds with @nasa +1 · 8 Nov 2026Reel18,3651622,729,536
6The Moon Base delivery network is growing. 📦🌕@nasamoonbase with @nasajohnson +3 · 7 Nov 2026Reel81,7431,0993,870,211
8Spacewalk or moonwalk? 🌝@nasa · 12 Nov 2026Reel112,0991,4267,961,255
12How’s that for a starburst?@nasa · 11 Nov 2026Photo201,389516photo post
Source: Real result from 16 Nov 2026, 7 of 12 posts shown. Plays apply to reels only. Captions are cut to their first line here; the tool returns them in full.

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

Instagram Scraper

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

    1. Post ID and shortcode
    2. Post URL
    3. Type: photo, carousel or reel
    4. Caption
    5. Publish date and time
    6. Pinned flag
    7. Image alt text
  • Engagement

    1. Likes
    2. Comment count
    3. Reel plays
    4. Comments turned off or on
  • Accounts

    1. Owner username and full name
    2. Owner ID
    3. Co-authors of collaboration posts
    4. Tagged accounts
    5. Paid partnership flag
  • Text signals

    1. Hashtags
    2. Mentions
    3. First comment
    4. Up to 10 recent comments with their authors
  • Media

    1. Image and video links
    2. Every item of a carousel
    3. Width and height
    4. Reel length
    5. 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.

Likes in this run, highest first
  1. The sounds of Earth have traveled nearly a light-day away.579.5K
  2. Tethys and Dione showed up for the group photo!290.9K
  3. Before dawn breaks…274.9K
  4. How’s that for a starburst?201.4K
  5. Spacewalk or moonwalk? 🌝112.1K
  6. The Moon Base delivery network is growing. 📦🌕81.7K
  7. Two astronauts and two Thunderbirds walk into an air show 🚀✈️18.4K

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
The caption is cut here; the tool returns it in full. Commenter names in the latest comments are left off this page.

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

  1. 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.

  2. 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.

  3. Read the post table

    Your assistant runs the scraper and lists each post with its type, likes, comments, plays and publish date.

  4. 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.

SettingWhat it controlsTip
Instagram URLsProfile, post, hashtag or place links to readA profile link reads exactly one account
Search and search typeA word to look up, and whether to find profiles, hashtags or placesUp to 250 matches per search
What to collectPosts, reels, comments, mentions or the page detailsComments work on post links only
Results per linkHow many posts or comments to take from each linkComments stop at 50 per post in this tool
Newer thanA date, or a span such as “2 months”, to stop atKeeps runs short on accounts that post daily
Add metadataAttaches the source profile or hashtag to each feed itemTurn 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 AI assistant

MCP · sign in once with your AI/ML API account

MCP setup guide ↗

In your code

Backend, script or scheduled job

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.

Other ways to get Instagram post data: Instagram Scraper on AI/ML API, Copy posts by hand, Instagram API from Meta, Your own scraper
AI/ML APICopy posts by handInstagram API from MetaYour own scraper
SetupConnect once with your AI/ML API accountNoneMeta developer app, business or creator account, app reviewHeadless browser, proxies, fixes each time the pages change
Inside an AI chatYes. Over MCPNo. NoOnly if you build itOnly if you build it
Best forAny public profile, hashtag or place, from chat or codeA few posts for one slideAccounts you own or manageTeams 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.

See pricing

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.