Instagram Post Scraper avatar

Instagram Post Scraper

Pricing

Pay per usage

Go to Apify Store
Instagram Post Scraper

Instagram Post Scraper

Scrape Instagram posts & reels with complete data including captions, likes, comments, tagged users, locations, and more. Get detailed engagement metrics, media URLs, and user information. Perfect for social media analysis and influencer research.

Pricing

Pay per usage

Rating

1.1

(4)

Developer

Louis Deconinck

Louis Deconinck

Maintained by Community

Actor stats

10

Bookmarked

181

Total users

0

Monthly active users

12 days ago

Last modified

Features

Full permissions

Share

Scrape Instagram posts & reels. Get detailed information about each post including captions, likes, comments count, video views, music, tagged users, locations, carousel items and the owner's follower count. No Instagram login or cookies needed.

What's new

This Actor now runs on a new, reliable data source. Instagram started blocking the anonymous web API the previous version relied on, which made runs fail. The output keeps the same field names, so existing integrations keep working (see the differences below).

The Actor has moved from free to pay-per-event pricing (see below).

🎯 Use Cases

  • Social Media Analysis: Track and analyze Instagram content strategies
  • Influencer Research: Gather data about influencer posts and engagement
  • Content Monitoring: Keep track of branded content and partnerships
  • Location Analysis: Study posts from specific locations
  • Engagement Tracking: Monitor post performance and user engagement

✨ Features

  • Complete Post Data: Captures all essential post information including media URLs, captions, and engagement metrics
  • Tagged Users: Extracts information about users tagged in posts
  • Location Data: Includes detailed location information when available
  • Engagement Metrics: Provides likes and comments counts
  • Post Metadata: Includes information about partnerships, affiliates, and post settings

📤 Output

The scraper provides detailed information about each Instagram post:

  • id: Unique identifier of the post
  • shortcode: Instagram shortcode for the post (used in post URL)
  • thumbnail_src: URL of the post thumbnail
  • height: Height of the media
  • width: Width of the media
  • display_url: URL of the post media
  • has_audio: Whether the post has audio
  • video_url: URL of the video if the post is a video
  • video_view_count: Number of views for the video
  • video_play_count: Number of plays for the video
  • video_duration: Duration of the video in seconds
  • music_artist: Name of the music artist if music is attributed
  • music_song: Name of the song if music is attributed
  • music_id: ID of the music if music is attributed
  • is_video: Whether the post is a video
  • product_type: feed, carousel_container or clips (reel)
  • tagged_users: Array of users tagged in the post, containing:
    • full_name: The full name of the tagged user
    • id: The ID of the tagged user
    • is_verified: Whether the tagged user is verified
    • profile_pic_url: The URL of the tagged user's profile picture
    • username: The username of the tagged user
  • owner_id: ID of the post owner
  • owner_username: Username of the post owner
  • owner_is_verified: Whether the post owner is verified
  • owner_profile_pic_url: URL of the post owner's profile picture
  • owner_full_name: Full name of the post owner
  • owner_is_private: Whether the owner's profile is private
  • owner_is_unpublished: Whether the owner's profile is unpublished
  • owner_posts_count: Number of posts by the owner (when "Include owner follower and post counts" is on)
  • owner_followers_count: Number of followers of the owner (when "Include owner follower and post counts" is on)
  • sidecar_children: Array of sidecar children if the post is a carousel, containing:
    • id: ID of the sidecar child
    • height: Height of the sidecar child media
    • width: Width of the sidecar child media
    • display_url: URL of the sidecar child media
    • is_video: Whether the sidecar child is a video
    • video_url: URL of the video if the sidecar child is a video
  • caption: Post caption text
  • caption_is_edited: Whether the caption has been edited
  • like_and_view_counts_disabled: Whether like and view counts are disabled
  • comment_count: Number of comments
  • comments: Preview comments Instagram includes with the post (often empty, see below), containing:
    • id: ID of the comment
    • text: Text of the comment
    • created_at: Timestamp when the comment was created
    • owner_id: ID of the comment owner
    • owner_is_verified: Whether the comment owner is verified
    • owner_profile_pic_url: URL of the comment owner's profile picture
    • owner_username: Username of the comment owner
    • likes_count: Number of likes on the comment
  • comments_disabled: Whether comments are disabled
  • taken_at_timestamp: Post creation timestamp
  • likes_count: Number of likes
  • is_affiliate: Whether the post is marked as affiliate content
  • is_paid_partnership: Whether the post is a paid partnership
  • location_id: ID of the tagged location
  • location_name: Name of the tagged location
  • location_short_name: Short name of the location
  • location_lat, location_lng: Coordinates of the location
  • location_address: Address of the location in JSON format
  • is_ad: Whether the post is an advertisement

