# Instagram Email Scraper: Phones, WhatsApp, Leads (`automation_craft/instagram-email-scraper`) Actor

Scrape Instagram emails and phone numbers with no login, by username or keyword: bio, bio links, Linktree and other link in bio pages, the linked Facebook Page and the website. Each email, phone and WhatsApp number has its source, each email a mail server check. CSV or real-time API; pay per result.

- **URL**: https://apify.com/automation_craft/instagram-email-scraper.md
- **Developed by:** [Automation Craft](https://apify.com/automation_craft) (community)
- **Categories:** Lead generation, Social media, Marketing
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.46 / 1,000 profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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 Scraper: Phones, WhatsApp, Leads

**Scrape Instagram emails and phone numbers** without an Instagram account, cookies or login: one row per account with every
public e-mail address, phone and WhatsApp number it shows, read from its bio, its bio links, its link in bio pages (Linktree and
about 50 more), the Facebook Page it links and its own website, each with where it was found. Paste usernames or let the Actor
find accounts by keyword, hashtag or the commenters of a post, and get contacts you can sort, filter and export.

- **Every public source, not just the bio.** The bio, every bio link (a short link is followed one hop), link in bio pages
  (Linktree, Stan, bio.site, lnk.bio, link.me, Taplink, Milkshake, Campsite, solo.to and about 40 more; Beacons with the add-on),
  the public intro of the Facebook Page the account links (e-mail, phone, WhatsApp, website, address, category, rating), the
  account's website (its home page, then a contact, imprint or about page while no address of the account was found, robots.txt
  respected), the websites its link in bio page points to (2 by default, up to 10) and e-mail addresses in the captions of its
  newest posts.
- **Where each contact came from.** Every address and number carries its sources (`bio`, `bio_link`, `facebook_page`,
  `link_page:<host>`, `website:<domain>`, `post_caption`), every address a business or free mail flag and a mail server (MX) check
  of its domain.
- **Only the account's own contacts count.** Addresses and numbers of other companies or people seen on the account's pages (a web
  agency in a site footer, a site that does not show it belongs to the account, a link in bio service's own text) are delivered
  apart in `otherEmails` and `otherPhones` and are never charged. The rule is written out in "Whose address is it?" below.
- **Find the accounts too.** Up to 5,000 usernames, @handles, profile links or numeric ids a run, or keywords (Threads' user search,
  Meta's Ad Library and Instagram's reels search), hashtags (the creators of the reels Instagram shows for them), post links (the
  people who commented) and the accounts Instagram suggests next to them, up to 10 levels deep.
- **Filters that cost nothing.** Followers, posts, verified, account type, influencers only, words, categories, languages, place
  words, a website, engagement, posting activity, reel plays and the contact found. Accounts a filter leaves out are free.
- **Fair billing.** One Profile per account checked, charged once per run, and one Contact only when the check found an e-mail,
  phone or WhatsApp number of the account itself. Accounts not found, private accounts left out, repeats and checks that found
  nothing while a source failed are free.
- **A real-time API as well.** Send one account (or up to 10) and get its contacts back in the same HTTP response, with no run to
  start (see "Real-time API").

### Quick start

1. Open the Actor's **Input** tab and paste accounts in **Instagram accounts**, one per line: `agency.masakini`, `@kopytko_wed`,
   `https://www.instagram.com/nike/` or a numeric user id. Or type keywords such as `florist london` in **Keywords**.
2. Optional: set **Contact found** to `email` to keep only accounts with an e-mail address, and add filters (followers, account
   type, categories).
3. Click **Start**. Each account arrives as a row of the dataset (the **Contacts** view shows the username and name, then the
   e-mail, phone and WhatsApp columns), followed by a free row for each list, keyword, hashtag or post link and a run summary.
4. Download the dataset as JSON, CSV or Excel, or read it through the Apify API, a schedule, Make, n8n or Zapier.

### What you get

One `profile` row per account. The contact fields come first, then the profile's own facts.

| Field | What it holds |
|---|---|
| `username`, `id`, `url`, `fullName` | the username, Instagram's numeric id, the profile link and the name |
| `email` | the account's best e-mail address: the first that counts (see `mailServer`) on a business domain, else the first that counts (null when none counts) |
| `phone`, `whatsapp` | the account's first phone number in international form (else its first phone number) and its first WhatsApp number |
| `contactFound` | `true` when the check found an e-mail, phone or WhatsApp number of the account itself (the Contact event) |
| `emails` | every own address: `email`, `kind` (`business` or `free`), `sources`, `mailServer` (`mx`, `no_mx`, `none`, `unknown`, or null when not checked); only `mx` (or not checked) counts as a contact |
| `phones` | every own phone number: `phone`, `international`, `digits`, `sources` |
| `whatsappNumbers` | every own WhatsApp number: `number`, `valid`, `link` (wa.me), `sources` |
| `contactSources` | where the own contacts were found: `bio`, `bio_link`, `facebook_page`, `link_page`, `website`, `post_caption` |
| `contactCount` | how many own contacts the row carries: e-mail addresses that count, and distinct phone and WhatsApp numbers |
| `otherEmails`, `otherPhones` | addresses and numbers seen on the account's pages that are not shown to be its own, with `seenOn` and (for e-mails) a `reason`; never charged |
| `hasEmail`, `hasPhone` | an own e-mail that counts; an own phone or WhatsApp number |
| `checkStatus` | `complete` (every source answered or was not shown) or `incomplete` (a source failed after its retries). A row always comes with every charge it needs: when your maximum charge cannot pay a row's Profile, Contact, Beacons page and Residential Facebook Page read together, that row and the rest are not delivered (not reached, free) and the run stops |
| `failedSources` | the sources the check could not read after its retries (`bio_link`, `facebook_page`, `link_page`, `website`, `post_caption`, `mail_server`), the reason a row is `incomplete`; empty when the check finished |
| `facebookPage`, `facebookPageStatus` | the Page read: `id`, `name`, `url`, `foundVia` (`instagram_link`, `ad_library`, `bio_link`, `link_page`), `address`, `websites`, `category`, `rating`, plus `likes`, `country` and `verification` when a keyword's Ad Library search found the account through that Page; and how its read ended (`read`, `no_contact_fields`, `no_facebook_page`, `ambiguous_facebook_page`, `not_shown`, `failed`, `not_requested`, `allowance`) |
| `linkInBioPages` | each link in bio page opened: `url`, `service`, `status`, `hasContactCard`, `hasContactForm` |
| `websites` | each website opened: `url`, `domain`, `linkedFrom` (`bio` or `link_page`), `status`, `pagesRead`, `failedReads`, `ownership` (`links_to_account`, `domain_is_name`, `not_shown`) |
| `links` | every link of the bio and the website field, classified: `url`, `kind` (`website`, `link_page`, `facebook`, `whatsapp`, `platform`, `email`, `phone`, `shortener`), `service` |
| `biography`, `externalUrl`, `bioLinks`, `category`, `accountType`, `isVerified`, `isPrivate` | the bio as Instagram serves it, the website field, every bio link, the category, `personal`, `business` or `creator`, and the badges |
| `followerCount`, `followingCount`, `followerToFollowingRatio`, `postsCount` | exact followers and following, their ratio, and the exact post count from the profile's embed page |
| `avgLikes`, `avgComments`, `engagementRate`, `engagementGrade`, `lastPostAt`, `postsPerWeek`, `biographyLanguage` | engagement of the 6 newest posts (likes plus comments over followers, in percent, and its grade), the newest post, the posting pace, the language of the bio and captions (our own estimate) |
| `recentPosts`, `reelStats`, `relatedProfiles` | options: the 6 newest posts, reel figures, the accounts Instagram suggests next to this one |
| `foundVia`, `inputPosition`, `relatedTo`, `expansionLevel` | how the account was found (`username`, `threads`, `threads_variant`, `ad_library`, `reel_creator`, `commenter`, `related_profile`), its position in your list, and for a suggested account the profile it was suggested next to and its level |
| `keyword`, `keywordPosition`, `searchedAs`, `keywordMatch`, `matchedTerms`, `commentsOnPost` | for an account found by keyword or hashtag: the keyword or hashtag, its position in your list, the text searched, whether the username, name or bio holds every word (`all`, `some`, `none`) and the words found; for a commenter, how many of the comments read it wrote |
| `bioHashtags`, `bioMentions`, `fbid`, `transparencyLabel`, `transparencyProduct` | the hashtags and accounts the bio names, the account's Facebook id, and Instagram's state media label when shown |
| `profilePicUrl`, `profilePicUrlHd`, `isProfessional`, `isMetaVerified`, `isMemorialized`, `pronouns`, `highlightTitles`, `hasReels`, `reelsCount`, `threadsUsername`, `threadsUrl` | the profile picture, the professional, Meta Verified and memorial flags, pronouns, story highlight titles, reels, and the account's Threads profile when Instagram shows its badge |
| `custom`, `customError` | the value your `customMapFunction` returned for the row, or why it gave none (an error, a timeout, `not_run`) |
| `scrapedAt` | when the row was made |

**How often a contact is found.** Measured on the platform on 2026-11-16 (default settings, 256 MB) on two lists of public
accounts found by keyword, and never promised: a list of 240 lead accounts (fitness coaches, beauty salons, realtors, bakeries,
yoga studios, marketing agencies and similar businesses, 15 keywords; 224 public accounts delivered) and a fresh list of 150
accounts of 15 other keywords (dentists, plumbers, florists, barbers, lawyers, mortgage brokers and others; 131 delivered). The
e-mail lines add one source at a time to the ones above.

| Accounts with an own contact | 224 lead accounts | 131 other business accounts |
|---|---|---|
| E-mail from the bio and its links | 7.1% | 3.8% |
| E-mail, adding the Facebook Page | 34.8% | 28.2% |
| E-mail, adding link in bio pages | 37.1% | 29.0% |
| E-mail, adding websites | 44.2% | 32.1% |
| E-mail, adding captions (every source, `hasEmail`) | 45.5% | 32.8% |
| Phone number (`phones`) | 37.9% | 36.6% |
| WhatsApp number (`whatsappNumbers`) | 21.4% | 16.8% |
| E-mail, phone or WhatsApp number (`contactFound`) | 66.5% | 48.9% |
| Only another company's or person's address or number (free) | 3.6% | 7.6% |

By source, an own e-mail that counts came from the Facebook Page on 31.2% and 26.0% of the rows, from websites on 17.4% and 10.7%,
from the bio on 7.1% and 3.8%, from link in bio pages on 4.9% and 2.3% and from captions on 1.8% and 0.8% (an address can have
several sources). Business accounts show far more contacts than personal ones: in the two lists 131 of 190 business accounts had
a contact of their own, 78 of 142 creator accounts and 4 of 23 personal accounts. The 240 account list took 14.4 minutes.

**The Facebook share changes with Facebook's answers.** The same 240 lead accounts read again on 2026-11-17 at about 21:00 UTC gave an
own e-mail for 31.2% and an own e-mail, phone or WhatsApp number for 50.4%: by then Facebook refused most logged out reads of Pages
from Apify's datacenter proxy, so 90 of the 224 accounts had their Page unread (the Page gave an own e-mail on 7.6% of the rows
instead of 31.2%). An account whose Page could not be read and that showed no other contact is delivered free (`checkStatus`
`incomplete`, `facebookPageStatus` `failed`). The list took 14.6 minutes. To read those Pages once more through a residential
proxy, turn on `facebookPageResidential` (below): each Page it returns is charged as one Residential Facebook Page read.

