Instgram Scraper All-In-One avatar
Instgram Scraper All-In-One

Pricing

Pay per event

Go to Apify Store
Instgram Scraper All-In-One

Instgram Scraper All-In-One

Developed by

Mo Hany

Mo Hany

Maintained by Community

πŸ“· Collect Instagram profile data efficiently with all-in-one scraper! Extract usernames, bios, followers, following, posts, engagement stats, and more in a structured format. Perfect for marketing, lead generation, and analytics. Fast, reliable, and easy to use.

0.0 (0)

Pricing

Pay per event

0

16

14

Last modified

3 days ago

πŸ“Έ Instagram Scraper All-in-One

πŸš€ The Instagram Scraper All-in-One is the ultimate tool for content creators, marketers, and data enthusiasts looking to unlock valuable insights from Instagram. Stop guessing what content works, Start analyzing the data behind the world's most engaging posts and profiles!

Whether you need to analyze a competitor's profile, track a trending hashtag, or download comment data for sentiment analysis, this Actor has you covered!

🌟 Features:

  • βœ… Profile Posts - Extract posts, captions, likes, and more from public and private profiles.
  • βœ… Comments Analysis - Extract comments from specific posts, perfect for sentiment analysis and understanding audience reactions.
  • βœ… Followers & Following - Get lists of followers or the accounts a user is following for deep audience and competitive research.
  • βœ… Hashtag Tracking - Monitor the latest and top posts associated with any trending hashtag to spot content opportunities.
  • βœ… Flexible Input - Use direct URLs, usernames, or hashtag keywords.
  • βœ… Logged-in Session Support: Use your Instagram session cookies to access private profiles or personalized data.
  • βœ… Multiple Export Formats - Download structured data in JSON, CSV, Excel, and more.

πŸ”Ž What Data Can You Extract?

The Actor returns clean, well-structured data depending on your chosen scrape mode:

Scrape ModeKey Data Points ExtractedBest For
Profile PostsPost URL, Caption text, Like Count, Comment Count, Media URLs (image/video), Timestamp, LocationCompetitor content strategy, trend analysis.
CommentsCommenter Username, Comment Text, Timestamp, Like Count on commentAudience sentiment, keyword analysis.
Followers/FollowingUser ID, Username, Full Name, Profile URL, Is Private statusTarget audience identification, influencer mapping.
HashtagPost data (similar to Profile Posts) associated with the tagSpotting emerging trends, content ideation.

