
Instagram Hashtag Scraper
Pricing
$0.70 / 1,000 results

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. 🚀
0.0 (0)
Pricing
$0.70 / 1,000 results
0
Monthly users
3
Last modified
2 hours ago
📌 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
- Enter a hashtag of your choice.
- Set the number of usernames you wish to retrieve.
- The scraper processes the hashtag and fetches associated usernames.
- Data is stored for easy access and analysis.
- 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 hashtagcaption
– Extracted hashtags from captionsuser_pk
– Unique user IDusername
– Instagram handleid
– Post IDcode
– 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:
- Install the Export Cookie JSON file for Puppeteer extension in your browser.
- Log in to Instagram using your account.
- Click on the extension icon and export your cookies as a JSON file.
- 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!
Pricing
Pricing model
Pay per resultThis Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.
Price per 1,000 items
$0.70