Example row (`agency.masakini`, one of the prefill accounts, read on 2026-11-16 at 19:38 UTC; the real-time API returns the same fields as a
dataset row; cut short):

```json
{
  "type": "profile",
  "username": "agency.masakini",
  "url": "https://www.instagram.com/agency.masakini/",
  "fullName": "Agency MasaKini - Marketing Agency",
  "email": "Cluiqstudio@gmail.com",
  "phone": null,
  "whatsapp": "+6285701772311",
  "contactFound": true,
  "emails": [
    {"email": "partnership@agencymasakini.co.id", "kind": "business", "sources": ["link_page:linktr.ee"], "mailServer": "no_mx"},
    {"email": "Cluiqstudio@gmail.com", "kind": "free", "sources": ["facebook_page"], "mailServer": "mx"},
    {"email": "info@agencymasakini.com", "kind": "business", "sources": ["website:agencymasakini.co.id"], "mailServer": "none"}
  ],
  "phones": [],
  "whatsappNumbers": [
    {"number": "+6285701772311", "valid": true, "link": "https://wa.me/6285701772311", "sources": ["bio_link"]},
    {"number": "+6281333626837", "valid": true, "link": "https://wa.me/6281333626837", "sources": ["link_page:linktr.ee", "facebook_page"]}
  ],
  "contactSources": ["bio_link", "facebook_page", "link_page", "website"],
  "contactCount": 3,
  "otherEmails": [],
  "otherPhones": [],
  "checkStatus": "complete",
  "facebookPage": {
    "id": "180091029375322",
    "name": "Agency MasaKini",
    "url": "https://www.facebook.com/agency.masakini/",
    "foundVia": "ad_library",
    "address": "Jl. Tira Medayu, Medokan Ayu, Kec. Rungkut, Kota SBY, Jawa Timur 60295, Surabaya, Indonesia, East Java",
    "websites": ["https://cluiqstudio.com"],
    "category": "Digital creator",
    "rating": null
  },
  "facebookPageStatus": "read",
  "linkInBioPages": [
    {"url": "https://linktr.ee/agencymasakini", "service": "linktree", "status": "read"}
  ],
  "websites": [
    {"url": "https://agencymasakini.co.id/", "domain": "agencymasakini.co.id", "linkedFrom": "bio", "status": "read", "pagesRead": 1, "failedReads": 0, "ownership": "domain_is_name"}
  ],
  "followerCount": 9825,
  "accountType": "business",
  "category": "Advertising/Marketing",
  "foundVia": "username"
}
```

