VOOZH about

URL: https://apify.com/crawlerbros/instagram-hashtag-scraper

โ‡ฑ Instagram Hashtag Scraper ยท Apify


Pricing

from $5.00 / 1,000 results

Go to Apify Store

Instagram Hashtag Scraper

Extract posts from Instagram hashtags with complete metadata including engagement metrics, captions, media info, and author details. Features smart pagination, anti-block strategies, and multiple scraping approaches.

Pricing

from $5.00 / 1,000 results

Rating

5.0

(1)

Developer

๐Ÿ‘ Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

47

Total users

3

Monthly active users

a month ago

Last modified

Share

A robust Instagram hashtag scraper built for Apify that extracts posts from Instagram hashtags with complete metadata including engagement metrics, captions, media info, and author details.

Features

  • Multiple Hashtag Support: Scrape posts from one or multiple hashtags in a single run
  • Smart Pagination: Automatically scrolls and loads more content
  • Anti-Block Strategies:
    • Cookie rotation via MongoDB
    • Smart delays with jitter
    • Human-like behavior simulation
    • Stealth browser configuration
    • Automatic retry with exponential backoff
  • Multiple Data Extraction Methods:
    • GraphQL API interception
    • Direct API calls
    • HTML parsing with embedded JSON
    • DOM-based fallback extraction
  • Comprehensive Data Output: Extracts all available post metadata

Input Parameters

ParameterTypeDefaultDescription
hashtagsarrayrequiredList of hashtags to scrape (with or without #)
maxPostsPerHashtaginteger50Maximum posts to extract per hashtag
scrapeModestring"recent""recent", "top", or "both"
minDelayBetweenRequestsinteger2Minimum delay in seconds
maxDelayBetweenRequestsinteger5Maximum delay in seconds
humanizeBehaviorbooleantrueEnable human-like behavior
cookiesstringnullInstagram cookies in JSON format
sessionNamestring"default_session"Session name for cookie storage
useGraphQLApibooleantrueTry GraphQL API first
proxyConfigurationobjectnullProxy settings

Output Data Structure

Each post in the output dataset contains:

{
"post_id":"1234567890",
"shortcode":"ABC123xyz",
"post_url":"https://www.instagram.com/p/ABC123xyz/",
"username":"example_user",
"user_id":"987654321",
"user_url":"https://www.instagram.com/example_user/",
"full_name":"Example User",
"is_verified":false,
"profile_pic_url":"https://...",
"caption":"Amazing sunset! #travel #photography",
"posted_date":"2024-01-15T18:30:00",
"timestamp":1705340400,
"location":"Bali, Indonesia",
"location_id":"123456",
"media_type":"image",
"media_count":1,
"thumbnail_url":"https://...",
"display_url":"https://...",
"media_urls":["https://..."],
"video_url":null,
"is_video":false,
"video_view_count":0,
"hashtags":["travel","photography"],
"mentions":["friend_account"],
"likes_count":1234,
"comments_count":56,
"is_ad":false,
"is_carousel":false,
"search_hashtag":"travel",
"scraped_at":"2024-01-20T10:00:00",
"source":"instagram_hashtag_scraper"
}

Cookie Setup

Instagram requires authentication for hashtag scraping. You have several options:

Option 1: Provide cookies directly in input

  1. Install a browser extension like "EditThisCookie" or "Cookie-Editor"
  2. Log into Instagram in your browser
  3. Export the cookies as JSON
  4. Paste the JSON string in the cookies input field

You might also like

Instagram Keyword Search Scraper

crawlerbros/instagram-keyword-search-scraper

Extract posts from Instagram keyword search results. Scrape post URLs, captions, usernames, media URLs, hashtags, engagement metrics, and more. Supports multiple keywords with anti-detection features.

1.2K

4.0

Instagram Hashtag Scraper

seemuapps/instagram-hashtag-scraper

Scrape top posts and Reels from any public Instagram hashtag. captions, engagement counts, author profiles, and media URLs.

Instagram Hashtag Scraper

automation-lab/instagram-hashtag-scraper

Scrape public Instagram hashtag posts and reels by hashtag, including captions, authors, metrics, media URLs, mentions, and hashtags.

๐Ÿ‘ User avatar

Stas Persiianenko

2

Instagram Hashtag Posts Scraper

breathtaking_anthem/instagram-hashtag-posts-scraper

Extract posts, reels, and media data from any public Instagram hashtag. Get engagement metrics, captions, trending audio, author profiles, and location data in clean JSON โ€” no cookies or login needed.

1.1K

5.0

Instagram Hashtag Posts Scraper

khadinakbar/instagram-hashtag-scraper

Scrape public Instagram posts and Reels for one or more hashtags. Exports captions, engagement counts, author metadata, media URLs, comments when available, cursor metadata, and run summaries. No Instagram cookies required.

58

Instagram Comment Scraper

crawlerbros/instagram-comment-scraper

Extract comments from Instagram posts and reels with complete metadata including replies, likes, and author details. Features smart pagination, reply threading, and safe browser automation.

84

5.0

Instagram Hashtag Scraper

futurizerush/instagram-hashtag-scraper

Extract trending posts and reels from any Instagram hashtag. Get media downloads, engagement metrics, captions, and more. Up to 24 posts per hashtag, 10 hashtags per run. (Beta)

Instagram Posts Scraper

api-empire/instagram-posts-scraper

Instagram Posts Scraper extracts posts from any public Instagram profile. Get captions, media URLs, hashtags, timestamps, and engagement metrics fast. Ideal for research, content analysis, trend tracking, and automation workflows needing structured Instagram post data.

Instagram Posts Scraper

easyapi/instagram-posts-scraper

Effortlessly scrape Instagram posts data from multiple users. Extract comprehensive details including likes, comments, captions, hashtags, and more. Perfect for social media analysis, market research, and content monitoring.