Instagram Reels Scraper

Instagram Reels Scraper

by hpix

Need to pull data from Instagram Reels, profiles, or posts for your project? This scraper is what I use. It’s built to handle the platform's structure...

49,264 runs
1,131 users
Try This Actor

Opens on Apify.com

About Instagram Reels Scraper

Need to pull data from Instagram Reels, profiles, or posts for your project? This scraper is what I use. It’s built to handle the platform's structure, so you can reliably collect public Reels videos, profile details, and post metadata without things breaking every other week. You can use it to gather content for trend analysis, monitor brand mentions, research competitors, or build lead lists from public profiles. It returns structured data like video URLs, captions, engagement stats, comments, and profile information, ready for your database or analysis tools. The setup is straightforward: just provide the target usernames, hashtags, or Reels URLs. It manages the requests and parsing, letting you focus on using the data rather than fighting with the scraping process. It’s been reliable for my work when I need consistent, structured Instagram data.

What does this actor do?

Instagram Reels Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

ℹ️ About An efficient and straightforward Actor for scraping Instagram posts, profiles and Reels, designed with performance in mind. ## ✨ Features - Retrieve profile stats such as followers, bio, username, and links. - Scrape reels, including likes, play counts, comments, captions, and music metadata. - Choose the number of reels to scrape per profile. - Scrape thousands of profiles and posts seamlessly. ## ⚙️ Inputs - profiles: A list of Instagram usernames or URLs to scrape. - reels_count: Define the target number of reels to scrape per profile. - target: Choose to scrape profiles only, posts only or both. - post_urls: Scrape Instagram posts (or reels) using their URL or code. - include_raw_data: Include raw data collected from Instagram in the final results. ### Example: This input will scrape zuck's profile, 8 of the latest reels from his feed, and one post with the code DFNkPgRROOS: json { "profiles": [ "zuck" ], "target": "all", "reels_count": 8, "post_urls": [ "https://www.instagram.com/p/DFNkPgRROOS" ], "include_raw_data": true, "custom_functions": "{ shouldSkip: (data) => false, shouldContinue: (data) => true }" } ### Custom functions This is an advanced parameter that you can use to modify the crawler's behavior. With custom functions, you can skip a post or profile based on its data or stop crawling a profile's reels when a certain condition is met. For example, you can skip posts if they don't have music metadata: javascript { shouldSkip: (data) => data.kind == 'post' && !data.music_metadata } Or stop crawling when it reaches the shortcode of a post: javascript { shouldContinue: (data) => data.code != 'codeToStopCrawling' } The data argument is the same of an item on the final dataset (see Outputs). ### Tips - The actor is optimized for bulk scraping. Running it with multiple profiles simultaneously is significantly faster than processing one profile at a time. - To optimize costs, this actor is memory-efficient and can run smoothly with just 256MB to 512MB of memory allocated. ## 📄 Outputs ### Profile json { "kind": "profile", "input": "zuck", "id": "314216", "is_private": false, "username": "zuck", "full_name": "Mark Zuckerberg", "biography": "", "bio_links": [], "followers": 15534658, "following": 610, "profile_pic": "https://scontent-lga3-1.cdninstagram.com/...", "raw_data": {...} } ### Reel json { "kind": "post", "id": "3548364142010150900_314216", "code": "DE-UmMaP6_0", "post_type": "clips", "owner_id": "314216", "taken_at": 1737218208, "caption": "Send it", "play_count": 4456434, "comment_count": 7776, "like_count": 134906, "has_privately_liked": false, "thumbnail_url": "https://instagram.fagc3-2.fna.fbcdn.net/...", "duration": 19.945, "video_versions": [ { "height": 852, "type": 101, "url": "https://scontent-iad3-1.cdninstagram.com/...", "width": 480 }, { "height": 852, "type": 103, "url": "https://scontent-iad3-1.cdninstagram.com/...", "width": 480 }, { "height": 852, "type": 102, "url": "https://scontent-iad3-1.cdninstagram.com/...", "width": 480 } ], "raw_data": {...} } ### Post json { "kind": "post", "input": "DFNkPgRROOS", "id": "3552655076181205906", "code": "DFNkPgRROOS", "post_type": "post", "owner_id": "314216", "taken_at": 1737730421, "caption": "Grateful to train with you @marcelogarciajiujitsu. Good luck and have fun vs Imanari today!", "like_count": 249896, "comment_count": 4627, "thumbnail_url": "https://scontent-lga3-2.cdninstagram.com/...", "raw_data": {..} } ## 📃 Changelog Do you have a feature suggestion? Create an issue and let me know! ### v1.1.0 - ✨ Added ability to filter reels by date range - 🔧 Fixed timeout issues during scraping - 🔧 Improved handling of restricted Instagram accounts ### v1.0.0 - ✨ Added support for scraping individual Reels and posts via URL or code - ✨ Introduced new include_raw_data option to control raw data inclusion in results - ✨ Added custom JavaScript functions for post/profile filtering and crawl control - ✨ Added support for Instagram profile URLs as input - 🏎️ Optimized crawler performance for faster scraping - 🔧 Enhanced logging functionality - ### v0.1 - Initial release ## ❓ FAQ ### Can I export the scraped data to Excel? Sure! Apify allows you to download the results as an Excel spreadsheet. You can also download in CSV, JSON, XML, HTML, JSONL and RSS. ### I just found a bug! Can you fix it? Oh, what a shame! Please create an Issue, so I can evaluate what happened. ### Can you implement X feature? Of course! You can use the Issues tab to suggest new features. ## ⚠️ Disclaimer This Actor scrapes public data from Instagram pages. Features are susceptible to changes made by Meta. ## ⛓️‍💥 Known issues - Currently, it is not possible to scrape private or age-restricted accounts, since those are not public. ## 👀 See also - TikTok Scraper: Another very efficient crawler for scraping TikTok Profiles and their videos.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Instagram Reels Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
hpix
Pricing
Paid
Total Runs
49,264
Active Users
1,131
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support