Two of its three addresses are on domains that name no mail server (`no_mx`) or do not exist (`none`): they are delivered so you
see them, `email` takes the one whose domain names a mail server, and `contactCount` counts that address and the two WhatsApp
numbers.

**The free rows.** One `subject` row for your account list and for each keyword, hashtag and post link: its status, why it
stopped, how many accounts were read and delivered and, for an account list, which positions were not found, left out by a
filter, already delivered or not reached. Entries that cannot be used get a free row per reason. The last row of every run is a
free `summary` row with the run's counts.

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

You pay per result (pay per event). Prices per 1,000 events:

| Event | Free | Bronze | Silver | Gold |
|---|---|---|---|---|
| Profile (one account checked and delivered as a row, with or without a contact) | $0.64 | $0.59 | $0.53 | $0.46 |
| Contact (an account whose own e-mail, phone or WhatsApp number was found, once however many) | $2.10 | $1.92 | $1.74 | $1.50 |
| Beacons page (add-on, one Beacons page read) | $7.00 | $6.40 | $5.80 | $5.00 |
| Residential Facebook Page read (opt in, a Page the usual read could not open, read through a residential proxy and returned; event `facebook-page-residential`) | $9.80 | $9.00 | $8.30 | $7.50 |
| Real-time API request (only on the real-time API, once per request that delivers an account) | $3.00 | $3.00 | $3.00 | $3.00 |

Platinum and Diamond plans pay the Gold price. Each run of the input interface also pays the Actor start event of $0.0075, which
has no plan discount; the real-time API has no start event. The Store pricing card shows these same prices per 1,000 events:
"$0.46 / 1,000" on the Profile row means one profile costs $0.00046 (less than a twentieth of a cent), "$1.50 / 1,000" on the
Contact row means one account with a contact costs $0.0015, "$7.00 / 1,000" on the Beacons page row means one Beacons page costs
0.7 cents or less, "$7.50 / 1,000" on the Residential Facebook Page read row means one residential Page read costs 0.75 cents at
Gold (0.98 cents or less on any plan), and "$3.00 / 1,000" on the Real-time API request row means one request costs 0.3 cents. The residential read is charged only on
runs that turn on `facebookPageResidential`, from the date the Actor's pricing page announces for it; every other run costs the
same as before.

Example at the Gold price: 1,000 accounts of which about 500 show a contact of their own (the share measured on the lead list on
2026-11-17) cost 1,000 x $0.00046 + 500 x $0.0015 + $0.0075 = $0.46 + $0.75 + $0.0075 = about $1.22. The Facebook Page, link in bio
pages, websites, the mail server check, the recent posts, reel figures and suggested accounts on the row add no charge.

Free: the account list, keyword, hashtag and post link rows, the summary, left out rows, accounts that do not exist or are not
shown to a logged out reader, private accounts while **Include private accounts** is off, accounts a filter leaves out, repeats,
refused entries, failed reads, a check that found nothing while a source failed after its retries (delivered free with
`checkStatus` `incomplete`), addresses and numbers of others (`otherEmails`, `otherPhones`), a Beacons page that is not found
or not answered, and a residential Facebook Page read that does not return the Page. An invalid input charges only the run's start fee.

### Input

Every setting, grouped as in the Input tab.

#### What to check

