# Instagram Email & Contact Scraper — Emails, Phones & WhatsApp (`bgfc97/instagram-email-scraper`) Actor

🔥 Up to 20% OFF! Scrape Instagram contact leads — email, phone, WhatsApp link, bio link, follower velocity & per-post engagement. MX-verified, residential proxy built in. Perfect for lead generation & influencer outreach. ⚡

- **URL**: https://apify.com/bgfc97/instagram-email-scraper.md
- **Developed by:** [Bruno](https://apify.com/bgfc97) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.96 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-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

## Instagram Email & Contact Extractor

Turn **Instagram into a B2B lead list**. Give it handles, **hashtags**, or **search terms** and for every profile it extracts the **public business contact info** Instagram exposes — **business & public email, contact & business phone, business address, category and external link** — then **mines the bio** (including *obfuscated* `name (at) gmail (dot) com` emails, phones, @mentions, links and socials) and, the part most scrapers skip, **follows the link-in-bio** (Linktree, Beacons, Bio.site, Carrd, Stan.store or any website) to pull the emails, phones and social profiles hidden behind it. One rich, de-duplicated lead record per profile.

### What makes it best-in-class

- 🔎 **Discovery built in** — don't just enrich handles you already have. Feed a **hashtag** or a **search term** and the Actor resolves the profiles behind it, so you can build a lead list from a niche, not a spreadsheet.
- 🧬 **Related-account expansion** — turn a handful of seed profiles into a whole niche: it follows Instagram's own **suggested/related accounts** (one hop) and scrapes them too.
- 🔗 **Link-in-bio expansion + contact-page deep-mine** — it follows the bio link (Linktree/Beacons/Bio.site/Carrd/Stan.store/personal sites) **and**, on a real website, follows one more hop to the `/contact`, `/about`, `/contato` or `impressum` page where businesses actually hide the email — pulling the `mailto:`, `tel:`, `wa.me` and socials that never appear on the Instagram page itself.
- 🧠 **Structured fields first** — reads Instagram's own `business_email`, `public_email`, `contact_phone_number`, `business_phone_number`, public phone (with country code), `business_address_json`, `category_name`, `business_contact_method` and `bio_links` — not just a regex over the bio string.
- 📬 **Email deliverability intelligence** — every email is classified: **corporate vs free vs disposable** provider, **role vs personal** mailbox, optional **DNS MX** check, and a **high/medium/low confidence tier** with a transparent score. The Actor even picks the single **best primary email** for your mail-merge, and flags **owned-domain** mailboxes — an email on a domain the account itself links to (`bruno@acmecoffee.com` while the bio links `acmecoffee.com`) is near-proof of a real, deliverable business contact.
- 📲 **Outreach-ready contacts** — every captured number is normalized to clean **E.164** (`phones_e164`, `primary_phone`) and the best one becomes a **click-to-chat `wa_link`** (`https://wa.me/…`) you can message in one click — not just the handful of profiles that already pasted a `wa.me` link. Optional `defaultCountry` completes bare national numbers for a single-country niche. Plus a **company website/domain** inferred from a corporate email and a **mail-merge name split** (`first_name` / `last_name`).
- 📈 **Recent-posts lead context (free)** — parsed from the *same* profile response at no extra request: **engagement rate**, average likes/comments, caption **hashtags**, last-post date and **activity** (active / dormant / inactive) — so you can tell a live, engaged business from a dead account.
- 🏆 **Transparent 0–100 lead score + best channel** — each lead gets a sortable `lead_score`, an A/B/C/D tier, a full `lead_score_breakdown` you can re-weight, and a `best_contact` recommendation (email / WhatsApp / phone / DM).
- 🌍 **Locale inference** — ISO **country** from the phone dial code and a **likely language** guess from the bio (handy for localized outreach).
- 🧽 **Honest, clean data** — email **de-obfuscation**, aggressive **junk/tracking/asset-email filtering** (no `sentry.io`, no `logo@2x.png`), **phone de-duplication & normalization**, tracking-param stripping on links.
- 📤 **CSV / CRM-ready flat columns** — a `flat` block of clean scalar fields (best email, phone, WhatsApp, city, country, each social URL, lead score…) that exports to a tidy spreadsheet with zero wrangling.
- ♻️ **Scale: resumable + de-dupe across runs** — a migrated run resumes without re-charging finished profiles, and an optional cross-run **seen-set** means a recurring harvest of the same hashtag only ever returns (and bills) **new** leads.
- 🛰️ **Cross-run change monitoring** — flip `trackChanges` on and the scraper becomes a **watchlist**. The next run with the same `monitorKey` adds a `change_since` block to every profile: **follower growth + velocity** (followers/day = who's *rising* — sign them before they get expensive), a **new creator** that appeared in a watched hashtag/search, a **new contact channel** (a business email / WhatsApp / phone / bio link that wasn't there last time = a fresh outreach lane), **@username / name** changes (keyed on the stable user id, so a rebrand isn't mistaken for a new account), **professionalization** (personal → business/creator), **verification** gained/lost, going **private**, engagement-rate & lead-score deltas and new posts — plus one free `monitor_summary` row (new contacts, fastest-growing, trending hashtags). Keyed memory lives in its own named store (separate from the de-dupe store); **off = unchanged output, zero monitor columns**.
- 🔥 **Per-post content monitoring (free, opt-in)** — flip `trackPostEngagement` on and, run to run, the scraper tells you **which posts are new** and **how fast each one is gaining likes/comments** — the engagement *curve* of a post. `fastest_rising_post` (biggest like-velocity breakout) vs `top_post` (current leader), so you can tell a post that's **bombing** from one that's **dead** and catch a breakout early. Parsed from the *same* profile response → **zero extra request**. Best-effort & honest: when Instagram serves a profile without its posts, the block is `posts_available:false` and the prior index is kept — nothing invented.
- 🎯 **Lead filters** — keep only profiles with a contact / email, within a follower band, verified, business/professional, **or above a minimum lead score**. You're charged only for the rows you keep.
- ⚡ **Concurrency + per-profile error isolation** — process many profiles in parallel; one bad profile never aborts the run.
- 🛡️ **Residential proxy + anti-bot handling** — Instagram serves an HTML anti-bot wall to datacenter IPs; the Actor detects it, rotates proxy sessions (new IP) and honours `Retry-After` on 429s.

### Modes

| Mode | Input | What you get |
|---|---|---|
| **Direct** | `usernames` | A lead for each handle / profile URL you supply. |
| **Hashtag discovery** | `hashtags` | Resolves the accounts posting under each hashtag, then scrapes them. |
| **Search discovery** | `searchTerms` | Runs Instagram search for each keyword/niche/place and scrapes the matching accounts. |

Mix them freely — discovered profiles are merged with your explicit handles, de-duplicated, and capped by `maxItems`.

### How it compares

| | Typical "Instagram Email Scraper" | Generic "Contact Details Scraper" | **This Actor** |
|---|---|---|---|
| Source | Bio regex / Google snippets | Rendered page HTML | IG `web_profile_info` **JSON** + expanded link pages |
| Structured business email/phone | partial | ❌ not exposed logged-out | ✅ `business_email`, `public_email`, `contact_phone_number`, `business_phone_number` |
| Business address | ❌ | ❌ | ✅ street, zip, city, lat/long |
| Obfuscated bio emails (`a (at) b (dot) com`) | ❌ | ❌ | ✅ de-obfuscated |
| **Link-in-bio expansion** (Linktree/Beacons/site) | ❌ | partial | ✅ follows it, mines emails/phones/socials/child links |
| **Website contact-page deep-mine** (/contact, impressum) | ❌ | ❌ | ✅ one extra hop to where the email really lives |
| Socials & WhatsApp | ❌ | partial | ✅ normalized `socials` + dedicated `whatsapp` |
| **Discovery by hashtag / search** | some | ❌ | ✅ built in |
| **Related / suggested-account expansion** | ❌ | ❌ | ✅ grow a niche from a few seeds |
| **Email quality (role/disposable/confidence tiers)** | ❌ | ❌ | ✅ + picks the best primary email |
| **Owned-domain email proof + inferred company website** | ❌ | ❌ | ✅ email at the account's own linked domain ⇒ higher confidence |
| Email domain validation (MX) | paid add-on | ❌ | ✅ optional, free DNS MX check |
| **E.164 phones + click-to-chat WhatsApp link** | ❌ | ❌ | ✅ `phones_e164`, `primary_phone`, `wa_link` for every number |
| **Mail-merge name split** (`first_name`/`last_name`) | ❌ | ❌ | ✅ |
| **Engagement rate / activity from recent posts** | ❌ | ❌ | ✅ free (same response) |
| **Transparent lead score + best channel** | ❌ | ❌ | ✅ 0–100, re-weightable |
| **Country + language inference** | ❌ | ❌ | ✅ from phone code + bio |
| **CSV/CRM flat columns** | ❌ | partial | ✅ ready-to-import `flat` block |
| **Resume + de-dupe across runs** | ❌ | ❌ | ✅ never scrape/charge a lead twice |
| **Cross-run change monitoring** (follower velocity, new contact, new creators) | ❌ | ❌ | ✅ `change_since` + free `monitor_summary` |
| **Per-post content monitoring** (which posts are new, each post's like velocity) | ❌ | ❌ | ✅ `content_monitor` + free `content_monitor_summary` |
| Junk-email / noise filtering | rare | ❌ | ✅ tracking/asset/placeholder domains dropped |
| Lead filters (contact/followers/verified/type/score) | some | ❌ | ✅ |
| Charges you for empty/filtered rows | often | — | ❌ only saved leads |

### Input

```json
{
  "usernames": ["natgeo", "@nike", "https://www.instagram.com/gopro/"],
  "hashtags": ["coffeeshop"],
  "searchTerms": ["coffee roaster austin"],
  "expandLinkInBio": true,
  "maxLinksPerProfile": 2,
  "deepContactPages": false,
  "expandRelated": false,
  "maxRelatedPerProfile": 5,
  "includeRecentPosts": true,
  "maxRecentPosts": 12,
  "validateEmails": false,
  "defaultCountry": "",
  "onlyWithContact": false,
  "minFollowers": 0,
  "requireBusiness": false,
  "minLeadScore": 0,
  "dedupeAcrossRuns": false,
  "dedupeStoreName": "instagram-email-scraper-seen",
  "trackChanges": false,
  "monitorKey": "",
  "concurrency": 5,
  "maxItems": 1000,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }
}
```

- `usernames` / `hashtags` / `searchTerms` — provide at least one. Handles accept `@` and profile URLs; hashtags accept `#tag` and tag URLs.
- `expandLinkInBio` (default **true**) + `maxLinksPerProfile` (default **2**, max 5) — follow the external/bio links and mine them.
- `deepContactPages` (default **false**) — on a real website, follow one more hop to its `/contact`, `/about`, `impressum`… page and mine the hidden email/phone.
- `expandRelated` (default **false**) + `maxRelatedPerProfile` (default **5**) — also scrape Instagram's suggested/related accounts for each seed (one hop), capped by `maxItems`.
- `includeRecentPosts` (default **true**, **free**) + `maxRecentPosts` (default **12**) — add engagement rate, activity and caption hashtags from recent posts.
- `validateEmails` (default **false**) — add a DNS **MX** check per email domain → `emails_valid` + `has_valid_email`, and upgrade the email confidence tiers from structural to MX-verified.
- `defaultCountry` (optional, ISO-2 e.g. `BR`/`US`/`GB`) — used **only** to complete bare national phone numbers into E.164 when a profile exposes no country code of its own. International `+…` numbers and Instagram's structured dial code are always normalized regardless; empty = never guess a country.
- `onlyWithContact` / `onlyWithEmail` / `minFollowers` / `maxFollowers` / `requireVerified` / `requireBusiness` / `minLeadScore` — lead filters (also accepted nested under `filters`).
- `dedupeAcrossRuns` (default **false**) + `dedupeStoreName` — remember profiles delivered in previous runs and skip them (not fetched, not charged); runs also resume after a migration.
- `trackChanges` (default **false**) + `monitorKey` — turn the scraper into a cross-run **monitor** (see below). Leave `monitorKey` empty to auto-derive a stable key from your inputs. When `trackChanges` is on, cross-run de-dupe no longer skips profiles (a monitor must re-visit them to detect change) — the two features otherwise coexist in separate stores.
- `trackPostEngagement` (default **false**, **free**) + `postTrackCap` (default **24**) — turn on cross-run **per-post content monitoring** (see below): which posts are new + each post's like/comment curve & velocity. Uses the same `monitorKey` as `trackChanges` but its own named store; independent of it (either can run alone).
- `concurrency` (1–20), `maxItems`, `timeoutSecs` (10–120).
- `proxyConfiguration` — **keep RESIDENTIAL on.** Instagram blocks datacenter IPs. Proxy/compute is paid by **whoever runs the Actor**.

### Output (per profile)

```json
{
  "username": "acme.coffee.roasters",
  "profile_url": "https://www.instagram.com/acme.coffee.roasters/",
  "full_name": "ACME Coffee Roasters ☕",
  "account_type": "business",
  "is_business": true, "is_professional": true, "is_verified": true, "is_private": false,
  "category": "Coffee shop",

  "emails": ["orders@acmecoffee.com", "hello@acmecoffee.com", "bookings@acmecoffee.com"],
  "emails_from_field": ["orders@acmecoffee.com"],
  "emails_from_bio": ["hello@acmecoffee.com"],
  "emails_from_link": ["bookings@acmecoffee.com"],
  "business_email": "orders@acmecoffee.com",
  "email_source": "field+bio+link",

  "phones": ["+1 512-555-0123", "(512) 555-0199"],
  "phones_from_field": ["+1 512-555-0123"],
  "phones_from_bio": ["(512) 555-0199"],
  "phones_e164": ["+15125550123", "+15125550199"],
  "primary_phone": "+15125550123",
  "wa_link": "https://wa.me/15125550123",
  "contact_phone_number": "+1 512-555-0123",
  "public_phone_number": "+15125550123",
  "whatsapp": ["+15125550123"],
  "business_contact_method": "EMAIL",
  "business_address": {
    "street_address": "500 Congress Ave", "zip_code": "78701",
    "city_name": "Austin, Texas", "latitude": 30.26715, "longitude": -97.74306
  },

  "external_url": "https://linktr.ee/acmecoffee",
  "bio_links": [{ "title": "Shop", "url": "https://acmecoffee.com/shop", "link_type": "external" }],
  "links_in_bio": ["https://linktr.ee/acmecoffee", "https://acmecoffee.com/shop", "https://acmecoffee.com/wholesale"],
  "destination_links": ["https://acmecoffee.com/wholesale", "https://acmecoffee.com/menu"],
  "expanded_links": [{
    "url": "https://linktr.ee/acmecoffee", "type": "Linktree", "status": "ok",
    "emails": ["bookings@acmecoffee.com"], "phones": ["+15125550123"],
    "socials": ["https://www.facebook.com/acmecoffee"]
  }],
  "socials": ["https://twitter.com/acmecoffee", "https://www.facebook.com/acmecoffee"],
  "mentioned_handles": ["acme.cafe"],

  "followers": 48213, "following": 312, "posts": 1544,
  "biography": "Specialty coffee in Austin 🌱 …",
  "profile_pic_url": "https://scontent.cdninstagram.com/v/acme_320.jpg",

  "email_source": "field+bio+link",
  "has_email": true, "has_phone": true, "has_contact": true,
  "emails_valid": ["orders@acmecoffee.com"], "has_valid_email": true,

  "primary_email": "orders@acmecoffee.com", "primary_email_confidence": "high",
  "has_personal_email": true, "has_disposable_email": false, "has_owned_domain_email": true,
  "company_domain": "acmecoffee.com", "website": "https://acmecoffee.com/shop",
  "website_inferred": false, "email_matches_site": true,
  "email_quality": [
    { "email": "orders@acmecoffee.com", "provider": "corporate", "type": "role",
      "role": true, "disposable": false, "from_field": true, "owned_domain": true, "mx_valid": true, "confidence": "high" }
  ],

  "post_stats": {
    "sampled": 12, "avg_likes": 820, "avg_comments": 37,
    "engagement_rate": 1.78, "last_post_at": "2026-11-20T13:00:00.000Z",
    "days_since_last_post": 2, "posts_per_week": 4.1, "activity": "active"
  },
  "post_hashtags": ["specialtycoffee", "austin"],
  "recent_posts": [{ "shortcode": "Cx1", "url": "https://www.instagram.com/p/Cx1/", "likes": 820, "comments": 37, "caption": "New single-origin drop ☕", "taken_at": "2026-11-20T13:00:00.000Z" }],
  "related_accounts": ["bru.coffee", "austincoffee"],

  "locale": { "country": "US", "phone_country": "US", "city": "Austin, Texas", "likely_language": "en", "inferred": true },
  "lead_score": 86, "lead_tier": "A", "best_contact": "email",
  "contact_channels": ["email", "whatsapp", "phone", "address", "dm"],
  "lead_score_breakdown": { "email": 20, "email_confidence": 15, "phone": 12, "whatsapp": 8, "business_account": 10, "verified": 6, "address": 6, "link_in_bio_contact": 5, "activity": 6, "engagement": 3 },

  "flat": {
    "username": "acme.coffee.roasters", "full_name": "ACME Coffee Roasters ☕",
    "first_name": "ACME", "last_name": "Coffee Roasters",
    "email": "orders@acmecoffee.com", "email_confidence": "high", "email_matches_site": true,
    "phone": "+1 512-555-0123", "phone_e164": "+15125550123",
    "whatsapp": "+15125550123", "wa_link": "https://wa.me/15125550123",
    "company_domain": "acmecoffee.com", "website": "https://acmecoffee.com/shop",
    "facebook": "https://www.facebook.com/acmecoffee", "city": "Austin, Texas", "country": "US",
    "followers": 48213, "influencer_tier": "micro", "engagement_rate": 1.78, "activity": "active",
    "lead_score": 86, "lead_tier": "A", "best_contact": "email"
  },

  "scraped_at": "2026-11-21T19:30:00.000Z"
}
```

Profiles that don't exist, are blocked, or error out produce a small `{ username, profile_url, error, scraped_at }` record and are **not charged**.

### Lead intelligence (what you get on top of raw contacts)

- 📬 **Email quality** — `email_quality[]` classifies every address (`provider`: corporate/free/disposable, `type`: role/personal, `owned_domain`, `mx_valid`, `confidence`: high/medium/low). `primary_email` is the single best pick for a mail-merge; `has_disposable_email` warns about throwaways; `email_matches_site` + `company_domain` tell you when the mailbox lives on the business's own website.
- 📲 **Outreach-ready contacts** — `phones_e164` (clean `+<digits>` for every number), `primary_phone` (best one) and `wa_link` (one-click WhatsApp). `company_domain`/`website` give a real site to visit, and `flat.first_name` / `flat.last_name` drop straight into a mail-merge greeting.
- 📈 **Post context** — `post_stats` (engagement rate, avg likes/comments, last-post date, `activity`), `post_hashtags`, `recent_posts`. Parsed from the same response → **no extra request**. Best-effort: Instagram returns recent media for many but not all logged-out profiles.
- 🏆 **Lead score** — `lead_score` (0–100), `lead_tier` (A/B/C/D), `best_contact`, and a fully transparent `lead_score_breakdown` you can re-weight. Filter with `minLeadScore`.
- 🌍 **Locale** — `locale.country` (ISO2 from the phone dial code) and `locale.likely_language` (inferred from the bio). Clearly labelled as inferred.
- 📤 **Flat columns** — the `flat` object exports as `flat/email`, `flat/phone`, `flat/city`… — clean scalar columns for CSV/Google Sheets/CRM import, no nested-array wrangling.

### Cross-run change monitoring (turn the scraper into a watchlist)

Re-running a lead scraper on the same creators / hashtag is really a **monitoring** job — you want to know **what changed**. Set `trackChanges: true` and (optionally) a `monitorKey`, and each delivered profile's compact snapshot is saved to a **named Key-Value store** that survives between runs. The **next** run with the same key adds a `change_since` block to every profile and appends one free `monitor_summary` row.

Why an influencer-marketing agency / outreach team re-runs it:

- 📈 **Follower growth + VELOCITY** — not just `+N` but **followers/day over the real elapsed time** between runs, so you can rank a watchlist by who is *accelerating*. Rising velocity is the earliest signal of a creator on the way up — sign them **before** they get expensive.
- ✨ **New creator in a watched hashtag/search** — a profile that wasn't there last time, grouped by the hashtag/term that surfaced it (what's **trending** in your niche).
- 📲 **New contact channel** — a business **email / WhatsApp / phone / bio link** that appeared since the last look. For prospecting a brand-new WhatsApp is gold: a reachable lane the competition hasn't seen. The `wa_link` comes ready for one-click outreach.
- 🏷️ **@username / name changes** — keyed on the **stable numeric user id**, so a rebrand is detected as a *change*, not mistaken for a brand-new account.
- 💼 **Professionalization** — a personal account turning **Business/Creator** (it just unlocked structured contact fields), verification gained/lost, a public account going **private**.
- 📊 **Engagement-rate & lead-score deltas**, **new posts**, and **influencer-tier** milestones (nano → micro → …) — all threshold-gated against daily jitter.
- 🗑️ **Gone** — a curated profile that disappeared — reported **only under full coverage** (a direct-username run where every handle resolved, nothing blocked/filtered). Hashtag/search runs paginate a shifting set, so "gone" is never falsely claimed there.

Every delta is a literal **before→after of two real captures**. The first time a profile is seen there's no prior, so `change_since` is `null` (never a guess); on the baseline run `is_new_profile` is `null` (unknowable). Follower velocity is `null` unless there's a real prior timestamp and a positive interval. **Off = identical output, zero monitor columns.**

Each monitored profile gains:

```json
{
  "monitored": true,
  "first_seen": "2026-11-16T09:00:00.000Z",
  "last_checked_prev": "2026-11-22T09:00:00.000Z",
  "is_new_profile": false,
  "change_since": {
    "since": "2026-11-22T09:00:00.000Z",
    "prev_snapshot_date": "2026-11-22",
    "change_count": 4,
    "worst_severity": "positive",
    "headline": "Followers 10K → 25K (+15K, +150%) — +15K/day",
    "changes": [
      { "type": "follower_growth", "field": "followers", "severity": "positive",
        "from": 10000, "to": 25000, "delta": 15000, "pct": 150,
        "followers_per_day": 15000, "interval_days": 1 },
      { "type": "professionalized", "field": "account_type", "severity": "positive",
        "from": "personal", "to": "business",
        "detail": "Turned professional: personal → business (structured contact fields now exposed)" },
      { "type": "new_email", "field": "emails", "severity": "positive",
        "emails": ["hello@risingcreator.com"], "to": "hello@risingcreator.com" },
      { "type": "new_whatsapp", "field": "whatsapp", "severity": "positive",
        "whatsapp": ["5567999887766"], "wa_link": "https://wa.me/5567999887766" }
    ]
  }
}
```

And one free `monitor_summary` row rolls up the whole run:

```json
{
  "record_type": "monitor_summary",
  "monitor_key": "skincare-watch",
  "first_run": false,
  "since": "2026-11-22T09:00:00.000Z",
  "run_count": 6,
  "profiles_tracked": 220,
  "coverage_full": true,
  "new_account_count": 3,
  "changed_count": 12,
  "growing_count": 8,
  "new_contact_count": 2,
  "fastest_growing_leader": { "username": "rising.creator", "followers_per_day": 15000 },
  "new_whatsapp_contacts": [{ "username": "rising.creator", "whatsapp": ["5567999887766"], "wa_link": "https://wa.me/5567999887766" }],
  "new_email_contacts": [{ "username": "rising.creator", "emails": ["hello@risingcreator.com"] }],
  "became_business": [{ "username": "rising.creator", "from": "personal", "to": "business" }],
  "new_accounts": [{ "username": "newcomer.skin", "followers": 800, "discovered_via": { "type": "hashtag", "term": "skincare" } }],
  "trending": [{ "source_type": "hashtag", "term": "skincare", "new_creators": 1, "growing": 2 }],
  "accounts_gone": [{ "username": "defunct.vendor", "last_followers": 321 }],
  "gone_count": 1,
  "summary": "Monitor \"skincare-watch\": 12 profile(s) changed since last run — 8 growing, 3 new to monitor, 2 new contact channel(s), 1 turned professional. 2 new outreach channel(s) (WhatsApp/email). Fastest-growing: @rising.creator (+15K/day)."
}
```

The `monitor_summary` row is **free** (not counted toward `maxItems`, never charged). Re-use the same `monitorKey` each run of a campaign to accumulate history; use different keys to keep watchlists separate.

### Content monitoring / per-post engagement (opt-in)

The change monitor above watches the **account** (follower growth, *how many* posts appeared). `trackPostEngagement` watches the **content itself**: run to run it tells you **which posts are new** and **how fast each existing post is gaining likes/comments** — the engagement *curve* of a post over time. That is the one thing the account monitor can't see: it only ever knew the post-*count* delta ("3 new posts") and an account-wide engagement rate, never *which* post, never whether a specific post is **bombing** or **dead**.

It's **free and adds zero requests**: Instagram's profile response the Actor already fetches ships the ~12 newest posts inline (the same block the account-level engagement rate relies on), so the per-post curve rides entirely on data already pulled. Flip `trackPostEngagement: true` (it uses the same `monitorKey` as `trackChanges`, but its own named store — the two are independent and can run separately). Each profile then gains a `content_monitor` block:

```json
{
  "content_monitor": {
    "posts_available": true,
    "baseline": false,
    "since": "2026-11-22T09:00:00.000Z",
    "interval_hours": 24,
    "tracked_posts": 12,
    "new_post_count": 1,
    "new_posts": [
      { "shortcode": "Cz9", "url": "https://www.instagram.com/p/Cz9/", "caption": "new single-origin drop ☕",
        "is_video": false, "likes": 180, "comments": 12, "engagement": 192, "engagement_rate_pct": 0.24,
        "created_at": "2026-11-23T06:00:00.000Z", "age_hours": 6 }
    ],
    "rising_post_count": 2,
    "fastest_rising_post": {
      "shortcode": "Cx1", "url": "https://www.instagram.com/p/Cx1/", "caption": "behind the scenes reel",
      "is_video": true, "likes": 9000, "comments": 300, "views": 120000, "engagement": 9300,
      "likes_delta": 500, "comments_delta": 40, "engagement_delta": 540,
      "likes_per_hour": 20.83, "engagement_per_hour": 22.5, "from_likes": 8500, "age_hours": 78
    },
    "top_post": { "shortcode": "Cw0", "likes": 41000, "comments": 1200, "engagement": 42200, "engagement_rate_pct": 0.53 },
    "likes_gained_period": 540,
    "note": "Velocity (likes_per_hour / engagement_per_hour) is computed over the real elapsed time between runs; fastest_rising_post is the biggest like-velocity breakout, top_post the current engagement leader."
  }
}
```

Plus one free `content_monitor_summary` row rolling up the run — `fastest_rising_post` and `viral_posts` ranked by **like velocity** across all profiles, `top_posts` by current engagement, flattened `new_posts`, and `profiles_bombing` (accounts gaining the most likes this period).

**Honest & best-effort.** Instagram serves the recent-media block for *many but not all* logged-out profiles (and never for private ones). When it withholds it for a profile that *has* posts, the block is `"posts_available": false` with everything null and the **prior index is preserved** (the curve resumes next run) — nothing is invented. A post's like count is sometimes hidden even when the post is served → stored as `likes: null`, never a fabricated `0`; a delta/velocity needs two real numbers or it's honestly `null`. The first time a profile is seen there's no prior, so `new_posts`/`rising_posts` are `null` (a baseline — `top_post` is still reported, it's a current fact). Velocity is `null` without a real positive interval. The index is **bounded** (`postTrackCap`, default 24, newest-by-date; profiles age-pruned + hard-capped), and because Instagram's window is ~12 posts, a post that scrolls out of that window simply stops being tracked. **Off = unchanged output, zero `content_monitor` column.**

### What it extracts

- **Emails** — `business_email` + `public_email` fields, merged with every (de-obfuscated, de-noised) email from the bio and from expanded link pages. `email_source` tells you where each row's emails came from (`field` / `bio` / `link`, combined).
- **Phones** — `contact_phone_number`, `business_phone_number`, public phone (with country code), plus phone-shaped numbers from the bio and `tel:`/`wa.me` links on expanded pages. De-duplicated by digits, and normalized to **E.164** in `phones_e164` with a best `primary_phone`.
- **WhatsApp** — `wa.me` / `whatsapp.com` numbers broken out into their own field, plus a ready-to-use `wa_link` click-to-chat deep link for the best number.
- **Business address** — street, zip, city, latitude, longitude (from `business_address_json`).
- **Links** — `external_url` + every bio link, un-shimmed from `l.instagram.com` and stripped of tracking params, plus the outbound links discovered on the expanded link-in-bio page (`destination_links`).
- **Socials** — Instagram (excluding self), Facebook, X/Twitter, YouTube, LinkedIn, TikTok, Telegram, WhatsApp, Pinterest, Spotify and more, normalized & de-duplicated.
- **Lead signals** — `account_type`, `is_business`, `is_professional`, `is_verified`, `category`, follower/following/post counts.
- **Convenience flags** — `has_email`, `has_phone`, `has_contact`, `has_valid_email`.

### Use cases

- 🎯 **B2B lead generation** — turn niche hashtags or competitor followings into a contact sheet with emails and phones.
- 📣 **Influencer & creator outreach** — business email + the real contact behind the link-in-bio + follower counts, for a whole shortlist.
- 🧭 **Local business prospecting** — search a city/niche, keep business accounts with a phone and address.
- 🧹 **List enrichment & cleaning** — feed existing handles, turn on `onlyWithEmail` + `validateEmails`, keep only deliverable rows.

### Notes

- Data is only what Instagram shows **publicly**. Private accounts and accounts without a business/public contact field return no structured email/phone (you still get the public bio, counts and links).
- Instagram **blocks datacenter IPs** — keep the RESIDENTIAL proxy on. Each retry rotates to a fresh proxy IP and 429s are backed off with `Retry-After`. Discovery (hashtag/search), related-account and link-in-bio expansion all need the residential proxy.
- `validateEmails` confirms the email **domain** can receive mail (MX record present); it does not verify the individual mailbox. Email `confidence` tiers are a transparent heuristic (provider + role + MX + source), not a mailbox-level guarantee.
- **Recent-posts context** (`post_stats`, `recent_posts`) is **best-effort**: Instagram includes recent media in the logged-out profile response for many accounts but not all — when it doesn't, those fields are empty and everything else still works.
- `lead_score` and `locale` are **derived/inferred** signals (the score is a documented 0–100 heuristic, the country/language are inferred from the phone code and bio) — provided to help you prioritise, not as ground truth. The full score breakdown is included so you can re-weight it.
- `expandRelated` and `deepContactPages` add extra requests (and, for related, extra charged profiles) — both are **off by default**.
- **Phone E.164 / `wa_link`** never fabricate digits: international `+…`/`00…` numbers and Instagram's own structured dial code are normalized directly; a *bare* national number is completed only when you assert its country via `defaultCountry`. `wa_link` is a click-to-chat convenience link — it opens a chat with that number, it does not guarantee the number is registered on WhatsApp.
- `company_domain`, `website` (when `website_inferred` is true) and `email_matches_site` are **derived** from the account's own emails and links — a helpful signal, not a verified corporate registration.
- **Cross-run monitoring** (`trackChanges`) is **opt-in and off by default** — with it off the output is byte-for-byte unchanged (no `change_since` / `monitored` columns, no monitor store). Every delta is a real before→after of two captures: the first sighting and the baseline run carry `null` (never a guessed change), and follower velocity is `null` without a real elapsed interval. The `monitor_summary` row is **free** (never charged, not counted toward `maxItems`). "Gone" detection runs **only** under full coverage (a direct-username run with every handle resolved, nothing blocked or filtered); hashtag/search/related runs never falsely report a profile gone. The monitor keeps its own named store (`instagram-monitor-…`), separate from the de-dupe store, so the two coexist. Re-running still pays for proxy/compute per the usual per-profile charge.
- **Per-post content monitoring** (`trackPostEngagement`) is **opt-in, off by default, and free** (reuses the posts already in the profile response — no extra request). Off = output byte-for-byte unchanged (no `content_monitor` column, no content store). It is independent of `trackChanges` (either can run alone) and keeps its own named store (`instagram-content-…`), distinct from both the monitor and de-dupe stores. Every curve is a real before→after of two captures: a profile's first sighting is a baseline (`new_posts`/`rising_posts` `null`, `top_post` still shown), velocity is `null` without a real positive interval, and a hidden like count is `null` (never a fabricated `0`). Because Instagram serves recent media **best-effort** when logged-out, a profile served without its posts gets `posts_available:false` and its prior index is preserved — so the curve materialises on most runs for public profiles but never fabricates one. The index is bounded by `postTrackCap` (newest-first) plus age-prune + hard-cap. The `content_monitor_summary` row is **free** (never charged, not counted toward `maxItems`).
- Respect Instagram's terms and applicable privacy law (GDPR/CCPA) when contacting people.

### ⭐ Enjoying this Actor?

A quick **rating/review** helps others find it. Want location-based discovery, SMTP-level email verification, or post scraping added? Open a ticket on the **Issues** tab.

# Actor input Schema

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

Instagram @handles or profile URLs to scrape (e.g. `natgeo`, `@nike`, `https://www.instagram.com/gopro/`). `@` and URLs are normalized automatically; `/p/`, `/reel/`, `/explore/` etc. are ignored. Optional if you provide `hashtags` or `searchTerms` instead.

## `hashtags` (type: `array`):

DISCOVERY mode. Give one or more hashtags (e.g. `coffeeshop`, `#realestateagent`) and the Actor resolves the profiles posting under them into your target list — scale a lead list without knowing the handles up front. Discovery needs the residential proxy.

## `searchTerms` (type: `array`):

DISCOVERY mode. Keywords, niches or place names (e.g. `coffee roaster austin`) run through Instagram search; the matching accounts are added to your target list. Discovery needs the residential proxy.

## `expandLinkInBio` (type: `boolean`):

ON by default. When a profile's external link points to a Linktree / Beacons / Bio.site / Carrd / Stan.store / personal site, the Actor also fetches that page (through the proxy) and mines the emails, phone numbers and social profiles found there — usually the richest source of a real contact. Turn off to read only the Instagram profile itself.

## `maxLinksPerProfile` (type: `integer`):

How many of a profile's external/bio links to follow when expansion is on (0–5). More links = more contacts but more proxy bandwidth.

## `validateEmails` (type: `boolean`):

OFF by default. When on, each email's domain is checked for a valid mail (MX) record via DNS and the passing addresses are returned in `emails_valid` with `has_valid_email`. Free, no third-party service — it confirms the domain can receive mail, not that the exact mailbox exists. It also upgrades the per-email confidence tiers (`email_quality`) from structural to MX-verified.

## `includeRecentPosts` (type: `boolean`):

ON by default and FREE (parsed from the same profile response — no extra request). Adds `recent_posts` (captions, likes, comments, dates), `post_hashtags`/`post_mentions`, and a `post_stats` block with **engagement rate**, average likes/comments, last-post date and **activity** (active / dormant / inactive) — so you can qualify a lead by how engaged and alive the account is. Best-effort: Instagram returns recent media for many but not all logged-out profiles.

## `maxRecentPosts` (type: `integer`):

How many recent posts to read for the engagement/activity stats and caption hashtags (0–48).

## `deepContactPages` (type: `boolean`):

OFF by default. When a profile links to a real website (not an aggregator), also follow ONE same-site `/contact`, `/about`, `/contato`, `impressum` (etc.) page and mine the email/phone that businesses usually hide there instead of the homepage. Costs one extra fetch per website.

## `expandRelated` (type: `boolean`):

OFF by default. After scraping your seeds, also scrape the **related/suggested accounts** Instagram returns for them (one hop), deduped and capped by `maxItems`. Turn a handful of seed profiles into a whole niche lead list. Each added profile counts toward `maxItems` and is charged like any other.

## `maxRelatedPerProfile` (type: `integer`):

When related expansion is on, how many suggested accounts to take from each seed profile (0–20).

## `dedupeAcrossRuns` (type: `boolean`):

OFF by default. When on, profiles already delivered in previous runs are remembered in a named Key-Value store and **skipped on the next run** — not fetched and not charged. Ideal for a recurring harvest of the same hashtag/location where you only want NEW leads. Runs also resume cleanly after a platform migration without re-charging finished profiles.

## `dedupeStoreName` (type: `string`):

Name of the named Key-Value store that holds the 'already delivered' set (used only when `dedupeAcrossRuns` is on). Use the same name across runs of the same campaign to share the memory; use different names to keep campaigns separate.

## `trackChanges` (type: `boolean`):

OFF by default. When on, each delivered profile's compact snapshot is kept in a named Key-Value store (survives between runs), so the NEXT run with the same `monitorKey` adds a `change_since` block to every profile — **follower growth + velocity** (followers/day over the real elapsed time = who's rising), a **new creator** that appeared in a watched hashtag/search, a **new contact channel** (email/WhatsApp/phone/bio link = new outreach), **@username / name** changes (keyed on the stable user id), **professionalization** (personal → business/creator), **verification** gained/lost, going **private**, engagement-rate & lead-score deltas, new posts and influencer-tier milestones — plus one free `monitor_summary` row (new contacts, fastest-growing, trending hashtags). Off = unchanged output, zero monitor columns. Uses its own store namespace, separate from the de-dupe store.

