Instagram Scraper icon

Instagram Scraper

Extract Instagram profiles, posts, hashtags, and engagement metrics. Ideal for influencer research and social media analytics.

As an Apify affiliate, we may earn a commission from qualifying purchases made through our links, at no extra cost to you. We only recommend tools we believe in.

EXCEL CSV JSON XML HTML RSS JSONL

Try It Out

Experience the power of this scraper for free.

Run Scraper Now
apify-console
➜ ~ apify call instagram-scraper
Loading actor configuration...
Running on Apify cloud...
✔ Run succeeded!
Fetched items: 1,245
Exporting to: CSV Excel

Overview

The Instagram Scraper is a powerful and reliable extraction tool designed for social media marketers, researchers, and brands. It allows you to gather deep intelligence from public Instagram profiles, including detailed follower/following counts, engagement rates, bio text, and public contact information. You can also scrape individual posts, reels, and IGTV videos to extract high-resolution images, full captions, timestamps, likes, and comments. Furthermore, you can track the performance of specific hashtags to monitor brand mentions or discover trending content. With built-in proxy rotation and automatic pagination, this tool bypasses Instagram's strict anti-bot protections to deliver clean, structured data at scale.

Key Features

Scrape public profiles and complete post histories
Extract precise engagement metrics (likes, views, comments)
Get accurate follower and following counts
Download high-resolution post images, carousels, and videos
Extract full captions, tags, and mentions
Track hashtag usage, top posts, and recent posts
Automatic proxy handling to prevent IP bans
Support for scrolling and infinite pagination handling
Export directly to standard formats like Excel and JSON

Use Cases

1

Influencer discovery and vetting for marketing campaigns

2

Track hashtag performance and viral trends over time

3

Analyze competitor social strategies and content mix

4

Build influencer contact databases (extract public emails from bios)

5

Monitor brand mentions, sentiment, and user engagement

6

Download high-quality images and videos for content archiving

7

Identify micro-influencers in specific niches

Input Parameters

Parameter Type Required Description
search String Optional Search query for users, hashtags, or places
directUrls Array Optional List of direct URLs to Instagram profiles or posts to scrape
resultsType String Optional What to extract: 'details', 'posts', 'comments', or 'followers'
resultsLimit Number Optional Maximum number of items to extract per URL (default 100)
searchLimit Number Optional Maximum number of search results to process

Sample Output

{
  "inputUrl": "https://www.instagram.com/apifytech/",
  "id": "4107246533",
  "username": "apifytech",
  "fullName": "Apify",
  "biography": "Web scraping and data extraction platform 🚀",
  "externalUrl": "https://apify.com",
  "followersCount": 12450,
  "followsCount": 543,
  "hasChannel": false,
  "isBusinessAccount": true,
  "joinedRecently": false,
  "private": false,
  "verified": true,
  "profilePicUrl": "https://scontent-lax3-1.cdninstagram.com/v/...",
  "postsCount": 342,
  "latestPosts": [...]
}

How to Use

  1. 1

    Click 'Try for Free' to open the Instagram Scraper on Apify.

  2. 2

    Sign up for a free Apify account if you haven't already.

  3. 3

    Configure the input: Enter Instagram usernames, post URLs, or hashtags.

  4. 4

    Select what you want to extract (e.g., Profile details, latest posts, or comments).

  5. 5

    Set a limit on the number of results to control costs and time.

  6. 6

    Click 'Start' and download your exported data in Excel, CSV, or JSON.

API Example

import { ApifyClient } from 'apify-client';

const client = new ApifyClient({
    token: 'YOUR_API_TOKEN',
});

const input = {
    "directUrls": [
        "https://www.instagram.com/apifytech/"
    ],
    "resultsType": "posts",
    "resultsLimit": 50
};

const run = await client.actor("apify/instagram-scraper").call(input);

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Pricing Structure

Pay-per-result model. Costs $1.50 per 1,000 results. With Apify's $5 free monthly credit, you can scrape roughly 3,300 posts or profiles per month at no cost.

Limitations

  • Cannot scrape private accounts unless you provide authenticating cookies (which is risky and can lead to bans).
  • Instagram frequently updates its layout, which may temporarily break the scraper until it is updated by the developers.
  • Extracting followers/following lists is highly restricted by Instagram and requires specialized actors or very slow extraction rates.

Frequently Asked Questions

Can I scrape private Instagram profiles?
No, this scraper is designed to extract publicly available data only. Scraping private profiles requires logging in, which violates Instagram's Terms of Service and significantly increases the risk of your account being permanently banned.
Can I extract followers from a specific account?
Extracting the complete list of followers for an account is extremely difficult due to aggressive rate-limiting by Instagram. While basic profile stats (the count) are easy to get, downloading the actual list of users usually requires specialized, slower scraping tools and residential proxies.
Is it safe to use this scraper?
Yes, because the scraper runs on Apify's cloud servers using their proxy network, your personal IP address and Instagram account are safe. The scraper does not require you to log in to extract public data.
Does this tool download videos or just images?
The scraper extracts the direct URL links to both high-resolution images and video files (including Reels and IGTV), which you can then download in bulk.

Extracted Data Details

Username & Display Name Biography Text Public Email/Phone (from bio) Follower/Following Count Total Post Count Profile Picture URL Post Captions & Timestamps Likes & Comment Counts Media URLs (Images/Videos) Tagged Users Hashtags Used Location Tags

Pricing Structure Freemium
Category Social Media
Last Verified Mar 2026

View on Apify Store

Need a Custom Solution?

Contact us for a bespoke scraper built to your exact requirements.

Hire an Expert
Instagram Scraper

Instagram Scraper

Ready to extract data from {name}

Run for Free