| Setting | What it does | Default |
|---|---|---|
| `usernames` | the accounts: usernames, @handles, profile links or numeric user ids, up to 5,000 (at the measured pace of about 4 seconds an account, a run with the default 2 hour timeout reads about 1,750: for more, raise the run's timeout or split the list) | |
| `keywords` | find accounts by keyword (up to 500), searched on Threads' user search, Meta's Ad Library and Instagram's reels search | |
| `hashtags` | find accounts by hashtag (up to 500): the creators of the reels Instagram shows for it | |
| `postUrls` | post or reel links (up to 100): the authors of each post's public comments | |
| `maxProfiles` | stop after this many profiles in the run | every account |
| `maxProfilesPerKeyword` | the most accounts checked for each keyword, hashtag or post link, 1 to 1,000 | 50 |
| `maxCommentersPerPost` | the most comment authors collected from one post, 1 to 500 | 50 |

#### Where to look for contacts

| Setting | What it does | Default |
|---|---|---|
| `readFacebookPage` | read the Facebook Page the account links (its intro: e-mail, phone, WhatsApp, website, address, category, rating) | on |
| `facebookPageResidential` | a Page the usual read could not open (Facebook blocks most datacenter reads of Pages since November 2026) is read once more through Apify's residential proxy, charged as one Residential Facebook Page read only when that read returns the Page; the usual read stays first and free. It works from the date the Actor's pricing page announces for the event; until then a run that sets it reads as without it, is not charged for it and says so in its summary (`facebookPageResidential.status` `not_available_yet`). Needs `readFacebookPage` and Apify Proxy, not your own proxy links | off |
| `readLinkPages` | read the account's link in bio pages (up to 3) | on |
| `readWebsites` | read the account's own website | on |
| `maxLinkPageWebsites` | the most websites the account's link in bio pages point to that are read as well, 0 to 10 (0 reads none; needs `readLinkPages` and `readWebsites`) | 2 |
| `maxWebsitePages` | the most pages read on one website, 1 to 5 | 3 |
| `checkEmailDomains` | look up the mail server (MX) of each address's domain; off, every address counts | on |
| `readBeacons` | add-on: read the account's Beacons page (beacons.ai) through Apify's residential proxy, charged per page read | off |
| `contactFilter` | keep only accounts with this own contact: `any`, `emailOrPhone`, `email`, `phone` (a phone or WhatsApp number), `emailAndPhone` | `any` |

#### Keyword search

| Setting | What it does | Default |
|---|---|---|
| `searchThreads` | Threads' user search (about 100 accounts a search) | on |
| `searchAdLibrary` | Meta's Ad Library: Facebook Pages matching the keyword that link an Instagram account (up to 15 a search) | on |
| `adLibraryCountry` | the country the Ad Library search favours: `ALL` or a two letter code such as `US` | `ALL` |
| `searchReelCreators` | the creators of the reels Instagram's popular reels search lists for the keyword | on |
| `reelSearchPages` | pages of the reels search to read, 1 to 8 | 1 |
| `searchVariants` | also search Threads for the joined, underscored and dotted forms of a keyword of several words | off |

#### Suggested accounts

| Setting | What it does | Default |
|---|---|---|
| `expandWithRelatedProfiles` | also check the accounts Instagram suggests next to the profiles found (each a Profile) | off |
| `expansionDepth` | how many levels of suggested accounts, 1 to 10 | 1 |
| `maxRelatedProfiles` | the most accounts the expansion adds, 1 to 1,000 | 50 |
| `maxRelatedPerAccount` | the most suggestions taken from each profile, 1 to 50 | 50 |

#### What each row carries

| Setting | What it does | Default |
|---|---|---|
| `includeRecentPosts` | the 6 newest posts on the row (their captions are read for e-mail addresses either way) | off |
| `includeReelStats` | reel figures of the 12 newest reels (`reelStats`) | off |
| `includeRelatedProfiles` | the suggested accounts on the row (`relatedProfiles`) | off |

#### Filters

| Setting | What it does | Default |
|---|---|---|
| `minFollowers`, `maxFollowers`, `minPosts`, `maxPosts` | follower and post ranges | none |
| `verified` | `any`, `only` or `exclude` | `any` |
| `accountTypes` | `personal`, `business`, `creator`, `professional` (business or creator) | every type |
| `influencersOnly` | creator accounts, and accounts whose category is one of: Digital creator, Video creator, Gaming video creator, Blogger, Personal blog, Public figure, Artist, Musician, Musician/band, Athlete, Fitness model, Fashion model, Model, Actor, Comedian, Writer, Author, Photographer, Gamer, Dancer, Chef, Entrepreneur, Coach, Personal coach, Fitness trainer, Makeup artist, Podcast, Journalist, News personality, Motivational speaker, DJ, Producer, Designer, Fashion designer | off |
| `includePrivate` | check private accounts from what they show (their bio, their Facebook Page) and bill them like any account | off |
| `requireKeywordMatch` | keep only accounts whose username, name or bio holds every word of the keyword (`keywordMatch` `all`) | off |
| `mustContain`, `mustContainIn` | words that must be in the username, name and bio (or the bio, the name, the recent captions, anywhere) | none, `bio_or_name` |
| `excludeWords` | leave out accounts whose username, name or bio holds any of these | none |
| `categories`, `combineCategoryAndWords` | words of the Instagram category; with `mustContain`, both (`and`) or either (`or`) | none, `and` |
| `languages` | two letter codes of the bio and captions language (our own estimate) | any |
| `locationMustContain` | place words the account's bio, or its Facebook Page's address or country, must name (judged after the contact check) | none |
| `requireWebsite` | keep accounts with a website or another bio link | off |
| `minEngagementRate` | minimum engagement rate in percent | none |
| `activeWithinDays` | newest post at most this many days old | none |
| `minRecentPosts`, `recentPostsDays` | at least N of the 6 newest posts within the period | none, 30 days |
| `minMedianReelPlays`, `reelPostedWithinDays`, `minPlaysToFollowersPercent`, `maxPlaysToFollowersPercent` | reel filters (need `includeReelStats`) | none |
| `excludeUsernames` | accounts never to deliver, up to 10,000 (for example those an earlier run gave you) | none |
| `includeLeftOutAccounts` | a free row for every account read and left out, with the reason | off |
| `minMatchRatePercent` | stop when, after 100 accounts judged, fewer than this percent passed the filters | never |

Every filter is judged on the row as it will be delivered, the contact filter on the account's own contacts after the check; an
account a filter leaves out is free.

#### Run settings

| Setting | What it does | Default |
|---|---|---|
| `maxConcurrency` | accounts read and checked at the same time, 4 to 8 (a check mostly waits on other sites, so fewer would make every account dearer than its Profile pays for) | 4 |
| `maxRunSeconds` | stop the run after this many seconds | platform timeout |
| `requestTimeoutSecs`, `maxRetries` | how long one request may take, and retries per request | 30, 2 |
| `customMapFunction` | an optional JavaScript function `(row) => value` run on every account row as it will be delivered; its value is stored on the row as `custom` (at most 100 KB; a failure or a 1 second timeout gives `custom` null and `customError`, and the row is delivered and billed as usual). It runs in a sealed process with no network, no files and no environment | none |
| `proxyConfiguration` | Apify Proxy (default: the run's own address first, Apify's datacenter proxy when a request is refused there), a group or country, or your own proxy links | Apify Proxy |

### Whose address is it?

A page an account links can show many addresses: the account's own, its web designer's, a partner's, a platform's help desk. The
Actor splits them by one rule, and only the account's own contacts make a Contact.

**The account's own** (in `emails`, `phones`, `whatsappNumbers`):

- what its Instagram bio shows, and the e-mail, phone and WhatsApp links among its bio links;
- the e-mail, phone and WhatsApp number in the intro of its Facebook Page: the Page Instagram names for the account, the Page a
  keyword's Ad Library search matched to it, a facebook.com Page its bio links or its Linktree page links (on another link in bio
  page only a Page whose name is the account's), or else the one Page Meta's Ad Library names with this account as its Instagram
  account (two such Pages: none is taken);
- on its Linktree page, every e-mail, phone and WhatsApp button;
- on any other link in bio page (Stan, bio.site, lnk.bio and the others), whose page also carries the service's own text, an
  e-mail address only when it is named as the account: its domain carries the account's username or name, or it is a free mail
  address on the account's username or name. Phone and WhatsApp numbers of such a page are delivered
  in `otherPhones` and never billed;
- on a website the account links (in its bio, or through its link in bio page) that shows it belongs to the account, because its
  domain is the account's username or name, or because it links to this Instagram account from the page the account linked when
  that page is the site's home page or one step below it (a shop page or an article deeper in another site does not count): an
  address on the site's own domain (or another domain of the bio named as the account), and a free mail address (Gmail and the
  like) whose name is the site's or the account's; phone numbers
  of such a site only from its phone links and its structured data, never from its free text;
- a free mail address whose name matches the account's username or name, on any website the account links;
- an address in a caption only when its domain is a bio domain named as the account or it is a free mail address of the
  account's name.

**Everything else** is another company's or person's (in `otherEmails` and `otherPhones`, with the page it was seen on and, for an
address, the reason: `another_company_on_the_site`, `site_not_shown_as_the_account`, `link_page_not_shown_as_the_account`,
`caption_not_shown_as_the_account`). It is delivered, never charged, and never makes `contactFound` true. Placeholders
(`name@domain.com`), no-reply and list addresses, and the addresses of the tools a site is built with are dropped.