πŸ’‘ How do I use the Scraper?

  1. πŸ”‘ Sign in to your Apify account. If you don't have one, Sign up here for free.
  2. βš™οΈ SelectscrapeMode (Posts, Comments, Follow, or Hashtag) in the input fields. This is required.
  3. πŸ”— Input your target(s): Use the startUrls field for direct Instagram links (profiles, posts) or the usernames_keywords field for simple profile handles (leomessi) or hashtags (#contentideas).
  4. 🚧 Set Limits: Use maxResults to control how many items (posts, comments, or followers) you want per target URL/keyword.
  5. ⏳ Run the Actor and wait for your data to be collected.
  6. πŸ’Ύ Export your data in CSV, JSON or integrate with your other workflows!

πŸ“‹ Input Fields Explained

Field NameDescriptionRequired?Notes
scrapeMode (string)Select the type of data you want to collect (Posts, Comments, Follow, or Hashtag).YESThe core functionality selector.
startUrls (array)Direct links to Instagram pages (Profile URL, Post URL, Hashtag page URL).NOUse this for specific URLs.
usernames_keywords (array)Instagram usernames (without the @) or hashtag keywords (without the #).NO, but you have to provide either this or startUrlsIdeal for bulk scraping simple targets.
follow_mode (string)Relevant only when scrapeMode is set to 'Follow'. Choose between scraping a user's Followers or Following list.Only for follow mode.Can be followers or following.
maxResults (integer)The maximum number of posts, comments, or followers to scrape for each target URL/keyword.NODefault is 50.
sessionCookies (array)Active Instagram session cookies from your logged-in account.NOCrucial for accessing private profiles you follow! See the 'Session Cookies' section for more instructions.

πŸͺ Session Cookies: Accessing Private Data

If you need to scrape data from a private profile that you are following, you need to provide your active Instagram session cookies. This allows the Actor to behave as if you are logged in.

πŸ”Ή How to obtain your session cookies?

  1. Install a browser extension that exports your cookies; example on Chrome is Cookie-Editor.
  2. Log in to your Instagram account in your web browser.
  3. Click on the extension β†’ β€œExport” β†’ β€œJSON”.
  4. Cookies are now copied, past them into sessionCookies field.

That's it! Now if you run the scraper it should access private accounts you're following.

πŸ”’ Privacy Note: We do not store or save your session cookies. They are only used temporarily during the execution of your current run to authenticate the scraping process and are immediately discarded afterward.

πŸ“Š Output

Example: Single Post Data Output (JSON)

{
"source_url": "https://www.instagram.com/leomessi",
"id": "3714320077559846847",
"shortCode": "DOL6m5lDle_",
"created_at": "2025-09-04 16:00:37",
"caption": "A symbol that inspires. A generation that dreams. πŸ’—πŸ’«",
"caption_is_edited": false,
"has_translation": null,
"url": "https://www.instagram.com/p/DOL6m5lDle_",
"likes_count": 630953,
"type": "Reel",
"comments_count": 10507,
"display_image": "...",
"acc_caption": null,
"is_sponsorship": false,
"sponsor_tags": null,
"user": {
"username": "intermiamicf_academy",
"full_name": "Inter Miami CF Academy",
"profile_pic": "...",
"is_verified": true,
"id": "44452457608"
},
"co_authors": [
{
"username": "leomessi",
"full_name": "Leo Messi",
"profile_pic": "...",
"is_verified": true
},
// ...
],
"mentions": null,
"tagged_users": [
{
"id": "427553890",
"username": "leomessi",
"full_name": "Leo Messi",
"profile_pic": "...",
"is_verified": true
},
// ...
],
"images_count": null,
"images": "...",
"height_dimensions": 1920,
"width_dimensions": 1080,
"has_audio": true,
"music_info": {
"title": "Original audio",
"artist_name": null,
"duration": null,
"audio_url": null,
"is_trending": false,
"artist_id": "44452457608",
"audio_id": "1760324584585542"
},
"video_url": "...",
"video_duration_sec": null,
"views_count": null,
"video_height": 1280,
"video_width": 720,
"location": null,
"comments": [
{
"source_url": "https://www.instagram.com/p/DOL6m5lDle_",
"id": "18181206028340946",
"created_at": "2025-10-08 13:25:32",
"text": "",
"has_translation": null,
"replies_count": 0,
"likes_count": null,
"is_covered": false,
"image": null,
"gif": "...",
"username": "laila_alshishtawy",
"profile_pic": "...",
"profile_url": "https://www.instagram.com/laila_alshishtawy",
"is_verified": false,
"user_id": "64723074732",
"fbid_v2": "17841464641980384"
},
// ...
]
}

Example: Single Comment (JSON)

{
"source_url": "https://www.instagram.com/p/DM01GDhsJyt/",
"id": "17929080336096107",
"created_at": "2025-08-21 23:17:02",
"text": "BOOM πŸ’₯ Ready for the next Shot 🎬🎬",
"has_translation": null,
"replies_count": 0,
"likes_count": 8,
"is_covered": false,
"image": null,
"gif": null,
"username": "drexlee",
"profile_pic": "...",
"profile_url": "https://www.instagram.com/drexlee",
"is_verified": true,
"user_id": "1329561446",
"fbid_v2": "17841400763400774"
}

Example: Single User Follower (JSON)

{
"id": "54314703532",
"fbid_v2": "17841454465969337",
"username": "shahdmuhammad66",
"full_name": "Shahd Muhammad",
"profile_url": "https://www.instagram.com/shahdmuhammad66",
"profile_pic": "...",
"profile_pic_id": "3106469405864461148_54314703532",
"is_verified": false,
"is_private": true,
"third_party_downloads_enabled": 0,
"has_anonymous_profile_picture": false,
"latest_reel_media": 0
}

⚠Limited number of followers available for some accounts due to recent Instagram policies. We're working to bypass this as soon as possible.

πŸ’° Pricing

This Actor operates on PPE (pay-per-event) model: (Pricing Per 1000 results)

Scraped itemFree🟀 Bronzeβšͺ Silver🟑 Discount
Profile Post$2.50$2.10$1.70$1.30
Hashtag Post$2.70$2.28$1.87$1.45
Comment$2.20$1.87$1.53$1.20
User (Profile Metadata)$1.80$1.25$1.00$0.70

🎁 Apify offers a Free Tier which gives you $5/month usage credits, allowing you to test this and many other Actors completely free. If you need larger datasets or more frequent runs, consider subscribing to one of Apify's paid plans.

πŸ› οΈ Support

  • If you encounter any issues while using this Actor, please report them in the issues tab.
  • For any questions, feature requests, or custom scraping needs, feel free to reach out to the author of this Actor.

If this tool helps you find your next viral content idea or save hours on data collection, please bookmarks itπŸ“Œ & give it a 5⭐️ review! Your support helps me keep this Actor maintained and updated! πŸ™

Need a scraper for a different website, or have an existing project that requires fixes or custom improvements? Feel free to contact me for consulting or development work:

FAQ πŸ€”

Why can't I scrape private accounts?

Instagram's policy is to hide the data of private accounts from public users who don't follow them. Since this scraper acts like an external visitor by default, it respects this privacy setting.

To access data from a private profile, you must follow that profile, and then provide the scraper with the active login session via the sessionCookies input. Please refer to the Session Cookies section for detailed instructions.

Sometimes I get "Only [username] can see all followers!" Is that a bug?

No, This message is part of Instagram's recent privacy policy where they are starting to restrict who can view the full follower/following list of certain accounts.

While this feature is being implemented gradually and many accounts still have publicly visible lists, the message indicates that the restriction is active for that specific user. This Actor is currently unable to bypass this restriction.

My scrape stopped before reaching maxResults, Why?

This usually happens when The target (profile, hashtag, etc.) simply had fewer items than the maxResults you requested.

Can I scrape Stories or Reels data?

Currently, this Actor is optimized for the core modes: Posts, Comments, Followers/Following, and Hashtags. Newer modes are to be added though like Scraping Reels, Profile Details, & more.

Please reach out to me for a custom development solution.