# Fast Instagram Scraper (`solutionssmart/fast-instagram-scraper`) Actor

Fast, low-cost Instagram scraper ($0.30/1k) with no login required. Extracts public posts, reels, comments, profiles, hashtags, bio emails, and engagement stats. Drop-in replacement for apify/instagram-scraper.

- **URL**: https://apify.com/solutionssmart/fast-instagram-scraper.md
- **Developed by:** [Solutions Smart](https://apify.com/solutionssmart) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What is Fast Instagram Scraper?

**Fast Instagram Scraper** extracts public **Instagram data** from [Instagram](https://www.instagram.com/): **posts, reels, comments, profiles and hashtags**. Paste profile links, usernames, post links or hashtags, click **Start**, and download the results as a spreadsheet or through the API. You need no Instagram account, no login and no API key, so it works as a fast, low-cost **Instagram API** alternative.

It also works as a **drop-in replacement for [Instagram Scraper](https://apify.com/apify/instagram-scraper)**. The input and output fields are the same, so your existing runs, schedules and integrations keep working after you switch.

### Why use Fast Instagram Scraper?

- ⚡ **Fast.** 20 posts with full details take about 6 seconds, 40 comments about 3 seconds.
- 💸 **Low cost.** From **$0.30 per 1,000 results**. Fully detailed posts cost $1.20 per 1,000, against $1.50 to $2.70 per 1,000 for comparable scrapers.
- 📇 **Lead data included.** Every profile comes with the **emails, phone numbers and links** found in its bio and business details, plus **engagement statistics** such as average likes, engagement rate and posting frequency.
- 🔁 **Drop-in compatible.** It uses the same input fields and output columns as Instagram Scraper.
- 🧠 **Simple input.** Use full links, plain usernames (`natgeo` or `@natgeo`) or hashtags (`#travel`).
- 🛠️ **Keeps working.** When Instagram changes its website, the scraper adapts on its own in most cases.
- 🔌 **Apify platform.** Run on a schedule, call it through the API, monitor every run, use built-in proxy rotation, and send results to Google Sheets, Slack, Make, Zapier or a webhook.

**Use it for:** influencer research and vetting, lead generation from business profiles, brand and competitor monitoring, hashtag and trend research, and comment and sentiment analysis.

### What Instagram data can you extract?

| Data | Examples |
|---|---|
| 📸 Posts and reels | Caption, hashtags, mentions, likes, comments count, video plays, publish date, pinned flag |
| 🖼️ Media | Image and video URLs, carousel items, video duration, music used in reels |
| 👤 Profiles | Username, full name, bio, followers, following, post count, verified and business status, category, website |
| 📇 Contacts | Emails, phone numbers and links from the bio and business contact details |
| 📈 Engagement | Average likes, comments and views, engagement rate, posts per week, last post date |
| 💬 Comments | Comment text, author, likes, reply count, date |
| #️⃣ Hashtags | Top posts for a hashtag and related hashtags |
| 🔗 Related profiles | Accounts similar to the profile |

### How to scrape Instagram

1. Create a free [Apify account](https://console.apify.com/sign-up).
2. Open Fast Instagram Scraper and go to the **Input** tab.
3. Choose what to scrape: **posts**, **reels**, **comments** or **profile details**.
4. Add Instagram profile links, usernames, post links or hashtags. You can also type a hashtag search.
5. Set how many results you want per link and, if you like, a date filter such as "last 30 days".
6. Click **Start** and wait for the run to finish.
7. Download your data as **Excel, CSV, JSON or HTML**, or connect it to your other apps.

### How much does it cost to scrape Instagram?

You pay only for the results you get. Proxy and server costs are included.

| What you get | Price per 1,000 |
|---|---|
| Profiles, comments, hashtag rows and fast-mode posts | **$0.30** |
| Posts and reels with full details (default) | **$1.20** ($0.30 + $0.90 for the details) |

| Example | Fast mode | Full details |
|---|---|---|
| 1,000 posts | $0.30 | $1.20 |
| 10,000 posts | $3.00 | $12.00 |
| 1,000 profiles with contacts and engagement | $0.30 | $0.30 |
| 10,000 comments | $3.00 | $3.00 |

**Is scraping Instagram free?** Apify's free plan gives you monthly platform credit. At these prices, $5 of credit covers about 16,000 profiles or comments, or about 4,000 fully detailed posts. Failed or unavailable items are **never charged**. You can also set a maximum cost per run, and the scraper stops when it reaches it.

**Full details or fast mode?** By default each post is fully detailed: comment count, latest comments, carousel images, video link, tagged users and music. Turn off **Full post details** for fast mode. You still get the caption, likes, date, type, image, owner and pinned flag, at a quarter of the price.

### What can you scrape without an Instagram login?

This scraper never logs in, so it only collects what Instagram shows to visitors who are not logged in:

| Content | Available | Notes |
|---|---|---|
| Posts from a profile | ✅ Yes | All posts, with date filter and pinned-post handling |
| Single posts and reels | ✅ Yes | From a post or reel link |
| Reels from a profile | ✅ Yes | Sometimes Instagram shows only the latest 12 reels; you then get a note in the results |
| Profile details | ✅ Yes | With contacts, engagement and related profiles |
| Comments on a post | ✅ Yes | Top-level comments, newest or most relevant first |
| Hashtags | ⚠️ Partly | About 12 to 18 top posts per hashtag, plus related hashtags. The total post count is not available |
| Profile search | ⚠️ Partly | Each search term is used as an exact username |
| Comment replies | ❌ No | Needs a login |
| Stories | ❌ No | Needs a login |
| Tagged posts (mentions) | ❌ No | Needs a login |
| Locations and place search | ❌ No | Needs a login |
| Private profiles | ❌ No | Only visible to approved followers |

When something needs a login or is unavailable, you get a short note in the results explaining why. These notes are free.

### Input

See the **Input** tab for every option. Most runs need only links or usernames, the content type and a results limit. Some examples:

**Recent posts from two profiles**

```json
{
	"directUrls": ["https://www.instagram.com/humansofny/", "@natgeo"],
	"resultsType": "posts",
	"resultsLimit": 50,
	"onlyPostsNewerThan": "30 days"
}
```

**Profile details with contacts and engagement**

```json
{
	"directUrls": ["humansofny", "natgeo"],
	"resultsType": "details"
}
```

**Newest comments on a post**

```json
{
	"directUrls": ["https://www.instagram.com/p/DZxvMgyH8yR/"],
	"resultsType": "comments",
	"resultsLimit": 100,
	"isNewestComments": true
}
```

**Hashtag search**

```json
{
	"search": "travel, foodie",
	"searchType": "hashtag",
	"searchLimit": 5,
	"resultsLimit": 20
}
```

Good to know:

- When you add links, the search field is ignored.
- The date filter accepts a date (`2025-01-15`) or a period (`3 days`, `2 weeks`, `1 year`).
- Pinned posts are included even when they are older than the date filter. Turn on **Skip pinned posts** to leave them out; with a date filter, recent pinned posts are still kept.

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. Shortened examples:

**Post**

```json
{
	"inputUrl": "https://www.instagram.com/exampleuser/",
	"type": "Video",
	"shortCode": "DAbCdEfGhIj",
	"url": "https://www.instagram.com/p/DAbCdEfGhIj/",
	"caption": "Sunset over the bay #travel with @anotheruser",
	"hashtags": ["travel"],
	"mentions": ["anotheruser"],
	"likesCount": 1234,
	"commentsCount": 56,
	"videoPlayCount": 20345,
	"videoDuration": 45.4,
	"timestamp": "2026-11-15T12:00:00.000Z",
	"isPinned": false,
	"ownerUsername": "exampleuser",
	"ownerFullName": "Example Studio",
	"displayUrl": "https://scontent.cdninstagram.com/v/t51.2885-15/...jpg",
	"videoUrl": "https://scontent.cdninstagram.com/o1/v/t16/...mp4",
	"latestComments": [{ "text": "Great shot!", "ownerUsername": "fanaccount", "likesCount": 3 }]
}
```

**Profile with contacts and engagement**

```json
{
	"username": "exampleuser",
	"fullName": "Example Studio",
	"biography": "Wedding photographer. Bookings: hello@example.com",
	"followersCount": 123456,
	"followsCount": 321,
	"postsCount": 789,
	"verified": false,
	"isBusinessAccount": true,
	"businessCategoryName": "Photographer",
	"externalUrl": "https://example.com/",
	"contacts": {
		"emails": ["hello@example.com"],
		"phones": ["+1 212 555 0100"],
		"urls": ["https://example.com/"]
	},
	"engagement": {
		"avgLikes": 1520.5,
		"avgComments": 34.2,
		"engagementRate": 1.26,
		"postsPerWeek": 2.5,
		"lastPostAt": "2026-11-20T12:00:00.000Z"
	}
}
```

**Comment**

```json
{
	"postUrl": "https://www.instagram.com/p/DZxvMgyH8yR/",
	"text": "Great shot!",
	"ownerUsername": "fanaccount",
	"likesCount": 3,
	"repliesCount": 2,
	"timestamp": "2026-06-22T08:05:38.000Z"
}
```

The engagement rate is a percentage: (average likes + average comments) ÷ followers × 100. It is based on the profile's latest posts, without pinned posts.

### Tips for faster and cheaper Instagram scraping

- 🎯 Set a **results limit** and a **date filter**. The scraper stops as soon as it has what you asked for.
- 💡 Use **fast mode** (turn off Full post details) when captions, likes, dates and images are enough. It costs a quarter of the price.
- 🚀 For long lists of profiles, raise **Max concurrency** to scrape several profiles at once.
- 🏠 Keep the default **residential proxy**. Instagram blocks most other connections.

### Ready-made Instagram scraping tasks

Start from a ready-made task and change only the accounts, posts or hashtags:

- **Instagram profile email scraper**: public emails, phone numbers and website links from creator profiles.
- **Instagram hashtag scraper**: the top posts for any hashtag, with captions, likes, comments and authors.
- **Instagram comments scraper**: the comments of a post or reel, with author, likes and date.
- **Instagram reels scraper**: the latest reels of an account, with views, likes, music and video links.
- **Instagram influencer engagement rate checker**: followers, average likes, comments and views, and engagement rate for a list of influencers.
- **Instagram competitor post monitor (last 7 days)**: everything your competitors posted this week. Schedule it to run weekly.
- **Instagram business leads: contacts from profiles**: contact details, websites and categories of brands, plus similar accounts.
- **Instagram post scraper (fast mode, cheapest)**: captions, likes, dates and images at a quarter of the price.
- **Instagram single post details + comments**: everything about one post or reel, including its latest comments.
- **Instagram brand mentions via hashtag search**: posts that mention a brand through its hashtags.

### FAQ

#### Is it legal to scrape Instagram?

This scraper collects only data that people have chosen to make public on Instagram. It never logs in and cannot see private profiles. Your results can still contain personal data, such as names, bios or contact details that people published. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

#### Can I scrape Instagram emails and phone numbers?

Yes, when the account shows them publicly. Profile results include a `contacts` section with the emails, phone numbers and links found in the bio and the business contact details. Many personal accounts publish none.

#### Do I need an Instagram account?

No. The scraper works without an account or login, so no account of yours can be blocked.

#### How is it different from Instagram Scraper?

It is faster and costs less, and it adds contacts and engagement statistics to profiles. The input and output are the same, so you can switch without changing your integrations. Like other scrapers that don't log in, it cannot collect stories, tagged posts or location pages.

#### Why do some results say "login_required" or "not_found"?

The content needs an Instagram login, the account is private, or the post or profile no longer exists. These notes explain what happened and are never charged.

#### Can I use the Instagram scraper through an API?

Yes. Start runs and download results with the [Apify API](https://docs.apify.com/api/v2). The **API** tab has ready-made examples for Python, JavaScript and cURL. You can also schedule runs and send the data to Google Sheets, Slack, Make, Zapier or any webhook.

#### Something isn't working?

Open an issue in the **Issues** tab and include the run link. We're also open to building custom features for your use case.

# Actor input Schema

## `resultsType` (type: `string`):

**Posts** returns a feed of content. **Profile, hashtag, or place details** returns metadata about the page: follower count, bio, post count, profile picture, plus contact and engagement data.<br><br>Comments only work with post URLs, e.g. `instagram.com/p/ABC123xyz/`, not `instagram.com/username/`.

## `directUrls` (type: `array`):

One or more Instagram URLs, usernames (`humansofny` or `@humansofny`) or hashtags (`#travel`).<br><br>URL format must match your content type:<ul><li><code>/p/</code> for posts and comments</li><li><code>/reel/</code> for reels</li><li><code>/username/</code> for profile details</li></ul>Leave blank if you use the search query instead.

## `startUrls` (type: `array`):

Older name for Instagram URLs, as `{"url": "..."}` objects or plain strings. Merged with Instagram URLs.

## `resultsLimit` (type: `integer`):

How many posts, reels or comments to scrape per Instagram URL or hashtag. When omitted there is no limit. Higher values increase cost.<br><br>Use `1` to get a single post per page.

## `onlyPostsNewerThan` (type: `string`):

Limit how far back to scrape. Enter a date in `YYYY-MM-DD`, ISO format, or as a relative value, e.g. `1 day`, `2 months`, `3 years`.<br><br>Times are in UTC, not local time. Pinned posts still appear unless you turn on **Skip pinned posts**; `0 minutes` returns only pinned posts.

## `search` (type: `string`):

Hashtags or usernames to look up, separated by commas. Use `#` for hashtags, e.g. `#travel`.

## `searchType` (type: `string`):

Hashtag search returns the hashtag and related hashtags with their top posts. Profile search treats each term as an exact username. Place search is not available logged out.

## `searchLimit` (type: `integer`):

How many hashtags to return per search term: the term itself plus related hashtags. Defaults to 1 when omitted. No effect on profile search (each term is one exact username).<br>To limit posts per result, use **Results limit per URL**.

## `skipPinnedPosts` (type: `boolean`):

Do not let pinned posts bypass the date filter. With a date filter, pinned posts are filtered by date like any other post (recent pinned posts are kept); without one, pinned posts are dropped. When off, pinned posts are kept even if they are older than the date filter.

## `isNewestComments` (type: `boolean`):

With **Comments**, return the newest comments first instead of Instagram's default ranking.

## `includeNestedComments` (type: `boolean`):

Not supported: Instagram shows comment replies only to logged-in users. With **Comments**, this adds one <code>login_required</code> row per post (not charged), and <code>replies</code> is always null.

## `addParentData` (type: `boolean`):

Adds a `dataSource` field to feed items (`profile` or `hashtag`) and the parent page data as `metaData`.

## `includeTopPosts` (type: `boolean`):

With hashtag details, fill `topPosts` with the hashtag's top posts.

## `addProfileStatistics` (type: `boolean`):

Accepted for compatibility with apify/instagram-scraper. Logged-out Instagram does not expose that statistics block; use the `engagement` and `contacts` fields instead.

## `enrichPosts` (type: `boolean`):

Fetch each post's full data: comment count and preview, carousel items, video URL, tagged users, music and exact dimensions. Charged as the post-details event ($0.90 per 1,000 posts). Turn off for fast mode: only the result event, posts from the profile grid (caption, likes, timestamp, type, image, owner, pinned flag).

## `extractContacts` (type: `boolean`):

With profile details, add a `contacts` object: emails, phone numbers and links found in the bio, bio links and business fields.

## `addRelatedProfiles` (type: `boolean`):

With profile details, fill `relatedProfiles` with the accounts Instagram suggests. Costs one extra request per profile.

## `proxyConfiguration` (type: `object`):

Residential proxies are required: Instagram login-walls datacenter IPs. Each worker uses its own sticky proxy session and rotates it after about 100 requests or a block.

## `maxConcurrency` (type: `integer`):

Parallel workers, each with its own proxy session. Also capped by memory (one concurrent request per 8 MB).

## `docIds` (type: `object`):

Only needed when Instagram rotates its query ids faster than this Actor is updated. Map a purpose (`profile`, `profileExtras`, `posts`, `post`, `comments`, `reelsTab`, `hashtag`, `related`) or a query's friendly name to a doc_id. Overrides are tried before the built-in ids; the Actor also rediscovers ids on its own when all built-in ones fail.

## `probe` (type: `boolean`):

Diagnostics: test every Instagram endpoint against fixed public canaries, write the PROBE records, push and charge nothing.

## Actor input object example

```json
{
  "resultsType": "posts",
  "directUrls": [
    "https://www.instagram.com/humansofny/"
  ],
  "resultsLimit": 20,
  "searchType": "hashtag",
  "searchLimit": 10,
  "skipPinnedPosts": false,
  "isNewestComments": false,
  "includeNestedComments": false,
  "addParentData": false,
  "includeTopPosts": false,
  "addProfileStatistics": false,
  "enrichPosts": true,
  "extractContacts": true,
  "addRelatedProfiles": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 8,
  "docIds": {
    "post": "27130156389949648"
  },
  "probe": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset with all scraped items; error and warning rows carry an error field and are not charged

## `output` (type: `string`):

JSON summary: result and error counts, requests, transferred bytes, per-endpoint success, gate and block counters, the doc_ids that worked, and duration

## `errors` (type: `string`):

JSON array of inputs that failed (empty when nothing failed)

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "resultsType": "posts",
    "directUrls": [
        "https://www.instagram.com/humansofny/"
    ],
    "resultsLimit": 20,
    "searchType": "hashtag",
    "searchLimit": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("solutionssmart/fast-instagram-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "resultsType": "posts",
    "directUrls": ["https://www.instagram.com/humansofny/"],
    "resultsLimit": 20,
    "searchType": "hashtag",
    "searchLimit": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("solutionssmart/fast-instagram-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "resultsType": "posts",
  "directUrls": [
    "https://www.instagram.com/humansofny/"
  ],
  "resultsLimit": 20,
  "searchType": "hashtag",
  "searchLimit": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call solutionssmart/fast-instagram-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,solutionssmart/fast-instagram-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/L6ePpDGPwZC7BWL9Z/builds/3DDeDE3oyxX2LZ1lR/openapi.json