**A known limit.** The website test asks whether a site links to the account from its home page or one step below. A short page
ABOUT the account that the account itself links (a directory entry one step below a site's home) and that links back to its
Instagram passes that test, so an address on that page's domain can be given as the account's own; a deeper page (a shop page, a
magazine article) does not pass it. `websites[].ownership` and the `website:<domain>` source let you check such rows.

### Work that earns nothing

Reads that deliver no paid profile (names that do not exist or are not shown logged out, private accounts left out, accounts a
filter leaves out, failed reads, checks that end free) are free, so the run bounds them: a run starts with a small allowance of
such work and every Profile and Contact it delivers adds to it. When the allowance is spent the run stops with `work_allowance`,
and the account list row names the accounts not reached so you can run them again. A list whose first few hundred entries all
miss, or a strict filter on a large list or a broad keyword, can therefore stop before the accounts behind them: put the accounts
you trust first, or split the list. A run that delivers profiles runs to its end. The Beacons add-on has an allowance of its own,
which Beacons page events add to, so failed Beacons reads stop the add-on and never the rest of the run; the residential Facebook
Page read draws on the same add-on allowance, which its own events add to. A source the allowance
leaves unread (a Beacons page, a website's contact page) counts like a source that failed: an account whose check then found
nothing is delivered free (`checkStatus` `incomplete`).

**When Apify restarts a run.** Apify can move a running run to another server (a migration); the run then goes on where it was,
and an account already delivered is never delivered or charged twice. When a restarted run still stops before its lists were read,
a free status row (`status` `skipped`) holds `readyInput`: this run's input with only the keywords, hashtags and post links that
delivered nothing, ready to paste as the input of a new run. Usernames of your list are never put back into it (a restarted run
cannot prove an account was not already billed under another name); the account list row counts the delivered entries (each
row carries its `inputPosition`) and names every position left out or not reached, so you can send the ones not reached again
yourself.

### Real-time API

This Actor is also a Server Actor: next to the input interface (a run) it answers plain HTTP requests in real time, with no run to
start and no dataset to read. Send an Instagram account and get its contacts back in the response: for a CRM, a form, an
automation step or an AI agent that needs one account's contact now.

The server URL is `https://automation-craft--instagram-email-scraper.apify.actor` (also on the **Server** tab of the Actor page);
authenticate with your Apify token, the same way as for the Apify API.

| Endpoint | What it does |
|---|---|
| `GET /contacts?username=<account>` | One account: a username, an @handle, a profile link (`https://www.instagram.com/<username>/`, no query) or a numeric user id. Returns one account record, the same fields as a dataset row of the input interface. |
| `POST /contacts` with `{"usernames": ["...", "..."]}` | Up to 10 accounts in one request. Returns a JSON list with one record per element, in the order given; an account not found, a private account, an invalid value, a repeat or a failed check gets a free status record in its place. |
| `GET /` | A short JSON description of the endpoints, the limits and the prices. Free. |

Both `/contacts` endpoints take these options (in the query for `GET`, in the body for `POST`), with the defaults of the input
interface: `readFacebookPage`, `readLinkPages`, `readWebsites` (all `true`), `maxLinkPageWebsites` (0 to 10, default 2),
`maxWebsitePages` (1 to 5, default 3), `checkEmailDomains` (`true`) and `includePrivate` (`false`). Any other option, `readBeacons`
and `facebookPageResidential` included, is refused with `400`, never ignored: keywords, hashtags, post links, suggested accounts, filters and the Beacons add-on
are the input interface's.

```bash
curl -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" \
  "https://automation-craft--instagram-email-scraper.apify.actor/contacts?username=agency.masakini"
```

```bash
curl -X POST -H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"usernames": ["agency.masakini", "kopytko_wed"], "readWebsites": false}' \
  "https://automation-craft--instagram-email-scraper.apify.actor/contacts"
```

How fast, measured on 2026-11-16 (256 MB): the first request to a server that was asleep answered in 5 to 11 seconds; after that
one account answered in 4.1 seconds at the median and within 28 seconds for 95 percent of requests, and a `POST` of 10 accounts in
about 6 seconds. The check opens the account's Facebook Page, link pages and website, so a slow site makes a slow answer; every
answer comes within about 135 seconds.

Anything but a record is a JSON error with an HTTP status: `{"error": {"type": "...", "message": "..."}}`. `400` the input is
invalid, names more than 10 accounts or sends an option the endpoint does not have; `402` the platform refused the request event
of your last three requests (for example a spending limit of your account), so your requests pause for up to ten minutes on that
server run; `404` (`account-not-found`) Instagram does not show the account to a logged out reader; `409` the request id was
already used; `422` (`private-account`) a private account while `includePrivate` is off; `429` too many reads from your account at
once (one server run takes about 30 accounts a minute and 10 at a time from one Apify account; wait for the seconds in
`Retry-After`); `502` Instagram or a source failed after its retries and nothing was found; `503` the server is busy or
restarting, or the charge was not accepted (no record is returned without its charge); `504` the request took too long. The `404`,
`422` and `502` answers are for `GET`; `POST` puts the same outcome in a free status record of its list. An error charges nothing,
with two exceptions that say so themselves: `503` of the type `charge-unconfirmed` (the platform did not confirm the charge, so no
data was returned although it may have been recorded once) and `500` of the type `internal-error-after-charge`. Report either
through the Issues tab with the `X-Actor-Request-ID` response header.

The `X-Charged-Events` response header says what the request charged, for example `profile=2; api-request=1; contact=1`; a value
of `unconfirmed` means the platform did not confirm that charge.
The Contact charge is asked first: when the platform refuses it, the answer is `503` and nothing is charged or returned. When it
accepts the contacts and then refuses the accounts, the records with a contact are returned and every other one becomes a free
status record (`charge_failed`). A record never comes with a part of it taken off.

#### How much does a real-time request cost?

You pay per request and only for what the response delivers: one Profile per account record, one Contact per record whose own
e-mail, phone or WhatsApp number was found, and one Real-time API request ($0.003 on every plan) per request that delivers at least
one account record. There is no Actor start event and no platform usage to pay. Example at the Gold price: one account with a
contact costs $0.00046 + $0.0015 + $0.003 = about $0.005; ten accounts in one `POST /contacts`, six with a contact, cost
10 x $0.00046 + 6 x $0.0015 + $0.003 = about $0.017. A request that delivers no account record is free.

#### When to use the input interface instead

For lists, use a run of the input interface: it takes up to 5,000 accounts, keywords, hashtags and post links, suggested accounts,
filters and the Beacons add-on, writes a dataset you can export, and has no Real-time API request event. The real-time API is for
one answer within seconds.

### API examples

Runs of the input interface through the Apify API:

```bash
curl -X POST "https://api.apify.com/v2/acts/automation_craft~instagram-email-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"usernames": ["agency.masakini", "kopytko_wed"], "contactFilter": "email"}'
```

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('automation_craft/instagram-email-scraper').call({ keywords: ['florist london'], maxProfilesPerKeyword: 100, contactFilter: 'emailOrPhone' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((row) => row.type === 'profile').map((row) => [row.username, row.email, row.phone, row.contactSources]));
```

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_TOKEN")
run = client.actor("automation_craft/instagram-email-scraper").call(run_input={"hashtags": ["weddingphotographer"], "accountTypes": ["business"]})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["type"] == "profile" and row["contactFound"]:
        print(row["username"], row["email"], row["whatsapp"])
```

### What this Actor does NOT do

- **No e-mail or phone of Instagram's own "Contact" button**, and no "WhatsApp linked" flag of that button. Instagram does not
  show the button's details to a logged out reader: 245 requests on 49 variants of its pages and endpoints carried none. The bio,
  bio links, link in bio pages, the Facebook Page, the website and captions are read instead.
- **No Instagram business address** (street, city, postcode). Instagram did not show it to a logged out reader on any of 431
  profiles we read; the Facebook Page's address is delivered instead (`facebookPage.address`).
- **No follower or following lists and no post likers.** Instagram shows them only to logged in viewers; this Actor reads logged
  out only. The commenters of a post are public and can be read (`postUrls`).
- **No location search.** A logged out reader gets only the first page of a place's posts, too few to find accounts by; use place
  words (`locationMustContain`) on accounts found by keyword instead.
- **No "About this account" facts** (the date an account joined, its country, former usernames): Instagram shows them only to
  logged in viewers.
- **No e-mail verification by sending mail.** The Actor checks that an address's domain names a mail server (its MX record); it
  does not open a mail session (SMTP) with that server or call a paid verification service. Use a verification service of your
  choice for that.
- **No memory across runs.** There is no "repeat my last run", no "skip accounts from earlier runs", no monitoring and no change
  tracking; give the accounts you already have in `excludeUsernames`, and schedule runs and compare them yourself.
- **No posts, comments, reels or media as rows of their own, and no video or audio downloads.** This listing does one job, the
  contacts of accounts; the recent posts and reel figures it reads are carried on the account's row. Our
  [Instagram Post Scraper](https://apify.com/automation_craft/instagram-post-scraper),
  [Instagram Comments Scraper](https://apify.com/automation_craft/instagram-comments-scraper) and
  [Instagram Reels Scraper](https://apify.com/automation_craft/instagram-reels-scraper) deliver those.
- **No guessed phone numbers.** A number is delivered only when it is written as one whole number: a list of numbers
  separated by slashes is read number by number, but a number glued to letters or codes, a list mixing local and international
  numbers, two numbers in one field of a page's data, or a toll free number written without its country code and followed by a
  word (it may go on in letters, like 1-800-FLOWERS) is skipped rather than guessed, so a row never carries a number cut short or
  two numbers run together.
- **No lists of tens of thousands of accounts in one run.** A run takes up to 5,000 accounts and reads about 4 seconds an account
  (every account is checked on up to six sources), so a run with the default 2 hour timeout reads about 1,750; for a longer list,
  raise the run's timeout or split the list into runs.
- **No page styling.** A website or link page is read as its HTML holds it: text a page hides with CSS or the `hidden` attribute is
  read like its other text (the Actor runs no browser). Template content (never part of the page) and scripts are not read.
- **No Beacons pages without the add-on.** Beacons pages answer only through a residential proxy, so they are read only with
  **Beacons pages (add-on)** on, in runs of the input interface.
- **No logins, cookies or accounts of yours.** The Actor reads only what a logged out visitor sees, so it never asks for your
  Instagram session and never puts an account of yours at risk.

### FAQ

#### How to see emails connected to Instagram?

Instagram's own contact button is shown only to logged in users, so the Actor reads what any logged out visitor can see: the bio,
the bio links, link in bio pages such as Linktree, the Facebook Page the account links, its website and its captions. On 224 lead
accounts measured on 2026-11-16 that gave an own e-mail address with a mail server for 45.5 percent and an e-mail, phone or
WhatsApp number for 66.5 percent; on 2026-11-17, with Facebook refusing most logged out Page reads, 31.2 and 50.4 percent.

#### Can I get phone numbers from Instagram too?

Yes. Every row carries the account's own phone numbers (`phones`) and WhatsApp numbers (`whatsappNumbers`) with where each was
found, and `phone` and `whatsapp` give the first of each. **Contact found** set to `phone` keeps only accounts with a phone or
WhatsApp number.

#### Does it find e-mails behind Linktree?

Yes. Linktree pages and about 50 other link in bio services (Stan, bio.site, lnk.bio, link.me, Taplink and more) are opened and
read, as are the websites the page points to (2 by default, up to 10). On Linktree every e-mail, phone and WhatsApp button counts
as the account's; on the other services an address counts when it is named as the account, and numbers are listed apart for free.
Beacons pages are read with the **Beacons pages (add-on)** setting, charged per page read.

#### Is it legal to scrape e-mails from Instagram?

The Actor reads only public pages that any logged out visitor sees, with no login. How you may store and use the addresses
depends on your country and purpose: laws such as the GDPR in the EU and CAN-SPAM in the US apply to contacting people, and you are
responsible for using the contacts lawfully. This is not legal advice.

#### Why does this Actor run with limited permissions?

It needs no more: it reads public pages and writes only to its own run's dataset and key-value store, so it cannot touch anything
else in your Apify account. The real-time API writes nothing at all: a record is built for the response and kept nowhere.

### More data tools by Automation Craft

- [Instagram Profile Scraper: Followers, Bio, Posts](https://apify.com/automation_craft/instagram-profile-scraper)
- [Instagram User Search Scraper: Profiles by Keyword](https://apify.com/automation_craft/instagram-user-search-scraper)
- [Instagram Related Profiles & Similar Accounts](https://apify.com/automation_craft/instagram-related-profiles-scraper)
- [Instagram Comments Scraper: Posts, Reels, No Login](https://apify.com/automation_craft/instagram-comments-scraper)
- [Instagram Hashtag Search Scraper: Post Counts](https://apify.com/automation_craft/instagram-hashtag-search-scraper)
- [Instagram Reels Search Scraper: Reels by Keyword](https://apify.com/automation_craft/instagram-reels-search-scraper)
- [Instagram Search Scraper: Reels, Users, Hashtags](https://apify.com/automation_craft/instagram-search-scraper)
- [Facebook Page Search Scraper: Pages by Keyword](https://apify.com/automation_craft/facebook-page-search-scraper)
- [Facebook Page ID Finder: Names to Page IDs](https://apify.com/automation_craft/facebook-page-id-finder)
- [LinkedIn Company Employees Scraper - No Login](https://apify.com/automation_craft/linkedin-company-employees-scraper)
- [Meta Branded Content Scraper: Paid Partnerships](https://apify.com/automation_craft/meta-branded-content-scraper)
- [TikTok Profile Scraper: Exact Stats, No Login](https://apify.com/automation_craft/tiktok-profile-scraper)

### Changelog

See the Changelog tab: 0.1 (2026-11) is the first release.

# Changelog

This Actor's version history is a separate document: https://apify.com/automation_craft/instagram-email-scraper/changelog.md

# Actor input Schema

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

Instagram accounts to check for contacts (up to 5,000; a run with the default 2 hour timeout reads about 1,750, so raise the timeout for more): usernames, @handles, profile links (instagram.com/<username>/) or numeric user ids. Each public account gives one row with every e-mail address and phone number found. An account Instagram does not show to a logged out reader (not found, renamed, deleted) is free, and its position in this list is named on the account list row.

## `keywords` (type: `array`):

Find accounts by keyword (up to 500), for example florist london or wedding photographer: each keyword is searched on Threads' user search, Meta's Ad Library (Facebook Pages with their Instagram account) and Instagram's reels search, and up to maxProfilesPerKeyword accounts found are checked for contacts. Entries that cannot be used get one free row per reason.

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

Find accounts by hashtag (up to 500), with or without # (for example #weddingphotographer): the creators of the reels Instagram shows for the hashtag are checked for contacts, up to maxProfilesPerKeyword accounts a hashtag. One hashtag an entry: letters, digits and underscores, no spaces.

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

Instagram post or reel links (up to 100). The authors of each post's public comments are read as profiles, with commentsOnPost (how many of the comments read they wrote). Likers are not public logged out.

## `maxProfiles` (type: `integer`):

Stops the run once this many profiles were delivered (accounts are read in the order given). Empty means every account in the list.

## `maxProfilesPerKeyword` (type: `integer`):

The most accounts checked for each keyword, hashtag or post link (1 to 1,000, default 50). Accounts a filter leaves out do not count.

## `maxCommentersPerPost` (type: `integer`):

For post links: the most distinct comment authors collected from one post before their profiles are read (about 15 comments a call).

## `readFacebookPage` (type: `boolean`):

Read the Facebook Page the account links (the Page Instagram names, a facebook.com link in the bio, or the one Page Meta's Ad Library names with this account as its Instagram account): the e-mail, phone, WhatsApp, website, address, category and rating its intro shows. The biggest source of e-mail addresses (about 30 percent of the lead accounts measured). No extra charge.

## `facebookPageResidential` (type: `boolean`):

Reads the Facebook Page through Apify's residential proxies when the usual (free) read fails, because Facebook blocks most datacenter reads of Pages. Billed per Page (Residential Facebook Page read, event facebook-page-residential) only when the residential read returns the Page. Works from the date the pricing page announces for the event; until then it changes nothing and costs nothing. Needs Apify Proxy, not your own proxy links.

## `readLinkPages` (type: `boolean`):

Open the account's link in bio pages (Linktree, Stan, bio.site, lnk.bio, link.me, Taplink and about 45 more) and read the e-mail, phone and WhatsApp buttons they show. On pages other than Linktree an address counts only when it is named as the account, and phone and WhatsApp numbers are listed apart (otherPhones, free). No extra charge.

## `readWebsites` (type: `boolean`):

Open the account's own website (the bio link that is not a social network, a shop or a booking platform): its home page, then a contact, imprint or about page while no address of the account was found. robots.txt is respected. No extra charge.

## `maxLinkPageWebsites` (type: `integer`):

The most websites the account's link in bio pages point to that are read as well, like the account's own website (0 to 10; left out: 2; 0 reads none). Needs Link in bio pages and Websites. No extra charge.

## `maxWebsitePages` (type: `integer`):

The most pages read on one website (1 to 5; left out: 3): the page linked, then contact, imprint or about pages while no address of the account was found. Needs Websites.

## `checkEmailDomains` (type: `boolean`):

Look up the mail server (MX record) of each e-mail address's domain. An address whose domain names no mail server (or whose lookup fails) is still delivered, with its mailServer value, but does not count as a contact found. Off: every address counts.

## `readBeacons` (type: `boolean`):

Also read the account's Beacons link in bio page (beacons.ai), through Apify's residential proxy. Charged per Beacons page read (Beacons page event); a page that is not found or not answered is free. Off by default.

## `contactFilter` (type: `string`):

Keep only accounts where the check found this contact of the account's own: any account (default), an e-mail or a phone, an e-mail, a phone, or both. Accounts it leaves out are free.

## `searchThreads` (type: `boolean`):

Threads' user search: accounts whose name or username matches the keyword (about 100 a search). Finds accounts that use Threads; their Threads username is their Instagram username.

## `searchAdLibrary` (type: `boolean`):

Meta's Ad Library search: Facebook Pages matching the keyword that link an Instagram account (up to 15 a search), with the Page's id, category, likes and country on the row.

## `adLibraryCountry` (type: `string`):

The country the Ad Library search favours: ALL (default) or a two letter code in capitals such as US, GB or DE (local Pages come first).

## `searchReelCreators` (type: `boolean`):

Instagram's popular reels search for the keyword: the creators of its matching reels (24 on the first page; more with Reel search pages), accounts that post about the keyword. Broad single words list no reels.

## `reelSearchPages` (type: `integer`):

How many pages of Instagram's popular reels search to read for the reel creators: the first page lists 24 reels, each next one about 50, about 96 reels a search in all. One search call a page; more pages find more creators.

## `searchVariants` (type: `boolean`):

For a keyword of several words, also search Threads for its joined, underscored and dotted forms ("coffeeroaster", "coffee_roaster", "coffee.roaster"), which find accounts named that way (32 to 134 more accounts on six keywords measured). Three more searches a keyword.

## `expandWithRelatedProfiles` (type: `boolean`):

Also delivers the accounts Instagram suggests next to the profiles of your list, each as a profile row of its own (charged as a Profile), marked with the profile it was suggested next to (relatedTo). Logged out, Instagram suggests accounts for about a third of the profiles. One more read per profile.

## `expansionDepth` (type: `integer`):

With expandWithRelatedProfiles: 1 adds the accounts suggested next to your list, 2 also those suggested next to them, and so on up to 10. maxRelatedProfiles caps the accounts added in all.

## `maxRelatedProfiles` (type: `integer`):

With expandWithRelatedProfiles: stops the expansion once this many suggested accounts were delivered (default 50).

## `maxRelatedPerAccount` (type: `integer`):

With expandWithRelatedProfiles: takes at most this many of the accounts Instagram suggests next to each profile, in Instagram's order, at every level (default 50, all of them; Instagram suggests at most 50).

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

Adds the account's 6 newest posts (link, date, likes, comments, caption, pinned, paid partnership, place) to its row. Engagement figures are computed from them either way, and their captions are always read for contacts.

## `includeReelStats` (type: `boolean`):

Reads the account's 12 newest reels: median, average and highest play count and the newest reel's date (reelStats). One more read per account, no extra charge.

## `includeRelatedProfiles` (type: `boolean`):

Adds the accounts Instagram suggests next to each profile (relatedProfiles; often none logged out). One more read per account, no extra charge.

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

Leave out accounts with fewer followers.

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

Leave out accounts with more followers.

## `minPosts` (type: `integer`):

Leave out accounts with fewer posts (private accounts show no post count and are left out by this filter).

## `maxPosts` (type: `integer`):

Leave out accounts with more posts.

## `verified` (type: `string`):

Any account (default), verified accounts only, or unverified accounts only.

## `accountTypes` (type: `array`):

Keep only these account types (empty keeps every type). Professional means business or creator.

## `influencersOnly` (type: `boolean`):

Keep only creator accounts and accounts whose category is one of a list of people who publish for an audience (Digital creator, Video creator, Blogger, Public figure, Artist, Musician, Athlete, model, Writer, Photographer, Gamer, Chef, Coach and more; README "Filters").

## `includePrivate` (type: `boolean`):

Private accounts show their name, bio and links but no posts. On: a private account is checked from what it shows (its bio, its Facebook Page) and billed like any account checked. Off (default) leaves them out, free.

## `requireKeywordMatch` (type: `boolean`):

Keep only accounts whose username, name or bio holds every word of the keyword (keywordMatch "all"). The searches match names loosely: for "real estate agent miami" 8 of the 118 readable accounts found carried every word.

## `mustContain` (type: `array`):

Keep only accounts that hold at least one of these words or phrases (whole words, any case; a word of four letters or more also counts inside the username) in the part mustContainIn names.

## `mustContainIn` (type: `string`):

Where mustContain looks: the username, name and bio (default), the bio only, the username and name only, the captions of the 6 recent posts, or anywhere.

## `excludeWords` (type: `array`):

Leave out accounts whose username, name or bio holds any of these words or phrases.

## `categories` (type: `array`):

Keep only accounts whose Instagram category holds one of these words ("photographer", "coffee shop"). Accounts without a category are left out.

## `combineCategoryAndWords` (type: `string`):

When both categories and mustContain are set: an account must pass both (default), or either one.

## `languages` (type: `array`):

Keep only accounts whose bio and recent captions read as one of these languages (two letter codes such as en, es, de; our own estimate, accounts we cannot tell are left out).

## `locationMustContain` (type: `array`):

Keep only accounts that name one of these places in their bio, or whose Facebook Page shows it in its address or country. Judged after the contact check (the Page's address comes from it).

## `requireWebsite` (type: `boolean`):

Keep only accounts with a website or another link in their bio.

## `minEngagementRate` (type: `number`):

Keep only accounts whose engagement rate (average likes and comments of their 6 newest posts over followers, in percent) is at least this. Accounts without visible likes are left out.

## `activeWithinDays` (type: `integer`):

Keep only accounts whose newest post (pinned posts aside) is at most this many days old.

## `minRecentPosts` (type: `integer`):

Keep only accounts with at least this many of their 6 newest posts inside the last recentPostsDays days (1 to 6).

## `recentPostsDays` (type: `integer`):

The period minRecentPosts counts in, in days back from the run's start (default 30).

## `minMedianReelPlays` (type: `integer`):

Keep only accounts whose 12 newest reels have at least this median play count. Needs includeReelStats.

## `reelPostedWithinDays` (type: `integer`):

Keep only accounts whose newest reel is at most this many days old. Needs includeReelStats.

## `minPlaysToFollowersPercent` (type: `number`):

Keep only accounts whose median reel play count is at least this percent of their followers. Needs includeReelStats.

## `maxPlaysToFollowersPercent` (type: `number`):

Leave out accounts whose median reel play count is above this percent of their followers (one viral reel). Needs includeReelStats.

## `excludeUsernames` (type: `array`):

Accounts never to deliver (usernames, @handles, profile links or ids), for example accounts an earlier run already gave you (up to 10,000). They are left out free.

## `includeLeftOutAccounts` (type: `boolean`):

Adds a free row for every account read and left out (its username and the reason: a filter, not shown logged out, already delivered), so you see why an account is missing.

## `minMatchRatePercent` (type: `integer`):

Stops the run when, after 100 accounts were judged, fewer than this percent of them passed your filters (a list that does not fit the filters). Empty never stops.

## `customMapFunction` (type: `string`):

Optional JavaScript function (row) => value run on every account row as it will be delivered; its JSON value is stored on the row as `custom` (at most 100 KB; a failure or a 1 second timeout gives `custom` null and `customError`, the row is delivered and billed as usual). It runs in a sealed process with no network, no files and no environment. Example: (row) => ({ email: row.email, followers: row.followerCount }).

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

How many accounts are read and checked in parallel (4 to 8, default 4). A check mostly waits on other sites, so fewer would make every account dearer than its Profile pays for.

## `maxRunSeconds` (type: `integer`):

Stops the run after this many seconds; the account list row names the accounts not reached. Empty means the platform timeout.

## `requestTimeoutSecs` (type: `integer`):

How long one request may take before it is retried.

## `maxRetries` (type: `integer`):

How often a failed request is retried on a fresh connection.

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

Default: Apify Proxy without a group or country, which reads from the run's own address first and moves a request type to Apify's datacenter proxy when it is refused there. Choose a group or a country to read only through Apify Proxy, or give your own proxy links. A residential group is read through the datacenter pool instead (no extra cost).

## Actor input object example

```json
{
  "usernames": [
    "be.dot.salon",
    "kopytko_wed",
    "agency.masakini"
  ],
  "maxProfilesPerKeyword": 10,
  "maxCommentersPerPost": 50,
  "readFacebookPage": true,
  "facebookPageResidential": false,
  "readLinkPages": true,
  "readWebsites": true,
  "checkEmailDomains": true,
  "readBeacons": false,
  "contactFilter": "any",
  "searchThreads": true,
  "searchAdLibrary": true,
  "adLibraryCountry": "ALL",
  "searchReelCreators": true,
  "reelSearchPages": 1,
  "searchVariants": false,
  "expandWithRelatedProfiles": false,
  "includeRecentPosts": false,
  "includeReelStats": false,
  "includeRelatedProfiles": false,
  "verified": "any",
  "influencersOnly": false,
  "includePrivate": false,
  "requireKeywordMatch": false,
  "mustContainIn": "bio_or_name",
  "combineCategoryAndWords": "and",
  "requireWebsite": false,
  "recentPostsDays": 30,
  "includeLeftOutAccounts": false,
  "maxConcurrency": 4,
  "requestTimeoutSecs": 30,
  "maxRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `items` (type: `string`):

No description

# 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": [
        "be.dot.salon",
        "kopytko_wed",
        "agency.masakini"
    ],
    "maxProfilesPerKeyword": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automation_craft/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": [
        "be.dot.salon",
        "kopytko_wed",
        "agency.masakini",
    ],
    "maxProfilesPerKeyword": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automation_craft/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": [
    "be.dot.salon",
    "kopytko_wed",
    "agency.masakini"
  ],
  "maxProfilesPerKeyword": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automation_craft/instagram-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation_craft/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/75WosuefxCkJcjC0X/builds/qmnJdawit0J267UhS/openapi.json