## `monitorKey` (type: `string`):

Used when `trackChanges` OR `trackPostEngagement` is on. Names the monitor's memory so the SAME watchlist diffs across runs: reuse the same key each run of a campaign to accumulate history; use different keys to keep watchlists separate. Leave empty to auto-derive a stable key from the usernames/hashtags/search terms you pass. The account monitor and the per-post content monitor keep separate stores under this one key.

## `trackPostEngagement` (type: `boolean`):

OFF by default and FREE (reuses the recent posts already parsed from the SAME profile response — no extra request). Separate from `trackChanges`: where that monitors the ACCOUNT (follower growth, how MANY posts appeared), this monitors the CONTENT — run to run it keeps a bounded index of each profile's recent posts in its own named Key-Value store and adds a `content_monitor` block saying **which posts are NEW** (with real shortcode/URL/caption) and **each existing post's like/comment CURVE + VELOCITY** (likes/hour over the real elapsed time) — so you can tell a post that's **bombing** from one that's **dead**, spot the `fastest_rising_post` vs the current `top_post`, and catch a breakout early. Plus one free `content_monitor_summary` row (viral posts by velocity, new posts, accounts gaining likes). Honest & best-effort: Instagram serves the recent-media block for many but not all logged-out profiles (and never for private ones); when it withholds it the block is `posts_available:false` and the prior index is preserved — nothing is invented. Uses the same `monitorKey` as `trackChanges` but its own store namespace. Off = unchanged output, zero content column.

