Instagram Hashtag Scraper

Instagram Hashtag Scraper

by coderx

This scraper extracts users from Instagram based on a hashtag. Just enter a hashtag and set the number of usernames you need. It collects user details...

895 runs
338 users
Try This Actor

Opens on Apify.com

About Instagram Hashtag Scraper

This scraper extracts users from Instagram based on a hashtag. Just enter a hashtag and set the number of usernames you need. It collects user details like usernames, IDs, and captions, making it perfect for social media analysis and research. 🚀

What does this actor do?

Instagram Hashtag 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

Instagram Hashtag Scraper ## 📌 Overview Instagram Hashtag Scraper is a powerful tool designed to extract usernames of users who have posted content under a specific hashtag. Simply input a hashtag, set the desired number of usernames, and let the scraper fetch relevant user data efficiently. ## 🚀 Features - Extracts usernames from posts/reels associated with a given hashtag - Supports batch scraping with custom limits - Detects expired or invalid cookies for troubleshooting - Optimized for performance and reliability - Automatically scrolls through posts for deeper extraction ## 🔧 How It Works 1. Enter a hashtag of your choice. 2. Set the number of usernames you wish to retrieve. 3. The scraper processes the hashtag and fetches associated usernames. 4. Data is stored for easy access and analysis. 5. If no posts are found, it suggests checking cookies or the keyword. ## 📥 Input Parameters | Parameter | Type | Description | |-----------|------|-------------| | hashtag | string | The hashtag to scrape usernames from | | max_items | integer | (Optional) The maximum number of usernames to retrieve | | cookies | string | Instagram session cookies for authentication | ## 📤 Output Data The scraper returns structured JSON data containing: - search_keyword – The input hashtag - caption – Extracted hashtags from captions - user_pk – Unique user ID - username – Instagram handle - id – Post ID - code – Unique post code Each extracted entry includes: - search_keyword - The searched hashtag. - caption - Extracted hashtags from the post. - user_pk - The unique user ID. - username - The Instagram username. - id - The post ID. - code - The unique Instagram post code. # 🔑 How to Get Instagram Cookies To run the scraper, you need to extract your Instagram session cookies. Follow these steps: 1. Install the Export Cookie JSON file for Puppeteer extension in your browser. 2. Log in to Instagram using your account. 3. Click on the extension icon and export your cookies as a JSON file. 4. Copy the contents of the file and provide them as input to the scraper. ## 📌 SEO Optimized Keywords - Instagram Hashtag Scraper - Extract Instagram Usernames - Hashtag Data Mining - Social Media Scraping - Instagram Marketing Tool - Web Scraping for Instagram 🚀 Start scraping Instagram hashtags today! --- ### 🔗 Stay Updated Follow the latest updates and improvements by ⭐ starring this repository!

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 Hashtag Scraper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
coderx
Pricing
Paid
Total Runs
895
Active Users
338
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