Instagram Hashtag Scraper avatar

Instagram Hashtag Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store
Instagram Hashtag Scraper

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.

Pricing

from $5.00 / 1,000 results

Rating

5.0

(1)

Developer

Rush

Rush

Maintained by Community

Actor stats

2

Bookmarked

94

Total users

9

Monthly active users

2 days ago

Last modified

Share

Extract trending reels and posts from any Instagram hashtag. Get media downloads, engagement metrics (likes, comments, views), captions, hashtags, and more. Process up to 10 hashtags per run, with up to 24 trending posts per hashtag.

Features

  • Trending posts by hashtag — the most popular Reels and posts for any public Instagram hashtag
  • Rich engagement data — likes, comments, and video view counts for every post
  • Ready-to-use media — direct download URLs for videos, images, and carousel slides
  • Full context — captions, hashtags, @mentions, music, dimensions, duration, location, and co-authors
  • Batch friendly — up to 10 hashtags per run, up to 24 trending posts each
  • No login required — works out of the box on public hashtags
  • Export anywhere — JSON, CSV, or Excel, or connect to Google Sheets, Slack, Zapier, and Make

What data can you scrape?

For each post found under a hashtag, the scraper extracts:

  • Media content: captions, hashtags, mentions, download URLs (video, image, carousel slides)
  • Engagement: likes, comments, video views
  • Metadata: publish date, video duration, dimensions, music info
  • Creator info: username, tagged users, co-authors, location
  • Hashtag context: total posts for the hashtag