## `postTrackCap` (type: `integer`):

Only used when `trackPostEngagement` is on. How many recent posts to keep in the per-profile content index (1–48). Instagram's profile response returns roughly the 12 newest posts, so the index holds about two windows' worth as new posts push old ones out; posts that fall out of the recent window stop being tracked (bounded by design).

## `defaultCountry` (type: `string`):

Optional ISO-2 country code (e.g. `BR`, `US`, `GB`) used ONLY to complete bare national phone numbers into E.164 when a profile exposes no country code of its own — useful for a single-country niche. Leave empty to never guess a country (international `+…` numbers and IG's structured dial code are always normalized regardless). Produces `phones_e164`, a `primary_phone` and a click-to-chat `wa_link`.

## `onlyWithContact` (type: `boolean`):

Save (and charge for) only profiles that yielded at least one email, phone or address. Keeps your lead list tight.

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

Save (and charge for) only profiles that yielded at least one email.

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

Drop profiles below this follower count (0 = no minimum).

## `maxFollowers` (type: `integer`):

Drop profiles above this follower count (0 = no maximum).

## `requireVerified` (type: `boolean`):

Keep only blue-tick verified accounts.

## `requireBusiness` (type: `boolean`):

Keep only business or professional/creator accounts (the ones that expose structured contact fields).

## `minLeadScore` (type: `integer`):

Keep only profiles whose transparent lead score (quality of email + phone + WhatsApp + business/verified signals + engagement/activity) meets this threshold. 0 = keep all. Try ~40 for a tight, high-intent list.

## `concurrency` (type: `integer`):

How many profiles to process in parallel (1–20). Higher is faster; lower is gentler on the proxy / rate limits.

## `maxItems` (type: `integer`):

Cap on the total number of profiles processed (direct + discovered).

## `timeoutSecs` (type: `integer`):

Timeout per HTTP request (10–120).

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

Instagram blocks datacenter IPs (it serves an HTML anti-bot page), so requests go through a proxy. Defaults to Apify Proxy on the RESIDENTIAL group — paid by whoever runs the Actor. You can switch groups or supply your own proxy URLs. Keep it on residential for reliable results.

## Actor input object example

```json
{
  "usernames": [
    "natgeo",
    "https://www.instagram.com/gopro/"
  ],
  "hashtags": [],
  "searchTerms": [],
  "expandLinkInBio": true,
  "maxLinksPerProfile": 2,
  "validateEmails": false,
  "includeRecentPosts": true,
  "maxRecentPosts": 12,
  "deepContactPages": false,
  "expandRelated": false,
  "maxRelatedPerProfile": 5,
  "dedupeAcrossRuns": false,
  "dedupeStoreName": "instagram-email-scraper-seen",
  "trackChanges": false,
  "monitorKey": "",
  "trackPostEngagement": false,
  "postTrackCap": 24,
  "defaultCountry": "",
  "onlyWithContact": false,
  "onlyWithEmail": false,
  "minFollowers": 0,
  "maxFollowers": 0,
  "requireVerified": false,
  "requireBusiness": false,
  "minLeadScore": 0,
  "concurrency": 5,
  "maxItems": 1000,
  "timeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

# 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": [
        "natgeo",
        "https://www.instagram.com/gopro/"
    ],
    "hashtags": [],
    "searchTerms": [],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bgfc97/instagram-email-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 = {
    "usernames": [
        "natgeo",
        "https://www.instagram.com/gopro/",
    ],
    "hashtags": [],
    "searchTerms": [],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bgfc97/instagram-email-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 '{
  "usernames": [
    "natgeo",
    "https://www.instagram.com/gopro/"
  ],
  "hashtags": [],
  "searchTerms": [],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bgfc97/instagram-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bgfc97/instagram-email-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/UYISugbmZctdvhwDK/builds/g8NhLvokTHRs7Quge/openapi.json
