Instagram Post Scraper Max Per Profile
Pricing
from $1.50 / 1,000 results
Instagram Post Scraper Max Per Profile
Instagram Post Scraper extract image and carousel posts from public Instagram profiles with captions, likes, comments, hashtags, mentions, tagged users and image URLs. Set a max per profile and export to JSON, CSV or Excel. No login needed.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Alpha Scraper
Maintained by CommunityActor stats
0
Bookmarked
3
Total users
0
Monthly active users
2 months ago
Last modified
Categories
Features
Share
📸 Instagram Post Scraper – Overview
The Instagram Post Scraper collects detailed data from the image posts on public Instagram profiles. Enter usernames or profile URLs, choose how many image posts you want from each profile, and get a structured dataset with captions, likes, comments, hashtags, mentions, tagged users and image links.
This Instagram Post Scraper is built for marketers, social media managers, agencies, researchers and developers who need Instagram post data without copying it by hand. It focuses on photo content: single-image posts and carousel posts. Reels and video posts are skipped, so every result is an image post.
The easiest way to start: type a username such as neymarjr, keep the default limit of 20 posts, and click Start. Then download your Instagram Post Scraper results as JSON, CSV, Excel, XML or HTML, or read them via the Apify API.
💡 Tip: "Max Per Profile" means the limit applies to each profile separately. Five profiles with a limit of 20 can return up to 100 image posts.
⭐ Instagram Post Scraper – Key Features
| Feature | What you get |
|---|---|
| 👤 Flexible input | Mix plain usernames and full profile links in one run |
| 🎯 Per-profile limit | Choose the maximum number of image posts per profile |
| 🖼️ Image posts only | Single-image and carousel posts are kept; reels are skipped |
| 📈 Engagement metrics | Likes count and comments count for every post |
| 🏷️ Caption analysis | Caption text plus the hashtags and @mentions found in it |
| 💬 Latest comments | Up to 10 recent comments per post with author details |
| 🤝 People data | Tagged users, co-authors and owner name and ID |
| 🧹 De-duplication | Repeated usernames or URLs are processed once |
| 📦 Export-ready | JSON, CSV, Excel, XML and HTML exports plus API access |
No extra setup is needed: the Instagram Post Scraper handles connections automatically.
📊 What Data Can the Instagram Post Scraper Extract?
Each dataset item describes one Instagram image post. The Instagram Post Scraper returns four groups of data.
📝 Post Details
- Post ID, shortcode, post URL, caption, alt text and publish timestamp
- Media type, product type, pinned status, paid partnership and comments-disabled flags
📈 Engagement Data
- Likes count, comments count and first comment
- Up to 10 latest comments with likes, reply counts and author info
🖼️ Media Data
- Largest available image URL, display URL, width and height
- Slide data (
childPosts) for carousel posts
👥 People Data
- Owner username, full name and user ID
- Caption hashtags and mentions, tagged users and co-authors
In short, the Instagram Post Scraper turns a profile grid into a spreadsheet-ready table of photo data.
🚀 How to Use the Instagram Post Scraper
You can run the Instagram Post Scraper in a few minutes, even if you are new to Apify.
- Step 1: Open the Actor in Apify Store and click Try for free.
- Step 2: Add usernames in Profile Usernames, for example
neymarjr. - Step 3: Or paste links in Profile URLs, for example
https://www.instagram.com/khaledalwaleed/. - Step 4: Set Max Posts Per Profile (default 20, minimum 1).
- Step 5: Click Start and wait for the Instagram Post Scraper to finish.
- Step 6: Open the Output tab, preview the data and export it.
📌 Note: You can fill in usernames, profile URLs or both. At least one valid entry is required; otherwise the run ends without saving results.
🤔 Why Use This Instagram Post Scraper?
| Benefit | Why it matters |
|---|---|
| 🎯 Photo-focused | A clean image-post dataset without reels mixed in |
| 🧮 Predictable volume | The per-profile limit keeps result counts and costs in check |
| 🧱 Consistent fields | Fixed keys load easily into spreadsheets, BI tools or databases |
| 🔄 Automation-ready | Schedules, API calls, webhooks and integrations |
| 🔐 No login needed | You only provide usernames or profile links |
The Instagram Post Scraper returns the same fields in every run, so comparing profiles over time is simple.
🔍 How to Scrape Instagram Image Posts From a Profile
To scrape Instagram image posts, the Instagram Post Scraper walks through the profile's post timeline and picks out the image posts. It keeps loading older posts until it reaches your Max Posts Per Profile value or the profile has no more posts.
Reels do not count toward the limit. If you ask for 20 posts from a profile that mixes photos and reels, the Instagram Post Scraper continues until it finds 20 image posts or reaches the end.
Next, the Instagram Post Scraper opens each image post and extracts its details. Every processed post becomes one dataset item.
⚠️ Important: Profiles with fewer image posts than your limit return fewer items. This is expected, not an error.
🧩 Can You Scrape Several Instagram Profiles at Once?
Yes. The Instagram Post Scraper accepts many usernames and profile URLs in a single run and cleans both lists first:
- A leading
@and extra slashes are removed from usernames. - The username is read from each profile URL, including share links with extra parameters.
- Links to single posts, reels or stories are skipped, because they are not profile pages.
- A profile entered twice (as a username and as a URL) is processed only once.
Each profile gets its own limit, so an Instagram Post Scraper run with 10 profiles and a limit of 30 can save up to 300 image posts.
💼 Instagram Post Scraper Use Cases
| Use case | How the data helps |
|---|---|
| 📊 Social media analytics | Compare likes and comments across posts and accounts |
| 🌟 Influencer research | Review engagement, paid partnerships and collaborators before outreach |
| 🔍 Competitor analysis | See what competitors publish and which posts get engagement |
| 🏷️ Hashtag research | Find the hashtags and accounts a profile uses in captions |
| 🗣️ Audience feedback | Read recent comments to understand reactions |
Agencies schedule the Instagram Post Scraper for weekly client reports, while researchers and developers use the Instagram Post Scraper output in their own datasets and apps.
📥 Input
The Instagram Post Scraper has three input fields. Provide at least one username or profile URL.
| Field | Type | Default / prefill | Description |
|---|---|---|---|
usernames | Array of strings | Prefill: ["neymarjr"] | Instagram usernames, e.g. leomessi, mrbean |
profileUrls | Array of strings | Prefill: ["https://www.instagram.com/khaledalwaleed/"] | Full Instagram profile URLs |
maxPostsPerProfile | Integer | Default: 20, minimum 1 | Maximum number of image posts to extract from each profile |
🧾 Sample Input JSON
{"usernames": ["neymarjr"],"profileUrls": ["https://www.instagram.com/khaledalwaleed/"],"maxPostsPerProfile": 20}
💡 Tip: Enter usernames in lowercase, exactly as they appear on Instagram. The Instagram Post Scraper compares the text you type when removing duplicates, so
NeymarJrandneymarjrcount as two entries.
📤 Output
The Instagram Post Scraper saves one dataset item per image post. Here is a shortened example with trimmed URLs and nested objects.
{"id": "3957189781121733840","type": "Image","shortCode": "DbqwyPMkRTQ","caption": "Leilão ✅\nClassificação ✅\nDay off ✅","hashtags": [],"mentions": [],"url": "https://www.instagram.com/p/DbqwyPMkRTQ/","commentsCount": 89,"dimensionsHeight": 3698,"dimensionsWidth": 2774,"images": ["https://scontent.cdninstagram.com/v/.../photo.jpg"],"likesCount": 2698905,"timestamp": 1785953804,"ownerFullName": "Neymar Jr","ownerUsername": "neymarjr","ownerId": "26669533","isPinned": false,"productType": "carousel_container","inputUrl": "https://www.instagram.com/neymarjr","firstComment": "Lindooooooos ❤️","latestComments": [{"id": "18085480139213900","text": "Lindooooooos ❤️","ownerUsername": "example_fan","ownerProfilePicUrl": "https://scontent.cdninstagram.com/v/.../avatar.jpg","timestamp": 1785980999,"repliesCount": null,"replies": null,"likesCount": 7,"owner": {"username": "example_fan","is_verified": true,"id": "2313002691","full_name": null}}],"displayUrl": "https://scontent.cdninstagram.com/v/.../photo.jpg","alt": "Photo by Neymar Jr on August 05, 2026.","childPosts": [{"code": "DbqwrtcRnrN","original_width": 2774,"original_height": 3698}],"paidPartnership": false,"taggedUsers": [],"coauthorProducers": [],"isCommentsDisabled": false,"postType": "image"}
📋 Output Data Fields
Every Instagram Post Scraper item contains these top-level keys.
| Field | Description |
|---|---|
id | Unique Instagram post ID |
type | Media type label; Image for posts this Actor collects |
shortCode | Post shortcode used in the post link |
caption | Full caption text (empty if there is none) |
hashtags | Hashtags from the caption, without # |
mentions | Usernames mentioned in the caption, without @ |
url | Post link: https://www.instagram.com/p/<shortCode>/ |
commentsCount | Number of comments |
dimensionsHeight | Original image height in pixels |
dimensionsWidth | Original image width in pixels |
images | List with the largest available image URL |
likesCount | Number of likes |
timestamp | Publish time as a Unix timestamp in seconds |
ownerFullName | Display name of the post owner |
ownerUsername | Username of the post owner |
ownerId | Instagram user ID of the owner |
isPinned | true if pinned to the profile |
productType | Instagram content type, e.g. carousel_container |
inputUrl | Profile URL of the post owner |
firstComment | Text of the first comment in latestComments |
latestComments | Up to 10 comments with author details |
displayUrl | Display image URL |
alt | Accessibility (alt) text from Instagram |
childPosts | Slide data for carousels; empty list for single-image posts |
paidPartnership | true if marked as a paid partnership |
taggedUsers | Tagged users: id, username, full_name, is_verified, profile_pic_url |
coauthorProducers | Co-authors: id, username, is_verified, profile_pic_url |
isCommentsDisabled | true if commenting is turned off |
postType | Always image in this Actor |
💬 Comment Fields
Each latestComments entry has id, text, ownerUsername, ownerProfilePicUrl, timestamp (Unix seconds), repliesCount, replies (always null), likesCount and an owner object with username, profile_pic_url, is_verified, id, full_name, is_mentionable, is_private, profile_pic_id and latest_reel_media.
📌 Note: Some nested values can be
nullwhen Instagram does not show them publicly. Posts that fail to load are skipped and noted in the run log; the Instagram Post Scraper does not add error rows to the dataset.
💰 Pricing
The Instagram Post Scraper uses pay-per-result pricing: you pay for the image post items saved to your dataset. The current price is shown on the Actor's Pricing tab in Apify Store.
| Cost-control tip | How it helps |
|---|---|
Start with a small maxPostsPerProfile | Test with 3–5 posts per profile before larger runs |
| Keep your profile list focused | Total results can reach profiles × post limit |
💡 Tip: Posts that cannot be processed are not saved to the dataset, so they are not counted as results.
💡 Tips and Recommendations
- Use profile root URLs such as
https://www.instagram.com/username/, not post or reel links. - Expect fewer items from video-heavy profiles, because the Instagram Post Scraper skips reels.
- Posts follow the profile timeline order, so pinned posts can appear even when older. Filter with
isPinnedif needed. - Schedule regular Instagram Post Scraper runs to compare engagement over time.
❓ Frequently Asked Questions
🎬 Does the Instagram Post Scraper collect reels or videos?
No. This Instagram Post Scraper keeps image posts only, including carousels, and skips reels and videos. Every item has postType set to image.
🔐 Do I need an Instagram account to use the Instagram Post Scraper?
No. You only enter usernames or profile URLs. The Instagram Post Scraper has no login fields and works with public profiles only; private accounts are not accessible.
🖼️ How does the Instagram Post Scraper handle carousel posts?
A carousel counts as one post and produces one dataset item. The main fields describe the post, and childPosts holds data for each slide.
💬 How many comments does the Instagram Post Scraper return per post?
Up to 10 recent comments in latestComments, plus the total commentsCount. Replies are not collected, so replies is always null.
🔌 Can I run the Instagram Post Scraper via API or on a schedule?
Yes. Like every Apify Actor, the Instagram Post Scraper can be started through the Apify API, scheduled, and connected to webhooks and integrations.
⚠️ What happens if a profile does not exist or cannot be loaded?
The Instagram Post Scraper logs the problem, skips that profile and continues with the rest. If no posts are collected at all, the run finishes without saving results.
⚖️ Is it legal to scrape Instagram posts?
The Instagram Post Scraper collects publicly visible post data. You are responsible for using it in line with Instagram's terms and privacy laws such as GDPR. If unsure, ask a legal professional.
💬 Support
- 🐞 Found a bug or a missing field? Open a ticket on the Actor's Issues tab.
- 💡 Feature ideas and feedback about the Instagram Post Scraper are welcome too.
- 📧 Contact me by email: alphascraper69@gmail.com