Instagram Hashtag Scraper avatar

Instagram Hashtag Scraper

Under maintenance

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Instagram Hashtag Scraper

Instagram Hashtag Scraper

Under maintenance

Scrape Instagram posts and reels by hashtags. Just add one or more hashtags and extract captions, locations, likes, plays, shares, comments count, images, timestamps, audio, and other hashtags. Export scraped hashtags, run the scraper via API, schedule and monitor runs or integrate with other tools.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

ScrapeAI

ScrapeAI

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract Instagram posts and reels by one or more hashtags. Obtain captions, locations, likes, plays, shares, comments count, image URLs, video URLs, publishing timestamps, audio tracks, and extracted secondary hashtags.

Features

  • 🏷️ Scrape by Hashtags: Extract posts and reels matching single or multiple hashtags.
  • 📝 Rich Post Metadata: Scrape post captions, extracted hashtags, publish dates, and shortcodes.
  • 📊 Engagement Statistics: Extract likes count, comments count, video plays count, and estimated shares count.
  • 🖼️ Media & Carousels: Download single images, multi-image carousel slides, and video URLs.
  • 🎵 Audio Tracks & Locations: Extract audio title/artist for reels and geotag location data.
  • Dynamic Dataset Outputs: Outputs dataset items formatted dynamically based on your custom input.json.
  • ⚙️ API & Integration Ready: Easily integrate with Webhooks, Zapier, Make, or run scheduled cloud automation on Apify.

Input Parameters

ParameterTypeRequiredDefaultDescription
hashtagsArrayYes["photography", "nature"]List of Instagram hashtags to scrape (with or without #).
resultsLimitIntegerNo20Maximum number of posts/reels to extract per hashtag.
resultsTypeStringNo"top"Result sorting mode ("top", "recent", "all").
proxyConfigurationObjectNo-Apify proxy configuration (residential proxies recommended).
debugLogBooleanNofalseEnable detailed debug log output.

Example Input JSON

{
"hashtags": [
"photography",
"nature",
"travel"
],
"resultsLimit": 20,
"resultsType": "top",
"debugLog": false
}

Output Data Structure

The scraper pushes structured JSON objects directly to your default Apify dataset.

Output Fields

  • id: Unique Instagram post/reel ID.
  • type: Content type ("Post", "Reel", or "Sidecar").
  • shortCode: Instagram post shortcode URL identifier.
  • url: Direct canonical URL to the post or reel.
  • hashtag: Target search hashtag.
  • caption: Full caption text.
  • hashtags: List of secondary hashtags extracted from caption text.
  • ownerId: User ID of author.
  • ownerUsername: Instagram handle of author.
  • ownerFullName: Full name of author.
  • ownerIsVerified: Verification badge status (true/false).
  • likesCount: Total number of likes.
  • commentsCount: Total number of comments.
  • playsCount: Video play count (for reels).
  • sharesCount: Estimated shares count.
  • displayUrl: Main preview image URL.
  • images: Array of image URLs (supports carousel slides).
  • videoUrl: Direct video URL (for reels).
  • audio: Audio track object (id, title, artist).
  • location: Geotag location details (id, name, city).
  • timestamp: ISO 8601 creation timestamp.
  • scrapedAt: ISO 8601 scraping timestamp.

Example Output Item JSON

{
"id": "318182992011",
"type": "Reel",
"shortCode": "C3x9Z1yL8kM",
"url": "https://www.instagram.com/reel/C3x9Z1yL8kM/",
"hashtag": "photography",
"caption": "Capturing the essence of #photography! Exploring amazing places and creating memories. #photooftheday #naturephotography",
"hashtags": [
"#photography",
"#photooftheday",
"#naturephotography"
],
"ownerId": "user_4912",
"ownerUsername": "photography_creator_4912",
"ownerFullName": "Photography Explorer 4912",
"ownerIsVerified": false,
"likesCount": 24500,
"commentsCount": 812,
"playsCount": 184000,
"sharesCount": 340,
"displayUrl": "https://instagram.fcdn.net/v/t51.2885-15/photography_C3x9Z1yL8kM.jpg",
"images": [
"https://instagram.fcdn.net/v/t51.2885-15/photography_C3x9Z1yL8kM.jpg"
],
"videoUrl": "https://instagram.fcdn.net/v/t51.2885-15/photography_C3x9Z1yL8kM.mp4",
"audio": {
"id": "audio_801",
"title": "Original Audio - photography_creator",
"artist": "photography_creator"
},
"location": {
"id": "loc_101",
"name": "Yosemite National Park",
"city": "California"
},
"timestamp": "2026-08-06T11:00:00.000Z",
"scrapedAt": "2026-08-06T15:00:00.000Z"
}

How to Run

Via Apify Console

  1. Open the Actor on Apify Console.
  2. Enter desired hashtags in the input form.
  3. Click Start and view or download output datasets in JSON, CSV, Excel, or HTML table format.

Via Apify API

curl -X POST "https://api.apify.com/v2/acts/instagram-hashtag-scraper/runs?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"hashtags": ["photography", "nature"],
"resultsLimit": 20
}'

Exporting & Integrations

Export scraped dataset outputs seamlessly to Google Drive, AWS S3, Keboola, Snowflake, or receive real-time updates using Apify Webhooks.