How to use

  1. Go to the Input tab
  2. Enter one or more Instagram hashtags (e.g. nike, #travel, or paste a hashtag URL)
  3. Click Start and wait for the results in the Dataset tab

Example input

{
"hashtags": ["nike", "travel", "tokyo"]
}

Input settings

SettingDescriptionDefault
HashtagsInstagram hashtags to scrape (1-10). The scraper extracts up to 24 trending posts per hashtag.Required

Supported input formats

The scraper accepts hashtags in multiple formats:

FormatExampleResult
Plain texttravel#travel
With hash symbol#nike#nike
Mixed caseTokyo#tokyo
Hashtag URLhttps://www.instagram.com/explore/tags/travel/#travel

Output data

Overview (quick reference)

FieldDescription
hashtagNameThe hashtag that was searched
usernamePost author
mediaTypeimage, video, or carousel
videoViewCountVideo views (null for images)
likesNumber of likes
commentsNumber of comments
timestampPublish date
postUrlDirect link to the post

Media downloads

FieldDescription
mediaDownloadUrlDirect download URL (for carousels: array of media objects)
displayUrlThumbnail or display image URL
videoUrlVideo file URL (null for images)

Hashtag context

FieldDescription
hashtagNameThe searched hashtag
hashtagMediaCountTotal posts for this hashtag on Instagram
hashtagPostUrlLink to the hashtag explore page

Full output (all fields)

FieldTypeDescription
hashtagNamestringSearched hashtag name
hashtagMediaCountinteger/nullTotal posts for hashtag
hashtagPostUrlstringHashtag explore page URL
usernamestring/nullPost author username
postUrlstringPost or reel URL
mediaDownloadUrlstring/array/nullDownload URL (array for carousels)
mediaTypestring/nullimage, video, or carousel (null if undetermined)
captionstring/nullFull caption text
hashtagsarrayHashtags from caption
mentionsarray@mentions from caption
titlestringCaption preview (200 chars)
descriptionstringPost description
authorstring/nullPost author
shortcodestringInstagram post ID
likesinteger/nullLike count
commentsinteger/nullComment count
commentsDisabledboolean/nullComments turned off (null if detail unavailable)
timestampstring/nullPublish date (ISO 8601)
scrapedAtstringExtraction date (ISO 8601)
indexintegerPosition (1-based)
dimensionsobject/nullWidth and height in pixels
isVideobooleanWhether the post is a video
displayUrlstring/nullThumbnail URL
videoUrlstring/nullVideo file URL
videoViewCountinteger/nullVideo views
videoDurationnumber/nullDuration in seconds
hasAudioboolean/nullHas audio track
ownerIdstring/nullInstagram user ID
locationNamestring/nullTagged location
taggedUsersarrayTagged users in media
musicNamestring/nullMusic track and artist
coauthorsarrayCollab post co-authors

Sample output

{
"hashtagName": "travel",
"hashtagMediaCount": 3900000000,
"hashtagPostUrl": "https://www.instagram.com/explore/tags/travel/",
"username": "wanderlust_traveler",
"postUrl": "https://www.instagram.com/reel/ABC123/",
"mediaDownloadUrl": "https://scontent.cdninstagram.com/...",
"mediaType": "video",
"caption": "Sunset over the mountains #travel #wanderlust #adventure",
"hashtags": ["travel", "wanderlust", "adventure"],
"mentions": [],
"title": "Sunset over the mountains #travel #wanderlust #adventure",
"description": "Sunset over the mountains #travel #wanderlust #adventure",
"author": "wanderlust_traveler",
"shortcode": "ABC123",
"likes": 342,
"comments": 12,
"commentsDisabled": false,
"timestamp": "2026-06-15T08:30:00.000Z",
"scrapedAt": "2026-06-26T10:00:00.000Z",
"index": 1,
"dimensions": { "width": 720, "height": 1280 },
"isVideo": true,
"displayUrl": "https://scontent.cdninstagram.com/...",
"videoUrl": "https://scontent.cdninstagram.com/...",
"videoViewCount": 15000,
"videoDuration": 30.5,
"hasAudio": true,
"ownerId": "12345678",
"locationName": "Swiss Alps",
"taggedUsers": [],
"musicName": "Mountain Vibes - Ambient",
"coauthors": []
}

Tips

  • Start small: Test with a few posts first to verify the data meets your needs
  • Multiple hashtags: Process up to 10 hashtags in a single run to collect more data
  • Export formats: Download results as JSON, CSV, or Excel from the Dataset tab

Integrations

Connect this scraper to hundreds of other apps using Apify integrations. Popular options include:

  • Google Sheets — automatically export results to a spreadsheet
  • Slack — get notifications when new data is available
  • Zapier / Make — trigger workflows based on scraped data

Use cases

  • Content research: Discover trending posts and popular creators in your niche
  • Competitor analysis: Monitor what content performs well under industry hashtags
  • Inspiration collection: Build a library of high-performing post ideas
  • Trend tracking: Track how hashtag popularity changes over time
  • Influencer discovery: Find active creators posting under specific hashtags

FAQ

How many posts can I get per hashtag? Up to 24 trending posts per hashtag. Instagram's public hashtag pages show a curated selection of the most popular recent content, which currently consists mainly of Reels.

Why 24 posts? Instagram's public hashtag pages display a curated set of trending content. The number of posts available depends on what Instagram surfaces for each hashtag, so some hashtags return fewer.

Why are all results Reels? Instagram's trending hashtag pages currently feature Reels as the primary content format. The scraper extracts whatever content Instagram serves on these pages.

Why are some fields null? Detailed engagement data depends on each post's availability. If a post's detail page is temporarily unavailable, some values like timestamp or dimensions may be null. Core fields like postUrl and shortcode are always present.

Limitations

  • Up to 24 trending posts per hashtag
  • Maximum 10 hashtags per run
  • Media download URLs are temporary and expire after some time

Disclaimer

This Actor is provided for educational and research purposes only. Users are responsible for ensuring their use complies with Instagram's Terms of Service and all applicable laws and regulations. Please use this tool responsibly and ethically.


Looking for more data tools? Explore additional scrapers on the Apify Store.

Instagram hashtag scraper · Instagram Reels scraper · Instagram trending posts · hashtag analytics · social media data extraction. Works with modern automation and AI assistant workflows including Claude Code, OpenClaw, Gemini, Antigravity, Codex, and ChatGPT.