Hyperscrape Store

Instagram Posts Scraper

Premium

Scrape 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=natgeo

About

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:

  1. Instagram's public web_profile_info JSON endpoint (tried on two hosts)
  2. Modern embedded relay timeline JSON in the profile page HTML
  3. Legacy embedded edge_owner_to_timeline_media JSON
  4. 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.
maxPostsPerProfile
integer
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

usernameshortcodeurlcaptionhashtagsmentionslikescommentstimestampisVideovideoViewsimagecarouselImagesmediaTypewidthheightprofileFollowersprofilePostCountsource

Authenticated 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}'