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. (Beta)

Pricing

from $5.00 / 1,000 results

Rating

5.0

(1)

Developer

Futurize Rush

Futurize Rush

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 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.

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. coffee, #sunset, or paste a hashtag URL)
  3. (Optional) Set a date filter to only get recent posts
  4. Click Start and wait for the results in the Dataset tab

Input settings

SettingDescriptionDefault
HashtagsInstagram hashtags to scrape (1-10). The scraper extracts up to 24 trending posts per hashtag.Required
Posts Newer ThanOnly get posts after this date. Use a date (2026-01-15) or relative period (7 days, 1 month).No filter

Supported input formats

The scraper accepts hashtags in multiple formats:

FormatExampleResult
Plain textcoffee#coffee
With hash symbol#coffee#coffee
Mixed caseCoffee#coffee
Hashtag URLhttps://www.instagram.com/explore/tags/coffee/#coffee
Unicode東京#東京

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)
mediaTypestringimage, video, or carousel
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
commentsDisabledbooleanComments turned off
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": "coffee",
"hashtagMediaCount": 364000000,
"hashtagPostUrl": "https://www.instagram.com/explore/tags/coffee/",
"username": "coffeelover",
"postUrl": "https://www.instagram.com/reel/ABC123/",
"mediaDownloadUrl": "https://scontent.cdninstagram.com/...",
"mediaType": "video",
"caption": "Morning brew #coffee #latte #coffeeshop",
"hashtags": ["coffee", "latte", "coffeeshop"],
"mentions": [],
"title": "Morning brew #coffee #latte #coffeeshop",
"description": "Morning brew #coffee #latte #coffeeshop",
"author": "coffeelover",
"shortcode": "ABC123",
"likes": 342,
"comments": 12,
"commentsDisabled": false,
"timestamp": "2026-01-15T08:30:00.000Z",
"scrapedAt": "2026-02-22T10: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": "Blue Bottle Coffee",
"taggedUsers": [],
"musicName": "Coffee Shop Jazz - Smooth Vibes",
"coauthors": []
}

Tips

  • Start small: Test with a few posts first to verify the data meets your needs
  • Use date filters: Set "Posts Newer Than" to get only recent content
  • 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.

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.