Instagram Post Scraper
Pricing
$1.50 / 1,000 results
Instagram Post Scraper
This Apify Actor extracts recent Instagram posts (including videos, captions, and metadata) from specified public usernames.
Pricing
$1.50 / 1,000 results
Rating
5.0
(1)
Developer
APISmith
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
5 days ago
Last modified
Categories
Share
Instagram Posts Scraper
This Apify Actor extracts recent Instagram posts (including videos, captions, and metadata) from specified public usernames.
It is designed for lightweight, structured data collection with support for multiple usernames and customizable result limits.
🚀 Features
- Scrape posts from one or more Instagram usernames
- Supports video posts, images, and metadata
- Returns structured JSON output
- Includes engagement metrics (likes, comments)
- Extracts media URLs (video, audio, images)
- Fast and scalable via Apify platform
📥 Input
Provide a JSON object with the following structure:
{"resultsLimit": 12,"usernames": ["bbcnews"]}
Input Parameters
| Field | Type | Description |
|---|---|---|
resultsLimit | Number | Maximum number of posts to return per username |
usernames | Array | List of Instagram usernames to scrape |
📤 Output
The Actor returns an array of post objects with detailed metadata.
Example Output
[{"id": "3879307207867408382_16278726","pk": "3879307207867408382","type": "Video","shortCode": "DXWEVojjJ_-","caption": "The US has intercepted an Iranian-flagged cargo ship...","url": "https://www.instagram.com/p/DXWEVojjJ_-/","commentsCount": 118,"dimensionsHeight": 1136,"dimensionsWidth": 640,"displayUrl": "https://...","images": [],"childPosts": [],"videoUrl": "https://...","audioUrl": "https://...","likeCount": 1147,"timestamp": 1776669508,"ownerId": "16278726","ownerUsername": "bbcnews","ownerFullName": "BBC News","ownerProfilePicUrl": "https://...","productType": "clips","isCommentsDisabled": false,"inputUrl": "bbcnews","alt": "","videoDuration": 0,"artist_name": "bbcnews","song_name": "原声","should_mute_audio": false,"should_mute_audio_reason": "","audio_id": "26793687173599804"}]
📊 Output Fields Explained
| Field | Description |
|---|---|
id | Unique identifier of the post |
pk | Instagram internal post ID |
type | Type of post (e.g., Video, Image) |
shortCode | Instagram shortcode |
caption | Post caption text |
url | Direct link to the post |
commentsCount | Number of comments |
likeCount | Number of likes |
timestamp | Unix timestamp of post creation |
displayUrl | Thumbnail or cover image |
videoUrl | Video file URL (if applicable) |
audioUrl | Audio track URL (if available) |
images | Array of image URLs (for carousel posts) |
childPosts | Nested posts (if carousel) |
ownerUsername | Username of the post owner |
ownerFullName | Full name of the account |
ownerProfilePicUrl | Profile picture URL |
productType | Instagram content type (e.g., clips) |
isCommentsDisabled | Whether comments are disabled |
⚙️ Usage
- Open the Actor in Apify Console
- Enter your input JSON
- Click Run
- Download results as JSON, CSV, or via API
🔗 API Access
You can run this Actor programmatically using the Apify API:
curl "https://api.apify.com/v2/acts/YOUR-ACTOR-ID/run-sync-get-dataset-items?token=YOUR-API-TOKEN" \-H "Content-Type: application/json" \-d '{"resultsLimit": 12,"usernames": ["bbcnews"]}'
⚠️ Notes
- Only public Instagram profiles are supported
- Data availability depends on Instagram's structure and rate limits
- Large requests may take longer to process
📌 Use Cases
- Social media monitoring
- News tracking (e.g., BBC, CNN, etc.)
- Influencer analytics
- Content archiving
- Trend analysis