Instagram Scraper - Posts, Profiles, Reels, Comments & Hashtags
Pricing
from $0.26 / 1,000 posts
Instagram Scraper - Posts, Profiles, Reels, Comments & Hashtags
Instagram scraper for any mix of usernames, profile and post links, hashtags and keywords: posts and reels (caption, likes, comments, plays, date, location, media URLs), comments, and profiles (followers, bio, links, latest posts). No login, no cookies. API, JSON, CSV, Excel. $0.32 per 1,000 posts.
Pricing
from $0.26 / 1,000 posts
Rating
0.0
(0)
Developer
Social Scrapers
Maintained by CommunityActor stats
0
Bookmarked
39
Total users
14
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Instagram Scraper gets public Instagram data from any mix of usernames, profile links, post and reel links, hashtags and keywords, with no Instagram account, login or cookies. Choose what to get: posts and reels (caption, hashtags, likes, comments count, plays, date, location, sound, image and video URLs), comments, or profiles (followers, bio, links, verified badge, latest posts), as JSON, CSV or Excel. It costs $0.32 per 1,000 posts.
💡 Need a feature that isn't here? Just ask. Open an issue on the Issues tab and tell us what you need: a new field, filter, input type or output format. We build requested features fast, usually within 24 hours, at no extra cost.
⭐ Found it useful? A short review on the Reviews tab helps other people find this scraper, and tells us what to build next.
What does Instagram Scraper do?
Instagram Scraper reads what Instagram shows a visitor who is not logged in, from one list that takes anything you paste:
- 👤 Profiles: their latest posts or reels, their comments, or the profile itself with followers, following, posts count, bio, bio links, account type and 12 latest posts.
- 📸 Posts and reels by link: full details of each one, or all of its comments.
- #️⃣ Hashtags and keywords: the top posts Instagram shows for them, their comments, or the creators behind them (influencer discovery).
- 🔗 Messy lists:
@handles, profile links with tabs and tracking parameters, share links from the app,Name (@handle), Threads links, hashtag links from other sites. Duplicates are read once. - 🗓️ Date filter and pinned posts: keep only posts newer than a date or an age such as
30 days, and leave out pinned posts. - 💸 Pay only for results: private profiles, deleted posts and entries with nothing public cost nothing.
Everything the Apify platform gives you comes with it: the Apify API, scheduled runs, webhooks, integrations with Make, Zapier, n8n and Google Sheets, and datasets you can download in any format.
What can you scrape from Instagram?
One list of entries, and one choice of What to get (resultsType):
| Entry | Posts / Reels | Comments | Details | Profiles |
|---|---|---|---|---|
Profile (natgeo, @natgeo, profile link) | its latest posts (or reels) | comments of its latest posts | the profile, with its 12 latest posts | the profile, with its 12 latest posts |
| Post or reel link | the post | its comments | the post | its owner's profile |
Hashtag or keyword (#sourdough, running shoes) | its top posts | comments of its top posts | its top posts | the creators of its top posts |
A single bare word is read as a username: write a hashtag with #, a keyword as two or more words, or put them in Search hashtags or keywords.
What data do you get?
Each result is one dataset item: a post, a comment or a profile. Every field is always present (null when Instagram doesn't show it), so CSV and Excel exports line up.
Posts and reels: inputUrl, id, type (Image, Video, Sidecar), productType, shortCode, url, caption, hashtags, mentions, likesCount, commentsCount, videoPlayCount, videoDuration, timestamp, displayUrl, images, videoUrl, dimensionsHeight, dimensionsWidth, alt, childPosts (carousel slides), ownerId, ownerUsername, ownerFullName, isPinned, taggedUsers, coauthorProducers, paidPartnership, isCommentsDisabled, locationName, locationId, sponsors, musicInfo, searchTerm, scrapedAt. Instagram no longer shows visitors who are not logged in a post's paid partnership label, brand partners or whether comments are turned off, so paidPartnership, sponsors and isCommentsDisabled are null for posts read one by one (links, reels, comments, hashtag results with details).
Comments: postUrl, commentUrl, id, text, ownerUsername, ownerId, ownerIsVerified, ownerProfilePicUrl, timestamp, likesCount, repliesCount, and the post's postShortCode, postId, postType, postOwnerUsername, postOwnerId, postCaption, postTimestamp, postLikesCount, postCommentsCount, plus inputUrl and scrapedAt.
Profiles: inputUrl, id, username, url, fullName, biography, externalUrl, externalUrls, followersCount, followsCount, postsCount, highlightReelCount, hasReels, private, verified, isBusinessAccount, accountType (business, creator or personal), profilePicUrl, profilePicUrlHD, fbid, pronouns, latestPosts (12 posts, with the post fields above), searchTerm, scrapedAt.
The dataset has a view for each kind: Posts, Comments and Profiles.
How to scrape Instagram
- Open Instagram Scraper and click Try for free.
- Paste usernames, links, hashtags or keywords into Instagram usernames, links, hashtags or keywords, one per line, in any mix.
- Choose What to get: Posts, Reels, Comments, Details or Profiles.
- Set Max results per entry: posts per profile or hashtag, comments per post, or creators per hashtag (
0for no limit). - Optionally set Only posts newer than, or Skip pinned posts.
- Click Start, then download the results as JSON, CSV, Excel or HTML, or read them with the Apify API.
How much does it cost to scrape Instagram?
You pay per result saved, platform usage and proxies included:
| Result | Price per 1,000 | Silver | Gold and up |
|---|---|---|---|
| Post or reel | $0.32 | $0.288 | $0.256 |
| Profile (with its 12 latest posts) | $2.46 | $2.214 | $1.968 |
| Comment | $0.47 | $0.423 | $0.376 |
Plus Apify's start charge of $0.0005 per run. Some examples:
- the latest 20 posts of 50 profiles (1,000 posts) → $0.32
- the top 100 posts of 10 hashtags (1,000 posts) → $0.32
- 1,000 profiles with their latest posts → $2.46
- 5,000 comments → $2.35
Private profiles, deleted posts and entries Instagram shows nothing for are free. To cap the cost of a run, set Maximum cost per run in the run options: the scraper saves results until the next one would go over it, then stops cleanly. Apify's free plan includes monthly platform credit, enough to try the scraper on thousands of posts.
Input example
{"directUrls": ["https://www.instagram.com/natgeo/", "https://www.instagram.com/p/DfahZrMjAqq/", "#sourdough"],"resultsType": "posts","resultsLimit": 20,"onlyPostsNewerThan": "30 days"}
| Field | Type | Description |
|---|---|---|
directUrls | array of strings | Usernames, profile links, post and reel links, share links, hashtags and keywords, in any mix. { "url": "…" } objects work too. A single bare word is a username. |
resultsType | string | posts, reels, comments, details or profiles. Default: posts. |
resultsLimit | integer | Posts or reels per profile or hashtag, comments per post, or creators per hashtag. 0 for no limit. Default: 20. |
commentsPostsLimit | integer | With comments: how many of a profile's latest posts (or a hashtag's top posts) to read comments from. Post links are always read. 0 for every post. Default: 5. |
onlyPostsNewerThan | string | Leave out older posts of profiles and hashtags: a date (2026-01-31, 31/01/2026, Jan 31 2026), a date-time (2026-01-31T18:00:00Z) or an age (7 days, 2w, 3 months). Optional. |
skipPinnedPosts | boolean | With posts: leave out the posts a profile pinned to the top of its grid. Default: false. |
search | string | Hashtags or keywords, separated by commas (sourdough, running shoes). A single word here is a hashtag, never a username. |
proxyConfiguration | object | The scraper picks Apify Proxy's tier itself: datacenter first, residential only when Instagram refuses a request. Your own proxy URLs are used as given. |
Output example
A post (shortened; image and video URLs abbreviated):
{"inputUrl": "https://www.instagram.com/p/DfahZrMjAqq/","id": "4024676116912147114","type": "Image","productType": "feed","shortCode": "DfahZrMjAqq","url": "https://www.instagram.com/p/DfahZrMjAqq/","caption": "Galaxy in bloom\n\nData from our Hubble, Chandra, and Spitzer telescopes…","hashtags": ["NASA", "Galaxy", "Flower"],"likesCount": 236506,"commentsCount": 783,"videoPlayCount": null,"timestamp": "2026-11-06T21:00:08.000Z","displayUrl": "https://instagram.fxyz1-1.fna.fbcdn.net/v/…","ownerUsername": "nasa","ownerFullName": "NASA","isPinned": null,"paidPartnership": null,"locationName": null,"musicInfo": null,"searchTerm": null,"scrapedAt": "2026-11-13T13:58:31.567Z"}
A comment (resultsType: "comments", shortened):
{"postUrl": "https://www.instagram.com/p/DfahZrMjAqq/","commentUrl": "https://www.instagram.com/p/DfahZrMjAqq/c/17940797343122260/","id": "17940797343122260","text": "Beautiful image. Thanks for sharing!","ownerUsername": "example_commenter","timestamp": "2026-11-13T13:52:58.000Z","likesCount": 0,"repliesCount": 0,"postOwnerUsername": "nasa","postLikesCount": 236508,"inputUrl": "https://www.instagram.com/p/DfahZrMjAqq/"}
A profile (resultsType: "profiles", shortened; latestPosts holds 12 posts with the post fields):
{"inputUrl": "https://www.instagram.com/p/DfahZrMjAqq/","id": "528817151","username": "nasa","url": "https://www.instagram.com/nasa/","fullName": "NASA","biography": "Making the seemingly impossible, possible. ✨","externalUrl": "https://www.nasa.gov","followersCount": 104336521,"followsCount": 91,"postsCount": 5009,"highlightReelCount": 6,"private": false,"verified": true,"isBusinessAccount": true,"accountType": "business","latestPosts": [{ "shortCode": "Dfc1mYxFevS", "type": "Video", "likesCount": 89922, "videoPlayCount": 3718030, "isPinned": true }],"searchTerm": null}
Switching from another Instagram scraper
The input and output use the long-standing Instagram scraper conventions on the Apify Store, so most pipelines work unchanged:
- Input:
directUrls,resultsType(posts,reels,comments,details),resultsLimit,onlyPostsNewerThan,skipPinnedPostsandsearchmean what you expect.startUrls,usernames,postUrlsandhashtagsare read as entries too. - Output:
shortCode,url,caption,hashtags,mentions,likesCount,commentsCount,videoPlayCount,timestamp,displayUrl,images,videoUrl,childPosts,ownerUsername,ownerFullName,isPinned,paidPartnership,musicInfo(artist_name,song_name),locationName,latestPosts,followersCount,private,verified,commentUrland more keep their usual names. - Different: profiles, post links and hashtags can be mixed in one run, and every run needs no login.
Use it via API, Python, JavaScript and integrations
Run Instagram Scraper from your own code with the Apify API or the Apify clients:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("socialscrapers/instagram-scraper").call(run_input={"directUrls": ["natgeo", "#sourdough"], "resultsType": "posts", "resultsLimit": 20})for post in client.dataset(run["defaultDatasetId"]).iterate_items():print(post["ownerUsername"], post["likesCount"], post["url"])
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('socialscrapers/instagram-scraper').call({ directUrls: ['natgeo'], resultsType: 'details' });const { items } = await client.dataset(run.defaultDatasetId).listItems();
You can also schedule runs (for example every morning to collect new posts of a list of accounts), get a webhook when a run finishes, send results to Google Sheets, Slack or a database with Apify integrations, connect it to Make, Zapier or n8n, or let AI agents run it through the Apify MCP server: it needs no login, so an agent can call it on its own.
Limits
- Public data only. Instagram Scraper never logs in, so it sees what a logged-out visitor sees. Private profiles, and posts deleted or hidden from logged-out visitors, are skipped and cost nothing.
- Shown to logged-in users only, so not included: stories, follower and following lists, posts a profile is tagged in, place and sound pages, comment replies, and the "recent" tab of a hashtag. Hashtags give the top posts Instagram shows logged-out visitors (usually 50 to 100 per hashtag or keyword); some very broad single words have no such page, while a more specific keyword (
fitness workoutrather thanfitness) usually does. - Location and sound are filled for posts read one by one (post links, reels, hashtag posts). A profile's latest posts are read many at a time, which is faster and cheaper, and those pages carry no location or sound.
- Play counts of reels are shown for a profile's recent posts; a post read by its link gets its play count when it is among its owner's recent posts.
- A run with 0 results still succeeds, and no results are charged. When every entry is private, missing or empty, the run ends as Succeeded with a status message naming each one and why. When no entry is usable at all, the run ends at once with a status message that starts "Nothing to scrape:" and says how to fix the input. A run fails only when Instagram refuses the scraper itself (every one of 3 or more entries, and a profile that is always public too), or on an internal error.
FAQ
Is it legal to scrape Instagram? Instagram Scraper collects only public data that anyone can see without logging in. You are responsible for using the data lawfully: usernames, bios and comments can be personal data protected by laws such as the GDPR and the CCPA, so have a legitimate reason to collect it, and follow Instagram's terms and the laws that apply to you.
Do I need an Instagram account or cookies? No. The scraper never logs in, so no account of yours is ever at risk.
Can I mix profiles, posts and hashtags in one run? Yes. Put them all in the one list: each entry gives what What to get asks for, as in the table above.
How do I get the profiles of the people posting about a topic? Add the hashtag or keyword and choose Profiles: you get the creators of its top posts, each with followers, bio, links and latest posts. Max results per entry sets how many creators per hashtag.
Why did I get fewer results than I asked for?
The profile has fewer posts, the date filter left the rest out, Instagram shows fewer top posts for that hashtag, a post has fewer comments shown to logged-out visitors, or the run reached its maximum cost. The run log says which, for each entry, and the RUN_SUMMARY record in the run's key-value store lists what every entry came to.
Why don't the numbers match what I see on Instagram? The scraper sees the logged-out version of a page, and counts keep changing after the run. Open the post in a private browser window to see what a logged-out visitor sees.
Can I get only new posts?
Yes. Set Only posts newer than to a date or an age such as 7 days, and schedule the run to repeat.
Other scrapers by Social Scrapers
| Scraper | What it gets |
|---|---|
| TikTok API | Profiles, Videos and Comments |
| TikTok Comments Scraper | Comments, Replies and Likes |
| TikTok Hashtag Scraper | Top Videos, Views and Likes |
| TikTok Profile Scraper | Followers, Bio, Stats and Videos |
| TikTok Scraper | Videos, Profiles, Hashtags and Comments |
| TikTok Sound Scraper | Videos Using a Sound and Music Info |
| TikTok Video Scraper | Views, Likes, Captions and Comments |
| Instagram API | Profiles, Posts, Reels, Comments and Hashtags |
| Instagram Comments Scraper | Comments, Likes and Reply Counts |
| Instagram Hashtag Scraper | Reels and Keyword Search |
| Instagram Post Details Scraper | Likes, Comments, Views and Media |
| Instagram Post Scraper | Posts, Reels and Comments |
| Instagram Profile Scraper | Followers, Bio, Posts and Reels |
| Instagram Reels Scraper | Reels, Plays, Likes and Comments |
| Instagram Reels Transcript Scraper | Speech to Text and Captions |
| YouTube API | Videos, Transcripts, Search, Channels and Comments |
| YouTube Channel Scraper | Videos, Shorts, Subscribers and About |
| YouTube Comments Scraper | Comments, Replies and Likes |
| YouTube Scraper | Videos, Shorts, Channels and Comments |
| YouTube Search Scraper | Videos, Channels, Views and Filters |
| YouTube Shorts Scraper | Shorts, Views, Likes and Search |
| YouTube Transcript Scraper | Subtitles, Captions and SRT |
| YouTube Video Details Scraper | Stats, Subtitles and Comments |
| Facebook Ads Library Scraper | Meta Ad Library and Spend |
| Facebook Comments Scraper | Posts, Reels, Videos and Replies |
| Facebook Groups Scraper | Public Group Posts and Reactions |
| Facebook Marketplace Scraper | Prices, Locations and Sellers |
| Facebook Page Contact Info Scraper | Email, Phone and WhatsApp |
| Facebook Posts Scraper | Pages, Profiles and Timelines |
| Facebook Pages Scraper | Profiles, Contact Info and Reviews |
| Facebook Reels Scraper | Reels, Videos, Plays and Captions |
| X (Twitter) Profile Scraper | Followers, Bio and Tweets |
| X (Twitter) Tweet Scraper | Latest Posts by Profile |
| Threads Profile Scraper | Followers, Bio, Links and Posts |
| Threads Replies Scraper | Comments, Authors, Likes and Media |
| Threads Scraper | Posts, Profiles, Replies and Search |
| Threads Search Scraper | Keywords, Hashtags, Top and Recent Posts |
| Reddit Comments Scraper | Threads, Replies, Votes and Authors |
| Reddit Scraper | Posts, Comments, Subreddits, Users and Search |
| Reddit Search Scraper | Posts by Keyword, Subreddit and Date |
| Reddit User Scraper | Profiles, Karma, Posts and Comments |
| Subreddit Scraper | Hot, New and Top Posts with Comments |
| Quora Scraper | Answers, Questions, Profiles and Topic Search |
| LinkedIn Ad Library Scraper | Ads, Advertisers and Impressions |
| LinkedIn Job Search Scraper | Filters, Salaries and New Jobs |
| LinkedIn Jobs Scraper | Job Listings, Salaries and Companies |
| Google Maps Email Extractor | Emails, Phones and Social Links |
| Google Maps Scraper | Places, Phones, Websites, Ratings and Hours |
| Google News Scraper | Headlines, Articles and Search |
| Google Ads Transparency Scraper | Ad Creatives and Advertisers |
| Amazon Product Scraper | Search Results, Prices, Ratings, ASINs |
| Indeed Jobs Scraper | Salaries, Full Descriptions, Company Data |
| Contact Details Scraper | Emails, Phones and Social Links |
| Telegram Channel Scraper | Posts, Views and Media |
| Doximity Scraper | Physician Profiles and Doctor Directory |
| KevinMD Scraper | Physician Articles and Author Specialties |
| Op-Med Scraper | Physician Essays and Doctor Profiles |
| Career Site Jobs Scraper | Greenhouse, Lever, Ashby and Workday |
| Google Trends Scraper | Interest Over Time, Regions and Queries |