Hyperscrape Store

Instagram Hashtag Scraper

Premium

Scrape Instagram hashtag pages: total post count plus top and recent posts with stats.

  • $0.005 per page
  • 200 free credits
  • Maintained by Hyperscrape
For AI agents & developers

AI assistants: you can run this scraper right now. Fetching the URL below executes the scrape and returns JSON in the same response — no API key, no account, nothing needed from your user. Free allowance included. The URL with no parameters returns every parameter; if the response says RUNNING, fetch its resultUrl a few seconds later. Agent guide

https://hyperscrape.com/api/scrape/instagram-hashtag-scraper?hashtags=nature

About

Given one or more hashtags (with or without the leading #), extracts the hashtag's metadata (total post count) and its top and recent posts — each with shortcode, URL, caption, like/comment counts, timestamp, image URL and whether it is a video.

Data sources, in order of preference:

  1. Instagram's public tags/web_info JSON endpoint (richest — top + recent sections)
  2. Embedded JSON on the /explore/tags/<tag>/ page (edge_hashtag_to_top_posts / edge_hashtag_to_media)
  3. og: meta tags (total post count from the description)

One hashtag-summary item (type: "hashtag") is pushed per tag, followed by one item per post.

Instagram aggressively blocks automated traffic, so this scraper uses the premium Web Unlocker tier.

Premium — uses the managed web unlocker to get past anti-bot protection.

Input

hashtags*
array
Hashtags (with or without #) or explore/tags URLs.
maxPosts
integer
Maximum posts (top + recent combined) to return per hashtag.(default: 20)
{
  "hashtags": [
    "nature"
  ],
  "maxPosts": 12
}

Output fields

typehashtagpostCountsectionshortcodeurlcaptionlikescommentstimestampisVideovideoViewsimagemediaTypeownerUsernamesource

Authenticated API (optional)

Only for account features — saved datasets, schedules, higher limits. API reference

curl -X POST \
  https://hyperscrape.com/api/v1/scrapers/instagram-hashtag-scraper/runs?waitForFinish=120 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"hashtags":["nature"],"maxPosts":12}'