Instagram Posts Scraper
Pricing
from $0.60 / 1,000 results
Instagram Posts Scraper
Turn public Instagram post and reel links into structured data. No login. One row per URL, with the caption, photos, video, likes, comment count, author, and audio. Works for photos, carousels, videos, and Reels.
Pricing
from $0.60 / 1,000 results
Rating
0.0
(0)
Developer
Alien Force
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Overview
The Instagram Posts Scraper collects public Instagram posts and reels from post URLs. Paste /p/ or /reel/ links and get structured rows with captions, media URLs, stats, and author details.
This actor does not take profile usernames or scrape a profile grid. Each input URL becomes one dataset row.
Key Features
- Post URL input: Accepts
/p/,/reel/,/reels/,/tv/, andinstagram.com/{user}/p|reel/{code}links. - Photos, carousels, videos, and reels: Detects media type from the public post payload.
- Caption and tags: Caption text plus hashtags and @mentions parsed from it.
- Engagement: Likes and comment counts when Instagram includes them for logged-out viewers.
- Author details: Username, display name, verified flag, and profile URL.
- Proxy support: Datacenter proxies by default; switch to residential if Instagram starts blocking.
- Fast and lightweight: HTTP fetch with browser TLS impersonation. No login.
Input Schema
Input Properties
-
startUrls(required)- Type:
array - Description: Public Instagram post or reel URLs.
- Example:
[{ "url": "https://www.instagram.com/p/Cs9iEotsiGY/" }]
- Type:
-
proxyConfiguration- Type:
object - Description: Proxy settings for the run. Apify Proxy datacenter IPs are used by default. If Instagram starts returning empty pages, switch to the
RESIDENTIALgroup. - Example:
{ "useApifyProxy": true }
- Type:
At least one startUrls entry must be a valid Instagram post or reel URL.
Input Example
{"startUrls": [{ "url": "https://www.instagram.com/p/Cs9iEotsiGY/" },{ "url": "https://www.instagram.com/p/Csthn7EO99u/" },{ "url": "https://www.instagram.com/reel/Cs9iEotsiGY/" }],"proxyConfiguration": {"useApifyProxy": true}}
Output
One dataset row per post URL.
| Field | Type | Description |
|---|---|---|
inputUrl | string | URL as given in the input |
postUrl | string | Canonical post or reel URL |
postId | string | Instagram media ID |
shortcode | string | Shortcode from the URL |
mediaType | string | photo, video, carousel, or reel |
caption | string | Post caption |
hashtags | string[] | Hashtags in the caption |
mentions | string[] | @mentions in the caption |
takenAt | integer | Post time (Unix timestamp, seconds) |
displayUrl | string | Cover image or first media URL |
imageUrls | string[] | Image URLs, including carousel slides |
videoUrl | string | Best available video URL |
videoDuration | number | Video duration in seconds (DASH / CDN metadata when Instagram omits video_duration) |
width | integer | Original media width |
height | integer | Original media height |
likeCount | integer | Likes |
commentCount | integer | Comments |
playCount | integer | Plays / views. Logged-out post pages usually omit this, so it is often null |
commentsDisabled | boolean | Whether comments are disabled |
locationName | string | Location name when tagged |
ownerId | string | Author user ID |
ownerUsername | string | Author username |
ownerFullName | string | Author display name |
ownerVerified | boolean | Verified author |
ownerProfileUrl | string | Author profile URL |
taggedUsers | string[] | Usernames tagged in the media |
coauthorUsernames | string[] | Coauthor usernames |
audioId | string | Instagram audio / original sound ID |
audioUrl | string | Public audio page, e.g. https://www.instagram.com/reels/audio/{id}/ |
audioTitle | string | Reel / clip audio title |
audioArtist | string | Reel / clip audio artist |
audioIsOriginal | boolean | Whether the audio is original sound |
isPaidPartnership | boolean | Paid partnership flag when present |
scrapedAt | string | When the post was scraped |
Media CDN URLs expire. Treat displayUrl / videoUrl as short-lived.
Handling of missing and blocked inputs
Inputs that yield no post are kept out of the dataset and reported in the RUN_REPORT record in the run's key-value store, alongside a warning in the log. Each entry lists the original input, the resolved postUrl and shortcode, a reason (empty, gated, notAvailable, invalidInput, or requestFailed), and a human-readable message.
- Private or gated post: skipped as
gated. A logged-out page that does not actually mark the post as private or gated is retried first.gatedis reported when the page marks it that way, or when those retries are used up. - Removed or unavailable post: skipped as
notAvailable, with no retries. This covers a "Post isn't available" page and the same outcome from the page payload or status. - Input without a usable shortcode: skipped as
invalidInput. If no input yields a post URL, the run fails with an input error. - Blocked request: automatically retried. If every retry fails, the input is skipped as
requestFailed. A run where all targets were blocked fails with a clear message.
The run's status message always reports how many posts were scraped and how many inputs were skipped.