# Instagram Scraper Profiles Reels Leads (`driftking-byte/instagram-scraper-profiles-reels-leads`) Actor

Scrape Instagram creator profiles, Reels, video view metrics, bio link emails (Linktree, Beacons), sponsor brand detection, and buyer-intent comment scoring into clean lead tables.

- **URL**: https://apify.com/driftking-byte/instagram-scraper-profiles-reels-leads.md
- **Developed by:** [Sai Ashutosh Chellarapu](https://apify.com/driftking-byte) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Instagram Scraper: Profiles, Reels, Posts, Emails, Brand Sponsors & Buyer Intent (No Login)

Extract **Instagram profiles, recent Posts & Reels, comments, video view/play counts, audio/music info, carousel slides, engagement rate %, verified business emails, brand collaborations (`#ad` / paid partnerships), buyer-intent comments, and personalized outreach openers** in **one single run**—with **zero Instagram login or cookies required**.

***

### How This Actor Compares to `apify/instagram-scraper`

| Capability | `apify/instagram-scraper` | **This Actor (All-in-One)** |
| :--- | :--- | :--- |
| **Profile + Posts + Reels + Comments in ONE run** | ❌ Forces separate runs per content type | ✅ **All extracted in 1 unified run** |
| **Schema Compatibility (`followersCount`, `latestPosts`, `videoViewCount`, `musicInfo`, `childPosts`, `latestComments`)** | ✅ Yes | ✅ **100% compatible `camelCase` + `snake_case` fields** |
| **Deep Link-in-Bio Crawler (`linktr.ee`, `beacons.ai`, `stan.store`, `bit.ly`, `/contact`)** | ❌ Stops at raw `externalUrl` (0 emails) | ✅ **Unwraps redirects & extracts verified emails, phones, TikTok, YouTube, X, LinkedIn** |
| **Brand Collaboration & Sponsor Detector** | ❌ Requires separate `brand-collaboration-scraper` | ✅ **Built-in (`isSponsored`, `brandCollaborations`, `coauthorProducers`)** |
| **Reel Hook, Transcript & Viral Outlier Multiplier** | ❌ Requires separate `instagram-reel-scraper` | ✅ **Built-in (`hookLine`, `transcript`, `viralMultiplier`, `isViralOutlier`)** |
| **Comment Sentiment & Buyer-Intent Detector** | ❌ Raw comments only | ✅ **Flags comments asking *"Where to buy?"*, *"Price?"*, *"Link please"* (`buyingIntentComments`)** |
| **AI Cold Outreach Icebreaker Generator** | ❌ None | ✅ **Built-in `outreachIcebreaker` referencing top Reel & engagement metrics** |

***

### Sample Output Record (JSON)

```json
{
  "inputUrl": "https://www.instagram.com/duolingo/",
  "id": "41031522",
  "username": "duolingo",
  "url": "https://www.instagram.com/duolingo/",
  "fullName": "Duolingo",
  "biography": "Learn a language for free. Forever. Brand partnerships & media inquiries: partnerships@duolingo.com",
  "externalUrls": [
    {
      "title": "Duolingo Official Links",
      "url": "https://linktr.ee/duolingo",
      "link_type": "external"
    }
  ],
  "externalUrl": "https://linktr.ee/duolingo",
  "followersCount": 4650000,
  "followsCount": 518,
  "postsCount": 1920,
  "highlightReelCount": 6,
  "igtvVideoCount": 42,
  "isBusinessAccount": true,
  "businessCategoryName": "Education",
  "verified": true,
  "primaryEmail": "partnerships@duolingo.com",
  "emails": ["partnerships@duolingo.com"],
  "bioLinkProvider": "Linktree",
  "socialLinks": {
    "tiktok": "https://www.tiktok.com/@duolingo",
    "youtube": "https://www.youtube.com/@duolingo",
    "twitter_x": "https://x.com/duolingo"
  },
  "engagementRatePct": 5.604,
  "influencerTier": "Mega (1M+)",
  "leadScore": 90,
  "avgLikes": 256800.0,
  "avgComments": 3780.0,
  "avgReelViews": 2800000.0,
  "postsPerWeek": 3.53,
  "reelsRatioPct": 100.0,
  "sponsoredPostsCount": 1,
  "brandCollaborations": ["spotify"],
  "buyingIntentCommentsCount": 1,
  "buyingIntentComments": [
    {
      "postShortCode": "C9DuoReel01",
      "ownerUsername": "polyglot_sara",
      "text": "Love the new Duolingo Max AI roleplay feature! Is there a student discount code?"
    }
  ],
  "outreachIcebreaker": "Hi Duolingo — loved your recent Instagram post (\"Daily language practice streaks keep growing in partnership with @spot...\") hitting 4,120,000 views with a 5.60% profile engagement rate!",
  "latestPosts": [
    {
      "id": "393011223344556677",
      "type": "Video",
      "shortCode": "C9DuoReel01",
      "url": "https://www.instagram.com/reel/C9DuoReel01/",
      "caption": "Daily language practice streaks keep growing in partnership with @spotify #Duolingo #Streak #LanguageLearning #partner",
      "hookLine": "Daily language practice streaks keep growing in partnership with @spotify #Duolingo #Streak #LanguageLearning #partner",
      "transcript": "Daily language practice streaks keep growing in partnership with @spotify",
      "likesCount": 318400,
      "commentsCount": 4910,
      "videoViewCount": 4120000,
      "videoPlayCount": 6450000,
      "videoDuration": 18.5,
      "viralMultiplier": 1.47,
      "isViralOutlier": true,
      "isSponsored": true,
      "sponsorBrands": ["spotify"],
      "taggedUsers": ["spotify"],
      "musicInfo": {
        "artist_name": "duolingo",
        "song_name": "Original audio",
        "uses_original_audio": true
      }
    }
  ]
}
```

# Actor input Schema

## `mode` (type: `string`):

Choose whether to scrape Instagram Profiles (with recent Reels/Posts + Bio Link Email Enrichment + Brand Sponsors + Buyer-Intent Comments), specific Post/Reel URLs, or Instant Demo Dataset.

## `outputRowMode` (type: `string`):

Control how rows appear in the output Dataset table: 'posts_with_profile_lead' outputs 1 row per Reel/Post enriched with the creator's verified email, bio link, engagement rate, and lead score (just like apify/instagram-scraper + lead enrichment, yielding 30+ rows on default input); 'profiles_and_posts' outputs both Profile summary rows and individual Reel/Post rows; 'profiles_only' outputs 1 summary row per profile.

## `usernames` (type: `array`):

Enter Instagram handles (e.g. 'nike', '@duolingo', 'gymshark', 'natgeo', 'redbull') or full profile URLs ('https://www.instagram.com/nike/'). No login or cookies required.

## `postUrls` (type: `array`):

List of Instagram Post (/p/SHORTCODE/) or Reel (/reel/SHORTCODE/) URLs to extract captions, video views, likes, comments, hashtags, and media URLs.

## `maxPostsPerProfile` (type: `integer`):

Maximum number of recent Posts and Reels to extract per profile (1 to 50).

## `deepCrawlBioLinks` (type: `boolean`):

Automatically visit the external URL in the Instagram bio (Linktree, Beacons.ai, Stan.store, Solo.to, Carrd, or company website) to extract hidden business emails, phone numbers, TikTok, YouTube, Twitter/X, LinkedIn, and store links.

## `verifyEmailDns` (type: `boolean`):

Filter out placeholder/junk emails (sentry, wix, example, image extensions) and validate email domain structure for cold outreach readiness.

## `minFollowers` (type: `integer`):

Only output profiles that have at least this many followers (set 0 to keep all).

## `onlyWithEmail` (type: `boolean`):

If enabled, only profiles where at least one verified email was found (in bio, business button, or external bio link) will be pushed to the dataset.

## `includeRawPostsArray` (type: `boolean`):

Include the structured array of recent Posts/Reels (`latestPosts`) on each profile object.

## `generateHtmlReport` (type: `boolean`):

Save an interactive HTML analytics report in Key-Value Store (REPORT.html) showing engagement benchmarks, lead contact cards, brand sponsors, and top Reels.

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

Uses zero-cost multi-endpoint fallback by default. Optionally configure Apify Proxy or custom proxy URLs for massive bulk runs.

## Actor input object example

```json
{
  "mode": "profiles",
  "outputRowMode": "posts_with_profile_lead",
  "usernames": [
    "nike",
    "duolingo",
    "gymshark",
    "natgeo",
    "redbull",
    "hubspot"
  ],
  "postUrls": [],
  "maxPostsPerProfile": 12,
  "deepCrawlBioLinks": true,
  "verifyEmailDns": true,
  "minFollowers": 0,
  "onlyWithEmail": false,
  "includeRawPostsArray": true,
  "generateHtmlReport": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `profilesAndLeadsDataset` (type: `string`):

Main dataset containing enriched Instagram profiles, extracted emails, bio link socials, engagement rates, and recent Reels/posts.

## `intelligenceDashboard` (type: `string`):

Visual dashboard with creator cards, engagement rate tiers, verified emails, and top-performing Reels.

## `leadsCsvExport` (type: `string`):

One-row-per-profile flat CSV file ready for instant import into Clay.com, Smartlead, Instantly, Make, or n8n.

## `runSummary` (type: `string`):

Summary statistics including total profiles scraped, emails discovered, average engagement rate, and endpoint telemetry.

# 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 = {
    "usernames": [
        "nike",
        "duolingo",
        "gymshark",
        "natgeo",
        "redbull",
        "hubspot"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("driftking-byte/instagram-scraper-profiles-reels-leads").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 = { "usernames": [
        "nike",
        "duolingo",
        "gymshark",
        "natgeo",
        "redbull",
        "hubspot",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("driftking-byte/instagram-scraper-profiles-reels-leads").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 '{
  "usernames": [
    "nike",
    "duolingo",
    "gymshark",
    "natgeo",
    "redbull",
    "hubspot"
  ]
}' |
apify call driftking-byte/instagram-scraper-profiles-reels-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,driftking-byte/instagram-scraper-profiles-reels-leads"
        }
    }
}
```

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/MekQTlPp3o2xPS7Tr/builds/4yHyJKWTaYdLBFRGl/openapi.json
