Instagram scraping tutorials
How to get Instagram data with code: 25 endpoints in Python, JavaScript, TypeScript, Go, PHP and cURL, each with a real sample response, parameters, pagination and pricing.
- Instagram profile
A public Instagram profile: bio, links, follower and post counts, highlights, and its latest posts.
- Instagram profile by user id
An Instagram profile looked up by numeric account id.
- Instagram post count
The exact number of posts on an Instagram profile.
- Instagram user posts
An Instagram account’s posts, newest first (12 a page) with like, comment and view counts.
- Instagram reels
An Instagram account’s reels (12 a page) with play, like and comment counts.
- Instagram post and reel
One Instagram post or reel: caption, counts incl. plays, media, tags, audio and location.
- Instagram comments
Comments on an Instagram post or reel, paginated (about 24 a page).
- Instagram similar accounts
Accounts Instagram suggests as similar to an account.
- Instagram highlights
The story highlights on an Instagram profile.
- Instagram highlight stories
Every story in an Instagram highlight, with media and link stickers.
- Instagram trending reels
The reels Instagram’s public reels feed is showing right now.
- Instagram reels by audio
Reels that use an Instagram audio, with the audio’s reel count.
- Instagram popular search
Instagram’s popular-search page for a topic: top posts, summary, related searches.
- Instagram reels search
Instagram reels about a keyword, with captions and counts.
- Instagram hashtag search
Instagram posts and reels carrying a hashtag.
- Instagram profile search
Instagram profiles matching a name or topic, with counts.
- Instagram search
Instagram accounts, hashtags and places matching a name.
- Instagram engagement rate
Engagement metrics over an Instagram account’s latest posts.
- Instagram profile analytics
An Instagram profile, a page of its posts with plays, and engagement metrics.
- Instagram posts with views
An Instagram account’s posts with reel play counts, up to 50 in one call.
- Instagram reels with captions
An Instagram account’s reels loaded in full, with captions and play counts.
- Instagram comment lookup
Find an Instagram comment by id, author or text.
- Instagram mentions
Instagram posts by others that mention an account.
- Instagram location
An Instagram place: name, category, coordinates, address and post count.
- Instagram location posts
The top Instagram posts tagged at a place.
Instagram API: every endpoint and its price.