Instagram Scraper ($0.30/1k Posts, Signed-In, No Cookies)
Pricing
from $0.17 / 1,000 posts
Instagram Scraper ($0.30/1k Posts, Signed-In, No Cookies)
Instagram profiles, posts, reels and hashtags, read signed in through our own account by default on paid plans, so big tags and full comments open. You need no login or cookies. Followers, bio, captions, likes, views, comments, dates, media links. New-only mode. From $0.30 per 1,000 posts.
Pricing
from $0.17 / 1,000 posts
Rating
0.0
(0)
Developer
locaihost data
Maintained by CommunityActor stats
0
Bookmarked
25
Total users
13
Monthly active users
8.7 hours
Issues response
4 days ago
Last modified
Categories
Features
Share
Instagram Scraper (Profiles, Posts & Reels, Signed In)
Get public Instagram profiles, posts and reels as JSON, CSV or Excel rows: followers, bio and bio links, captions, hashtags, mentions, likes, views, comment counts, post dates and image or video links. Paste usernames, post links, keywords or hashtags. You can also add the public comments on each post. On paid plans the run signs in with our own Instagram account by default, so it reads deeper than a signed-out visitor can, and you need no login, cookies or account of your own (see below).
What people use it for:
- Influencer and creator research: followers, verified status and the engagement on each creator's latest posts and reels, for a shortlist of handles.
- Competitor tracking: what rival brands post, how often, and which posts and reels get the most likes and views.
- Content and hashtag research: the top public reels Instagram shows for a keyword or hashtag, with views, captions and hashtags.
- Campaign reporting: likes, comments, views and exact posting times for a list of post and reel links, with the latest public comments on each.
- Monitoring on a schedule: turn on Only new posts and pay only for posts published since the last run.
How do I start?
Paste this into the JSON tab of the input and click Start:
{"usernames": ["natgeo"], "maxPostsPerProfile": 12}
You get National Geographic's profile row and its 12 latest posts and reels: 13 rows, usually in under 20 seconds.
More examples:
{"usernames": ["nike", "adidas", "puma"], "maxPostsPerProfile": 50, "postDetails": true}
{"postUrls": ["https://www.instagram.com/p/DfK5HEmGlai/", "https://www.instagram.com/reel/DfAWxdIFmVB/"]}
{"keywords": ["#streetfood", "home workout"], "maxPostsPerKeyword": 48}
{"hashtags": ["streetfood", "#veganrecipes"], "maxPostsPerHashtag": 48}
{"postUrls": ["https://www.instagram.com/reel/DfAWxdIFmVB/"], "includeComments": true, "commentsOnly": true}
Usernames, profile links, post and reel links and /explore/tags/ links can be mixed in any list.
What does it return?
Four kinds of row, set by the type field: profile, post (posts and reels), comment (only when Include comments is on) and unavailable (a free row for a private, missing or unusable entry, saying why).
| Row | Fields |
|---|---|
| Profile | username, fullName, biography, followersCount, followingCount, isVerified, externalUrl, bioLinks (title and link), hasReels, profilePicUrl, id, url |
| Post, every source | shortCode, url, postType (image, video, reel, carousel), ownerUsername, caption, hashtags, mentions, displayUrl, thumbnailUrl, mediaUrls, date, id |
| Post, from a profile | adds likesCount, viewsCount (reels and videos), carouselCount |
| Post, from a keyword or hashtag | adds viewsCount, videoUrl; hashtag rows also carry foundViaHashtag |
| Detailed post | adds takenAt (exact time), commentsCount, likesCount, every photo and video in mediaUrls, videoUrl, taggedUsers, coauthors, location, audio, width, height; displayUrl and mediaUrls at full size, with imageWidth and imageHeight |
| Post owner, place and length | adds ownerId; ownerIsVerified and ownerProfilePicUrl on keyword and detailed posts; ownerFullName on detailed posts; locationId, locationLat and locationLng when a place is tagged and Instagram sends it; videoDurationSeconds in logged-in mode (signed-out pages don't send video length); otherwise null |
| Comment | commentId, postCode, postUrl, text, createdAt, likes, replyCount, parentCommentId, commenterUsername (empty unless Include commenter usernames is on) |
| Every row | type, details (full, grid or keyword; posts only), source, input, scrapedAt |
| Logged-in mode only | access (logged-in or logged-out: how the row was read) on every charged row; profileTab (posts, reels or tagged) on posts read from a profile with your session |
Detailed posts come from each post's own page. Post and reel links always return them; for posts from profiles and keywords, turn on Full post details ($).
Three real rows from runs on 2026-11-01 (shortened: image links cut, long captions trimmed):
[{"type": "profile","username": "nasa","fullName": "NASA","biography": "Making the seemingly impossible, possible. ✨","followersCount": 104414959,"followingCount": 90,"isVerified": true,"externalUrl": "https://www.nasa.gov","bioLinks": [{"title": "NASA.gov Homepage", "url": "https://www.nasa.gov"}, {"title": "MAX POWER", "url": "https://www.nasa.gov/maxpower"}],"hasReels": true,"profilePicUrl": "https://scontent-dfw5-2.cdninstagram.com/v/t51.2885-19/29090...","id": "17841401474538262","url": "https://www.instagram.com/nasa/","input": "nasa","scrapedAt": "2026-11-01T12:04:56.095Z"},{"type": "post","id": "4004634989362489982","shortCode": "DeTUk4sDSp-","url": "https://www.instagram.com/reel/DeTUk4sDSp-/","postType": "reel","ownerUsername": "nasa","caption": "POV: you're watching the Earth set\n\nWe just released hundreds of new images and hours of new audio from our Artemis II mission around the Mo...","hashtags": ["NASA", "ArtemisII", "Artemis"],"mentions": [],"likesCount": 765683,"commentsCount": null,"viewsCount": 11218359,"takenAt": null,"date": "2026-10-10","displayUrl": "https://scontent-dfw5-1.cdninstagram.com/v/t51.82787-15/8421...","details": "grid","source": "nasa"},{"type": "post","id": "4020388264128348382","shortCode": "DfLSdNGhQDe","url": "https://www.instagram.com/reel/DfLSdNGhQDe/","postType": "reel","ownerUsername": "airbnb","caption": "Come for the castle. Stay because nobody wants to be the first to check what’s making that noise.\n\n📍 Airbnb Luxe | The Castle, Norfolk, UK","likesCount": 441,"commentsCount": 23,"viewsCount": 45105,"takenAt": "2026-10-31T23:00:05.000Z","date": "2026-10-31","videoUrl": "https://scontent-ord5-1.cdninstagram.com/o1/v/t2/f2/m86/AQOf...","audio": "Original audio","width": 1080,"height": 1920,"details": "full","source": "airbnb"}]
What does it cost?
You pay per row returned. There is no charge for Apify platform usage on top.
| Row | Free and Starter | Scale | Business |
|---|---|---|---|
| Post (from a profile or keyword) | $0.30 per 1,000 | $0.225 per 1,000 | $0.165 per 1,000 |
| Profile | $0.50 per 1,000 | $0.375 per 1,000 | $0.275 per 1,000 |
| Detailed post (post links, or Full post details on) | $0.50 per 1,000 | $0.375 per 1,000 | $0.275 per 1,000 |
| Comment (Include comments on) | $0.30 per 1,000 | $0.225 per 1,000 | $0.165 per 1,000 |
A detailed post is charged instead of a post, never on top. Plus $0.00005 per run start. Apify's free $5 monthly credit covers about 16,000 posts. Free-plan runs stop at 1,000 rows each; any paid Apify plan removes the cap.
What's free: private accounts, accounts and posts that don't exist, keywords and hashtags with no public page, posts with no public comments (with Comments only) and entries that aren't Instagram usernames or links (each comes back as a free unavailable row saying why), posts and comments skipped by Only new posts, and posts left out by the Filters (date, post type, pinned). A run that returns nothing because of the input costs nothing. To cap a run's spend, set Maximum cost per run in the run options, or Max rows in the input.
Measured runs (build 0.1.17, 2026-11-14, Free and Starter prices):
| Input | Rows | Time | Cost |
|---|---|---|---|
natgeo, 12 posts (the prefill) | 13 | 4 s | $0.004 |
nike and adidas, 24 posts each | 50 | 4 s | $0.015 |
| 2 post and reel links | 2 | 3 s | $0.001 |
Keyword #streetfood, 12 posts | 12 | 3 s | $0.004 |
natgeo and nasa, 500 posts each, 60 s time limit | 746 | 41 s | $0.224 |
What are the limits?
- Public accounts only. The Actor reads what a signed-out visitor can see (or, in logged-in mode, what your own account can see of public accounts). Private accounts return a free row and nothing else; so do accounts Instagram protects as a child's.
- Not in the output, because signed-out visitors can't see it: the exact post count, business category, contact buttons, follower and following lists, stories, replies to comments and any comment past the newest few on each post. Logged-in mode adds replies and full comment threads; follower lists, stories and messages stay out.
- Comments: a post's own page shows signed-out visitors its newest 7 to 12 comments and asks them to sign up for the rest, so that is the most each post gives. Ask for comments on more posts (for example a profile's latest 30) to get more comments. Comments Instagram hides from visitors are left out. Commenter usernames are off by default; with them off, @handles inside the text read
@[user]. - Profile posts come newest first (pinned posts can come first; Skip pinned posts leaves them out), 12 per request, as many as you ask for. Posts a profile collaborated on appear in its list with the other account as
ownerUsername. - Posts from profiles and keywords carry what the list shows. From a profile: likes, views and the posting date, without comment counts or the exact time. From a keyword: views and the owner, without likes. Turn on Full post details ($) to fill those in from each post's own page.
- Keywords and hashtags: a signed-out visitor who opens a hashtag (
/explore/tags/travel/) sees Instagram's public page for the word, which lists top reels for it, not every post with the tag. Most carry the tag; some are close matches (thehashtagsfield shows which). Common words have one; rare ones may not (free row). A few of the biggest one-word hashtags (for example #fitness, #skincare, #food) have no public page either: for those, posts come from Instagram's public pages for related searches, keeping only posts whose caption carries the exact tag, so there may be fewer than you asked for. Instagram decides how far each page goes; when it ends before your limit, the run says so. - Likes and views are
nullwhen the owner hides them, never 0. Plays (viewsCount) exist for reels and videos only. - Image and video links are Instagram's signed links and stop working after a few days. Download what you need soon after the run.
- Email addresses and phone numbers are removed from bios and captions (replaced by
[email removed]and[phone removed]), and WhatsApp, phone and email links are left out ofbioLinks.
What does logged-in mode add (our account or your own)?
On by default on paid Apify plans: the run reads what a signed-in visitor sees, for public accounts only. Turn Deeper data with our account off and leave Instagram session cookie empty (or run on the free plan) and it is the signed-out run.
With our account (paid Apify plans, no cookie needed): leave Deeper data with our account on and the signed-in requests go through our own Instagram account. It's shared by every user, so it's rationed:
- up to 200 signed-in requests per run, within a daily limit for all users together;
- one run at a time. A run that finds it busy, used up for the day (it resets at midnight UTC) or paused reads signed out and says so in its status message;
- if Instagram asks our account to verify itself or slow down, its logged-in reads pause for everyone until we've checked it. Your run still ends successfully, with signed-out rows for the rest.
Prices are the same either way. If you also paste your own session cookie, yours is used instead.
With your own account: paste the sessionid cookie of your own Instagram account. Your own account has no shared daily limit, only the per-run limits below.
What it adds:
- Profiles: the posts grid page after page, up to Posts per profile, plus the reels tab (Include the reels tab) and the posts the account is tagged in (Include tagged posts). Rows carry
profileTab. - Hashtags: the posts Instagram lists for the tag when you're signed in, page after page, including the biggest tags (#fitness, #food) that signed-out visitors can't open. Only posts whose caption carries the exact tag are kept (Instagram's list mixes in related posts). Instagram's website no longer has a separate "most recent" tab, so Hashtag grid reads this same list either way.
- Comments: each post's comments page after page, up to Comments per post (5,000 at most), instead of the 7 to 12 shown signed out. Include commenter usernames works the same way as signed out. Replies: Instagram's website currently sends no replies to signed-in visitors, so each comment carries its reply count (
replyCount) and replies are not listed. - Post links: public posts that Instagram hides from signed-out visitors open with full details.
Rows, events and prices are the same as signed out. Every charged row carries access. Signed-in list pages carry the full post (exact time, comment count, every photo and video), so with Full post details ($) on, those rows are detailed posts without an extra page per post.
What it never reads: follower or following lists (counts only), messages, stories, close-friends content, or private accounts, even ones your account follows. A private account still returns a free row saying so, and posts from private accounts in a tagged tab or hashtag grid are left out. Email addresses and phone numbers are still removed from bios and captions.
How to copy your sessionid: sign in at instagram.com in a desktop browser, open the developer tools (F12), go to Application (Chrome, Edge) or Storage (Firefox), then Cookies, https://www.instagram.com, and copy the value of the cookie named sessionid. Paste just that value. A whole cookie header works too; only sessionid, csrftoken and ds_user_id are kept, the rest is dropped. Signing out of instagram.com ends that session, so copy a fresh value after you sign in again.
Account safety limits:
- One request at a time, at least 2 seconds apart plus a random extra second.
- At most Max logged-in requests per run (600 by default). When they are used up, the rest of the run is read signed out.
- All of a run's signed-in requests go out through one address.
- If Instagram asks the account to verify itself (a checkpoint, a challenge, a sign-in request, "feedback required", or a refused request), the logged-in part stops at once and is never retried in that run. Rows already collected are kept, the rest is read signed out, and the run ends successfully with the message "Instagram asked this account to verify; log in on instagram.com, then run again". Nothing ever tries to pass a challenge for you. If Instagram asks the account to slow down, the run stops the same way and tells you to wait a few hours.
We don't store your cookie. It is a secret input field (encrypted by Apify), kept in memory for that run only, sent only to instagram.com, and removed from every log line, row, run summary and status message.
Your account, your risk. Use only your own account. Instagram's terms limit automated access, and Instagram may ask the account to verify itself or restrict it; that risk is yours. Follow Instagram's terms and the laws that apply to you.
How do I keep only recent posts, some post types or no pinned posts?
All three are off by default, and a run without them is unchanged. They apply to posts from profiles, keywords and hashtags; post and reel links are always returned. A left-out post is never charged, never pushed, and doesn't count toward Posts per profile, Posts per keyword or Posts per hashtag, so asking for 12 reels gets 12 reels where the profile has them.
- Posts newer than: a date (
2026-10-01, midnight UTC) or a period (7 days,2 weeks,3 months). A profile's posts come newest first, so reading a profile stops at its first post older than that, and you don't pay for the pages after it. Pinned posts sit at the top out of date order: an old pinned post is left out but never ends the profile early. Keyword pages and a hashtag's top grid rank posts by popularity rather than date, so older posts there are left out and the list carries on. In logged-in mode the same rules apply to the posts grid, the reels tab and a hashtag's recent grid (newest first); the tagged tab is filtered without stopping. - Post types: any of
reel,video,image,carousel, matching thepostTypefield. Keyword pages list reels only. - Skip pinned posts: leaves out the posts a profile pins to the top of its grid (or of its reels tab, logged in). Signed-out profile lists carry no pinned flag, so pinned posts are recognised by their place: among the first three, a post older than one listed after it is pinned.
When only a few posts match, each list looks through at most 10 times the number you asked for (at least 120 posts) before moving on, and the run's status message says how many were left out and why.
Example: the reels from the last 30 days of two profiles, without pinned posts:
{"usernames": ["natgeo", "nasa"],"maxPostsPerProfile": 50,"postsNewerThan": "30 days","postTypes": ["reel"],"skipPinnedPosts": true}
How do I schedule it and get only new posts?
Turn on Only new posts and schedule the Actor daily or weekly. Each run looks at the same window (for example the latest 12 posts per profile) and returns only the posts in it that earlier runs with the same input haven't returned. Skipped posts cost nothing. The run never digs into older posts to make up the number. With Include comments on, comments work the same way: only comments no earlier run returned, and a post returned before still has its new comments read. Profile rows always come back, so follower counts stay current. Set up a schedule under Schedules in Apify Console.
How do I use it from the API, n8n, Make or an AI agent?
API. Run it and get the rows back in one call:
curl -X POST "https://api.apify.com/v2/acts/locaihost~instagram-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"usernames": ["natgeo", "nasa"], "maxPostsPerProfile": 24}'
Apify's API clients for Python and JavaScript work the same way.
n8n, Make, Zapier, Google Sheets, Slack, webhooks. Apify's built-in integrations send each run's dataset wherever you need it, for example a weekly sheet of competitors' new posts with likes and views.
AI agents (MCP). Add this Actor to Claude, Cursor or any MCP client with https://mcp.apify.com/?tools=locaihost/instagram-scraper, then ask something like "Which of Nike's last 30 Instagram reels got the most views?"
FAQ
How much does it cost to scrape Instagram?
$0.30 per 1,000 posts or comments and $0.50 per 1,000 profiles or detailed posts on the Free and Starter plans, less on Scale and Business. Apify's free $5 monthly credit covers about 16,000 posts.
Can I use it through the API or from Python?
Yes. Use the run-sync-get-dataset-items call above, or Apify's Python and JavaScript clients. Every run's data is also available as JSON, CSV or Excel from its dataset.
Can I use it from an AI agent?
Yes. Through the Apify MCP server (https://mcp.apify.com/?tools=locaihost/instagram-scraper) any MCP client can call it with usernames, links or keywords and read the rows back.
Do I need an Instagram account or cookies?
No. By default the Actor never logs in and never asks for cookies or passwords: it reads only what Instagram shows a signed-out visitor. If you want deeper pages, the optional logged-in mode takes your own sessionid cookie (never a password); see "Logged-in mode (your own account)" above.
Is it legal to scrape Instagram?
By default the Actor collects only public information a signed-out visitor can see, and never logs in; the optional logged-in mode uses your own account and reads public accounts only. Instagram's terms restrict automated collection, so check them against your use. Private accounts are skipped, and email addresses and phone numbers are removed from bios and captions. You are responsible for how you use the results, including Instagram's terms and the data-protection law that applies to you (for example GDPR when you process data about people in the EU).
How do I get full-size, high-resolution images?
Turn on Full post details, or paste post links (they always return full details). Each photo in displayUrl and mediaUrls, every carousel slide included, is then the largest file Instagram serves: 1080 px wide or more, and for many carousel slides the uploaded original (3,000 px or more). imageWidth and imageHeight give the cover image's size. Logged-in mode also returns full-size images. Without full details, profile, keyword and hashtag lists only carry Instagram's small grid image (about 640 px tall), so displayUrl is that image. thumbnailUrl always holds the small image for previews. Image links are signed by Instagram and stop working after a few days, so download the files you want to keep soon after the run.
Why are some fields empty?
Each source shows different things: profile lists have no comment counts or exact times, keyword pages have no likes, and only detailed posts carry tagged accounts, location and audio. Turn on Full post details ($) for the most complete rows. Likes and views are null when the owner hides them.
Can I reuse input from another Instagram scraper?
Yes. Besides the fields in the form, the input accepts directUrls and startUrls (any mix of profile, post, reel and /explore/tags/ links), search with searchType (hashtag or user; place search can't be read signed out, so it is skipped with a message), keyword and searchTerms (keywords), resultsLimit (posts per profile, keyword and hashtag) and maxItems (used when Max rows is 0).
More from locaihost data
- TikTok creator analytics: followers, engagement and posting cadence for TikTok creators.
- Pinterest scraper: pins, boards and profiles from public Pinterest pages.
- YouTube transcripts: what creators say in their videos, as text.
- Google Trends data: search interest in a brand or topic over time.
Did it help?
If this saved you time, a quick rating on the Store helps other people find it.
Support
Something not working, or a field you need? Open an issue on the Issues tab: we answer issues within 24 hours.