Example Output:

{
"id": "3564593839739881831",
"shortcode": "DF3-zYSPcln",
"thumbnail_src": "https://scontent-atl3-1.cdninstagram.com/v/t51.29350-15/476775973_1704197313842259_3023337751564134801_n.heic?stp=c0.180.1440.1440a_dst-jpg_e35_s640x640_sh0.08_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=EtoXbLhVEEgQ7kNvgH7OqOG&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYBhnvBLmW7bFhYpT5Ibar-3WPrsYSEAs3diUo6OlXxomQ&oe=67BADA98&_nc_sid=d885a2",
"height": 1350,
"width": 1080,
"display_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.29350-15/476775973_1704197313842259_3023337751564134801_n.heic?stp=dst-jpg_e35_p1080x1080_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=EtoXbLhVEEgQ7kNvgH7OqOG&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYAocgYeZUXJucUitB4UcMEkZDraydzb_y4e0SkQiAgJiw&oe=67BADA98&_nc_sid=d885a2",
"is_video": false,
"tagged_users": [
{
"full_name": "Kris Jenner",
"id": "144646783",
"is_verified": true,
"profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/65501483_2046174542354674_2702833089855356928_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=q6KNQ-IGzBUQ7kNvgGvZDXz&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYDcoAYtLv3qabV4DetPk3trUD_yuFVqdhx_PY-TNG9Tbw&oe=67BADF27&_nc_sid=d885a2",
"username": "krisjenner"
}
],
"owner_id": "314216",
"owner_username": "zuck",
"owner_is_verified": true,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/432827943_795126845797128_3130780271506186087_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=x6XCAtkYKrcQ7kNvgG9x4OG&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYCIYXlVk4rUuhGb_AWx3YDfItUh5TG_iolgU2p-bHhoTQ&oe=67BAE1AA&_nc_sid=d885a2",
"owner_full_name": "Mark Zuckerberg",
"owner_is_private": false,
"owner_is_unpublished": false,
"owner_posts_count": 386,
"owner_followers_count": 15548480,
"caption": "the only appropriate hoodie @krisjenner",
"caption_is_edited": false,
"like_and_view_counts_disabled": false,
"comment_count": 7801,
"comments": [
{
"id": "17988138230795315",
"text": "Wise man😍👏",
"created_at": 1739914508,
"owner_id": "69099024239",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/462471388_579686367817992_1318016435491468476_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=Bw_u6aLvFD4Q7kNvgH4LTcA&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYANQCCojgIql0SCURv1HKah7NlWEkNFGpr2wHO2Wuy2iA&oe=67BAE07A&_nc_sid=d885a2",
"owner_username": "happy_tailsanimalshelter",
"likes_count": 0
},
{
"id": "18487712302016152",
"text": "mark give me the zuck",
"created_at": 1739914256,
"owner_id": "51627865545",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/409467619_989133325517178_2808750372361044586_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=2e4ougAC8yQQ7kNvgHEVJbe&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYBz61yF4u-YjzzB5gusrLFyOUqXRZ54JEQDvXrxT3V-Qg&oe=67BACED5&_nc_sid=d885a2",
"owner_username": "zenman_139",
"likes_count": 0
},
{
"id": "18095580376522461",
"text": "Dady u so handsome .",
"created_at": 1739914200,
"owner_id": "18273112570",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/136348203_108353721205866_817139017493490877_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=106&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=kUC9gGLkwsMQ7kNvgHjPIzB&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYBfUCdiVaSOVmHDezRyHY9MgWcMnkIQ7xlaQGhQKnbUQg&oe=67BAC174&_nc_sid=d885a2",
"owner_username": "gizzy.87",
"likes_count": 0
},
{
"id": "18041705936588647",
"text": "Very good! ❤️😍👏🔥🙌",
"created_at": 1739913076,
"owner_id": "2160458623",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/464546004_859417923025596_482827648617072079_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=8tA9ejmbelsQ7kNvgHAc5Zr&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYCrOh0FNMA07NBMZJhruoXo6EIx-q8fJXzaH2BkUc63cA&oe=67BAD785&_nc_sid=d885a2",
"owner_username": "hyoung_gab_oh",
"likes_count": 0
},
{
"id": "18047861525244903",
"text": "😍😍😍😍😍😍😍😍",
"created_at": 1739912209,
"owner_id": "622106676",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/478652193_1136318828126830_9015073587893814447_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=PFNS8teCStUQ7kNvgHPoS1U&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYAfLj8ywb6F8LbnK3-fdgcN2ZQeCOoJPgfy2fyzmB7NhA&oe=67BAC904&_nc_sid=d885a2",
"owner_username": "valciane_correa",
"likes_count": 0
},
{
"id": "18053120162144213",
"text": "Coitada da llama",
"created_at": 1739911969,
"owner_id": "2264271270",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/364359200_1333534710901114_4284818549776231034_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=-S7HA_AbXNQQ7kNvgF1iT6S&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYAPpG2KXDtwhCHVOIa5XdPxGA9MZ_f6tL5XCPXoKxUcJA&oe=67BABD40&_nc_sid=d885a2",
"owner_username": "fontx",
"likes_count": 0
},
{
"id": "18004758707546236",
"text": "😍😍😍",
"created_at": 1739911366,
"owner_id": "62651152763",
"owner_is_verified": false,
"owner_profile_pic_url": "https://scontent-atl3-3.cdninstagram.com/v/t51.2885-19/387770306_627038499509457_200178226935382779_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-atl3-3.cdninstagram.com&_nc_cat=109&_nc_oc=Q6cZ2AFZmGQr12zfUtwwMDHPVg6R0-PdJrfVSn_x-5QFzXD3OZ-B_d6H64bz4RtyB2lIdQU&_nc_ohc=V0YoqD5pUmoQ7kNvgEx5McA&_nc_gid=ad765d6328fe46f0b8c50d272bd12dda&edm=ANTKIIoBAAAA&ccb=7-5&oh=00_AYAr3SSK1JDHzImXfvi2i0gzkw7U4kh5INdAk2r-mO3OmA&oe=67BAC6E2&_nc_sid=d885a2",
"owner_username": "phamphuongtuong2008",
"likes_count": 0
}
],
"comments_disabled": false,
"taken_at_timestamp": 1739152720,
"likes_count": 270561,
"is_affiliate": false,
"is_paid_partnership": false,
"is_ad": false
}

