Instagram Posts Scraper
PremiumScrape recent Instagram posts per profile with likes, comments, captions and image URLs.
- $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-posts-scraper?usernames=natgeoAbout
Given one or more Instagram usernames (or profile URLs), extracts each account's most recent posts with full engagement stats: shortcode, post URL, caption (plus extracted hashtags and mentions), like and comment counts, timestamp, media type (image / video / carousel), video view counts, image URLs, dimensions and accessibility caption.
Complements the Instagram Profile Scraper (which focuses on bio/followers): this one pushes one item per post, with the profile's follower/post totals attached to every item for context.
Data sources, in order of preference:
- Instagram's public
web_profile_infoJSON endpoint (tried on two hosts) - Modern embedded relay timeline JSON in the profile page HTML
- Legacy embedded
edge_owner_to_timeline_mediaJSON og:meta tags (profile totals only — used to report why no posts were found)
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
usernames*array | Instagram usernames or profile URLs to pull recent posts from. |
maxPostsPerProfileinteger | Maximum posts to return per profile. The page embeds ~12; more are fetched via paginated GraphQL while the run's request budget lasts.(default: 12) |
{
"usernames": [
"natgeo"
],
"maxPostsPerProfile": 6
}Output fields
usernameshortcodeurlcaptionhashtagsmentionslikescommentstimestampisVideovideoViewsimagecarouselImagesmediaTypewidthheightprofileFollowersprofilePostCountsourceAuthenticated API (optional)
Only for account features — saved datasets, schedules, higher limits. API reference
curl -X POST \
https://hyperscrape.com/api/v1/scrapers/instagram-posts-scraper/runs?waitForFinish=120 \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"usernames":["natgeo"],"maxPostsPerProfile":6}'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.