Instagram Profile Scraper avatar
Instagram Profile Scraper

Pricing

$0.99 / 1,000 results

Go to Apify Store
Instagram Profile Scraper

Instagram Profile Scraper

Developed by

TheDoor

TheDoor

Maintained by Community

This actor scrapes public Instagram profiles and collects post data such as post URLs, like counts, comment counts, captions, timestamps, media info, and more for each post. It streams up to 30 posts per profile.

0.0 (0)

Pricing

$0.99 / 1,000 results

0

6

6

Last modified

6 days ago

Instagram Profile Scraper Actor

Overview

This actor scrapes public Instagram profiles and collects post data such as post URLs, like counts, comment counts, captions, timestamps, media info, and more for each post. It streams up to 30 posts per profile.

How to Input

Provide an input JSON with the following format:

{
"url": [
"https://www.instagram.com/profile1/",
"https://www.instagram.com/profile2/"
],
"maxPosts": 30
}
  • url: Array of Instagram profile URLs to scrape.
  • maxPosts: Maximum number of posts to fetch per profile (default: 30).

Output Format

Each post is streamed as a JSON object with the following structure:

{
"post_url": "https://www.instagram.com/p/SHORTCODE/",
"like_count": 1234,
"comment_count": 56,
"caption": "Post caption text...",
"human_timestamp": "MM/DD/YYYY, HH:MM:SS AM/PM",
"id": "POST_ID",
"shortcode": "SHORTCODE",
"is_video": false,
"taken_at_timestamp": 1234567890,
"dimensions": { "height": 1080, "width": 1080 },
"display_url": "https://...jpg",
"hashtags": ["tag1", "tag2"],
"owner_id": "USER_ID",
"owner_username": "username",
"location": "",
"accessibility_caption": "",
"carousel": [],
"profile_url": "https://www.instagram.com/username/"
}

Example Output

{
"post_url": "https://www.instagram.com/p/DN3i2FNUuLB/",
"like_count": 5762,
"comment_count": 112,
"caption": "Back on the Joe Rogan Experience for the second time. Big thanks to @joerogan for the invite - always an honor to sit down and talk about the game I love.\nAvailable on YT and Spotify.",
"human_timestamp": "8/27/2025, 6:05:32 PM",
"id": "3708586068188259009",
"shortcode": "DN3i2FNUuLB",
"is_video": false,
"taken_at_timestamp": 1756317932,
"dimensions": { "height": 1080, "width": 1080 },
"display_url": "https://instagram.fhan3-3.fna.fbcdn.net/v/t51.2885-15/539658308_18525902818053625_7679820747071942483_n.jpg?...",
"hashtags": [],
"owner_id": "1205749624",
"owner_username": "gorstyanich",
"location": "",
"accessibility_caption": "",
"carousel": [],
"profile_url": "https://www.instagram.com/gorstyanich/"
}