💵 Pricing

You pay per scraped post plus a small fee per run. If "Include owner follower and post counts" is on (default), each unique post owner is looked up once per run and charged once, no matter how many of their posts you scrape. Posts that don't exist, were deleted or are private are not charged.

Apify planPer postPer owner profilePer 1,000 postsPer run
Free$0.006$0.006$6.00$0.010
Starter$0.005$0.005$5.00$0.009
Scale$0.0045$0.0045$4.50$0.008
Business & higher$0.004$0.004$4.00$0.007

Example (Starter plan): 100 posts from 10 different accounts = 100 × $0.005 + 10 × $0.005 + $0.009 = $0.559. With owner counts turned off: 100 × $0.005 + $0.009 = $0.509.

Set a "Max cost per run" to stay in control: the Actor stops cleanly when it is reached.

Differences from the previous version:

  • owner_is_embeds_disabled, location_has_public_page, location_slug and the shortcode of carousel items are no longer available. product_type, location_short_name, location_lat, location_lng and the carousel item video_url were added.
  • comments only holds the preview comments Instagram attaches to the post, which is often an empty list. comment_count is always filled. For full comment threads, use the Instagram Comments Scraper.
  • owner_posts_count and owner_followers_count need one extra lookup per post owner; turn off "Include owner follower and post counts" if you don't need them.
  • Posts that couldn't be scraped are listed in the SKIPPED_POSTS record of the key-value store.

📥 Input

  • posts: Array of Instagram post URLs, reel URLs or shortcodes to scrape. Duplicates are removed.
  • includeOwnerStats (default true): Add the owner's follower and post counts (one extra charged lookup per unique owner).

Example Input:

{
"posts": [
"https://www.instagram.com/p/DF3-zYSPcln/",
"https://www.instagram.com/p/DFNkPgRROOS/?img_index=1",
"DFERYfms1do",
"https://www.instagram.com/p/DE-UmMaP6_0/"
]
}

🚀 Usage

  1. Get started: Create an Apify account and open this Actor.
  2. Add input: Enter the Instagram post or reel URLs you want to scrape.
  3. Run the Actor: Click "Start". Optionally set a "Max cost per run".
  4. Retrieve the output: Download the results as JSON, CSV or Excel, or use the API.

🔌 Integrations

Make.com Integration: Automate your Instagram data collection by connecting this scraper to Make. Create workflows to:

  • Send post data to Google Sheets
  • Monitor new posts and get notifications
  • Analyze engagement metrics automatically
  • Archive media files

Gmail Integration: Use Google Workspace to:

  • Get email notifications about new posts
  • Send reports of post performance
  • Alert team members about specific post types

🔍 More Scraping Solutions

Check out my other scrapers on my Apify profile for:

  • Other social media platforms
  • E-commerce websites
  • Business directories
  • And more!

🛠️ Custom Scraper Development

Need a custom Instagram scraping solution? I can help! Contact me for:

  • Custom data fields
  • Specific filtering requirements
  • Integration with your systems
  • Specialized reporting needs