Instagram Post Scraper using hash Tag

Instagram Post Scraper using hash Tag

by clothefobia

Scrape Instagram posts by hashtag to get post data, images, and engagement metrics. Perfect for content curation, research, and lead generation.

169 runs
6 users
Try This Actor

Opens on Apify.com

About Instagram Post Scraper using hash Tag

Need to gather Instagram content for a project? This actor lets you pull posts based on any hashtag you choose. It's straightforward: you give it a hashtag (like #urbangardening or #webdev), and it goes to work, collecting the public posts that use it. You'll get the data you'd expect—the image or video URL, the caption, engagement counts, the poster's handle, and the timestamp. It runs on Apify, so you can schedule it, integrate it into larger workflows, or just run it once and download the results as a clean JSON, CSV, or Excel file. I've used it for a few things myself. It's handy for building a curated content feed for a website, doing competitive analysis by seeing what's trending around specific topics, or even for simple lead generation by finding potential customers engaging with relevant tags. It saves you the hours of manual scrolling and copying. Just set your target hashtag, configure how many posts you want, and let it handle the collection. The data comes back structured and ready to use in your analysis, dashboard, or application.

What does this actor do?

Instagram Post Scraper using hash Tag 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 Post Scraper

An Apify actor that scrapes Instagram posts by hashtag, extracting detailed post and user information. It uses a cookie-based method to access data.

Overview

This tool searches for public Instagram posts associated with a specific hashtag. You provide a hashtag and a valid Instagram session cookie, and it returns a dataset containing all found posts with their metadata.

Key Features

  • Hashtag Search: Scrapes all discoverable posts for a given hashtag.
  • Comprehensive Data Extraction: Captures key details for each post.
  • Cookie-Based Access: Uses your authenticated session to help avoid blocks.
  • Fast Performance: Capable of scraping approximately 100 posts per second.
  • Multiple Export Formats: Results can be downloaded as JSON, CSV, Excel, or text.

How to Use

  1. Get an Instagram Cookie: You must provide a valid session cookie.
    • Install the Chrome extension "Export cookie JSON file for Puppeteer".
    • Log into Instagram in your Chrome browser.
    • Open the extension, click "Export cookies as JSON", and copy the cookie string from the downloaded file.
    • (Demo video: https://youtu.be/OsOBlwwc2Xc)
  2. Configure the Actor:
    • Instagram Cookie: Paste the copied cookie string here.
    • Instagram Hash Tag: Enter the hashtag to search for (e.g., bot).
  3. Click Save and Start to run the scraper.

Input/Output

Input:
* instagramCookie: Your Instagram session cookie (JSON string).
* hashtag: The target hashtag (without the # symbol).

Output:
The actor returns an array of items, each representing one Instagram post. Each item contains the following fields:

{
  "id": "3615622202814936204",
  "post_url": "https://www.instagram.com/p/DItRTywzLSM/",
  "shortcode": "DItRTywzLSM",
  "caption": "@ min & @69.xxvuir_ # #awexz #ฝากบอกบอท #bot #imgx >>> ( @ account )",
  "user_id": "56191104144",
  "user_name": "fak_bot780",
  "like_count": 1,
  "comment_count": 1,
  "timestamp": 1745235775,
  "image_url": "https://scontent-iad3-2.cdninstagram.com/v/..."
}

For a visual guide, see the product demo video: https://youtu.be/34IrAXBUpdc

For issues, contact: clothefobia@gmail.com

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

Start Free Trial

Actor Information

Developer
clothefobia
Pricing
Paid
Total Runs
169
Active Users
6
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