Instagram Hashtag Scraper
PremiumScrape 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=natureAbout
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:
- Instagram's public
tags/web_infoJSON endpoint (richest — top + recent sections) - Embedded JSON on the
/explore/tags/<tag>/page (edge_hashtag_to_top_posts/edge_hashtag_to_media) 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. |
maxPostsinteger | Maximum posts (top + recent combined) to return per hashtag.(default: 20) |
{
"hashtags": [
"nature"
],
"maxPosts": 12
}Output fields
typehashtagpostCountsectionshortcodeurlcaptionlikescommentstimestampisVideovideoViewsimagemediaTypeownerUsernamesourceAuthenticated 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}'Related scrapers
Instagram Scraper
hyperscrape/instagram-profile-scraper
Paste a profile or post link — get followers, every post with images and stats, or full post data with comments.
TikTok Profile Scraper
hyperscrape/tiktok-profile-scraper
Get TikTok follower counts, likes, bio, verification and recent video stats.
Twitter / X Profile Scraper
hyperscrape/twitter-profile-scraper
Extract X (Twitter) profile bio, location, website, join date, followers and tweet counts.