Instagram Hashtag Scraper avatar

Instagram Hashtag Scraper

Pricing

from $6.00 / 1,000 post scrapeds

Go to Apify Store
Instagram Hashtag Scraper

Instagram Hashtag Scraper

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

Pricing

from $6.00 / 1,000 post scrapeds

Rating

0.0

(0)

Developer

Andrew

Andrew

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 hours ago

Last modified

Share

Extract posts, Reels, captions, and engagement metrics from any public Instagram hashtag — no login or cookies required.

What you get

For every post under a hashtag, the scraper returns a structured record with:

Post metadata

  • Post ID, shortcode, and direct post URL
  • Media type (photo, video, carousel) and product type (feed, clips/Reels)
  • Post timestamp (ISO 8601 and Unix)
  • Caption text with auto-extracted hashtags and @mentions

Engagement stats

  • Like count, comment count, view count, play count
  • Video duration (for Reels and video posts)

Media URLs

  • Thumbnail / cover image URL
  • Video URL (direct MP4, when available)

Author profile

  • Author ID, username, full name
  • Profile picture URL
  • Verified and private flags

Location (when set on the post)

  • Location name and city

Pagination

  • NEXT_PAGE_ID cursor so you can resume from where a previous run left off

Use cases

  • Trend research — monitor which posts are gaining traction under a hashtag and spot viral content early
  • Influencer discovery — find creators actively posting in a niche before they break out
  • Content strategy — analyse top-performing posts in a hashtag to understand what hooks, formats, and audio drive engagement
  • Competitor analysis — track how a brand or product hashtag is growing over time
  • Audience research — measure hashtag volume, engagement rates, and creator participation across niches
  • Social media monitoring — track branded or campaign hashtags and pull structured data into your own dashboard

How to use

  1. Enter the hashtag — with or without # (e.g. coffee or #travel)
  2. Choose Top Posts (mixed photos + Reels) or Reels Only
  3. Set Max Posts — default 100 per run, or 0 for unlimited (will stop ~60s before the actor timeout)
  4. Run the actor — results appear in the Dataset tab
  5. To fetch the next page, copy NEXT_PAGE_ID from the Key-value store tab and paste it into Page ID on the next run

Output format

Each dataset record:

{
"postId": "3899803439831518781",
"shortcode": "DYe4pEFAQ49",
"postUrl": "https://www.instagram.com/p/DYe4pEFAQ49/",
"mediaType": "photo",
"productType": "feed",
"takenAt": "2026-05-18T14:00:19.000Z",
"takenAtTimestamp": 1779112819,
"caption": "Morning brew. #coffee #latteart",
"hashtags": ["coffee", "latteart"],
"mentions": [],
"likeCount": 529,
"commentCount": 2,
"viewCount": null,
"playCount": null,
"videoDuration": null,
"thumbnailUrl": "https://scontent.cdninstagram.com/...",
"videoUrl": null,
"authorId": "580240992",
"authorUsername": "chrishallbeck",
"authorFullName": "Chris Hallbeck",
"authorProfilePicUrl": "https://scontent.cdninstagram.com/...",
"authorIsVerified": false,
"authorIsPrivate": false,
"locationName": "Taroudant, Marocco",
"locationCity": null
}

Pagination

Each run returns up to Max Posts records. For large hashtags, use the pagination cursor to collect more across multiple runs:

  1. Run the actor — when it finishes, NEXT_PAGE_ID is saved in the Key-value store tab
  2. Copy the NEXT_PAGE_ID value
  3. Start a new run with the same hashtag and paste it into the Page ID field
  4. Repeat until NEXT_PAGE_ID is null (hashtag fully exhausted)

If a single run takes you to the actor timeout, the cursor still gets written before the run ends so you can resume on the next run.