# Facebook Email Scraper - Multi-Engine, Type Targeted (`scrapido/facebook-contact-extractor`) Actor

📘 Facebook Email Scraper runs multi-engine search with address-type filtering. 🌍 Country and region targeting keeps Facebook leads relevant, while alias merging and decoding keep results clean. 📈 Built for agencies & B2B sales.

- **URL**: https://apify.com/scrapido/facebook-contact-extractor.md
- **Developed by:** [Scrapido](https://apify.com/scrapido) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### Facebook Email Scraper

**Facebook Email Scraper** helps you extract publicly available contact details from Facebook profiles and pages for faster outreach, research, and prospecting. It’s built for marketers, analysts, and researchers who need reliable Facebook email extraction, Facebook contact scraper results, and a scalable social media email scraper without the manual grind. 🚀

### What Does Facebook Email Scraper Do? 🤖

Facebook Email Scraper collects publicly available data using your search terms, country target, source region, email type, and result limit. During a run, it scrapes relevant Facebook profile data, extracts contact information when available, filters results based on your settings, and saves everything into a structured dataset. This makes Facebook data extraction much faster than checking profiles one by one. It’s a practical Facebook leads scraper and Facebook profile scraper for teams that need repeatable results at scale.

### What Can Facebook Email Scraper Extract? 📊

This actor saves clean, structured records for each discovered result. The dataset includes the keyword used to find the profile, the profile title, the URL, a description, email details, the email domain, email type, where the result was found, and the selected country. It’s ideal for Facebook contact extraction, Facebook profile email finder workflows, and lead generation scraper use cases.

| Data Type | Field Name | Description |
|---|---|---|
| Discovery | `keyword` | The search term that surfaced the result |
| Identity | `title` | The profile or page title |
| Navigation | `url` | Direct link to the profile or page |
| Context | `description` | A short public description or summary |
| Contact | `email` | The extracted email address |
| Contact | `email_domain` | The domain part of the email address |
| Contact | `email_type` | The email category selected for the run |
| Discovery | `scrape_from` | The Facebook section or source region the result came from |
| Location | `country` | The selected target country |

#### Key Features of Facebook Email Scraper ⚡

- ✅ **Keyword-Driven Discovery:** Use your search terms to find relevant Facebook profiles and pages for targeted Facebook account data extraction.
- 🌍 **Country Targeting:** Choose a source country to focus your Facebook user lookup efforts on the right market.
- 📍 **Source Region Filtering:** Narrow results by Profiles, Posts, Groups, Videos, Photos, Events, Reels, or Marketplace.
- 📧 **Email Type Selection:** Choose between B2C and B2B to align with your outreach strategy and lead generation scraper goals.
- 🔄 **Built-In Proxy Support:** Includes proxy support for more reliable scraping of publicly available sources.
- 📊 **Structured Dataset Output:** Each result is saved in a consistent JSON-like dataset format for easy export and analysis.
- 💾 **Configurable Limits:** Set `maxEmails` to control how many results the actor collects in a run.
- 🚀 **Scalable Extraction:** Designed for repeatable Facebook email harvesting and contact information scraper workflows.

### How to Use Facebook Email Scraper 🚀

1. **Open the Actor** — Find **Facebook Email Scraper** in the Apify Store.
2. **Configure Input** — Add your search terms, choose a country, set the source region, and pick an email type.
3. **Set Your Limit** — Use `maxEmails` to control how many results you want.
4. **Run the Actor** — Start the run and let it collect public Facebook contact details.
5. **Review the Dataset** — Open the dataset to inspect scraped results.
6. **Export the Data** — Download results for CRM import, lead analysis, or research.

No coding required. ✨

### Facebook Email Scraper Output Format 📦

The actor stores results in the Apify dataset using the exact schema below. Each item represents one scraped result from publicly available sources.

#### Output Example

```json
[
  {
    "keyword": "fitness",
    "title": "FitLife Studio",
    "url": "https://www.facebook.com/FitLifeStudio",
    "description": "Local gym and wellness community in Austin, Texas.",
    "email": "contact@fitlifestudio.com",
    "email_domain": "fitlifestudio.com",
    "email_type": "B2B",
    "scrape_from": "Profiles",
    "country": "United States"
  }
]
```

#### Output Fields

| Field | Label | Format | Description |
|---|---|---|---|
| `keyword` | Keyword | text | The search term used to find the result |
| `title` | Title | text | The name of the profile or page |
| `url` | URL | link | Direct link to view the result |
| `description` | Description | text | Public description or summary text |
| `email` | Email | text | The extracted email address |
| `email_domain` | Email Domain | text | The domain portion of the email address |
| `email_type` | Email Type | text | The selected email category for the run |
| `scrape_from` | Scrape From | text | The Facebook source region selected in the input |
| `country` | Country | text | The country selected for the run |

### 🎯 Use Cases of Facebook Email Scraper

- **B2B Lead Generation:** Build targeted lists from public Facebook profiles and pages for outreach campaigns.
- **Email Marketing Campaigns:** Collect contact details for newsletters, promotions, and follow-up sequences.
- **Market Research:** Track niche communities and audiences using Facebook data extraction.
- **CRM Enrichment:** Add public contact information to your existing records for better segmentation.
- **Social Network Scraper Workflows:** Support broader research across public social platforms with structured contact data.

### How Much Will Facebook Email Scraper Cost You? 💰

The cost depends on how much data you ask the actor to collect and how many results it returns. Use `maxEmails` to cap spending and keep runs predictable. For volume projects, this is a flexible email extraction tool because you can balance scale and budget without over-collecting unnecessary data. View usage directly in the Apify Console while the actor runs. 📈

### Is It Legal to Scrape Facebook? ⚖️

This actor only works with publicly available data and does not access private profiles or protected content. As with any contact information scraper, you are responsible for following applicable laws, platform terms, and anti-spam rules in your region. Use the results for legitimate research, marketing, or recruitment purposes. If you have questions, contact <scrapido.support@gmail.com>.

### Facebook Email Scraper Input Parameters 📋

```json
{
  "country": "United States",
  "emailType": "B2C",
  "engine": "legacy",
  "maxEmails": 20,
  "searchTerms": [
    "fitness",
    "gym",
    "workout"
  ],
  "sourceRegion": "All"
}
```

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `country` | String | Yes | `United States` | Selects the country to target for the run |
| `emailType` | String | Yes | `B2C` | Chooses whether the actor focuses on B2C or B2B results |
| `engine` | String | No | `legacy` | Chooses the scraping engine |
| `maxEmails` | Integer | Yes | `20` | Sets the maximum number of emails to collect |
| `searchTerms` | Array | Yes | `["fitness","gym","workout"]` | Lists the search terms used to find Facebook profiles |
| `sourceRegion` | String | Yes | `All` | Selects the Facebook source region to target |

### During the Actor Run ⏱️

You can follow progress in the Apify Console through live logs while the actor processes your search terms. Results are saved to the dataset during the run, so you can inspect them early if needed. Runtime depends on how broad your search terms are, the selected country, and the `maxEmails` limit. If you need tighter control, reduce the search scope or adjust the source region.

### Final Note ✉️

Start collecting Facebook contact extraction results in minutes and turn public Facebook profiles into organized lead lists. Try **Facebook Email Scraper** for faster research, simpler outreach, and more scalable Facebook leads scraper workflows. Questions? Reach us at <scrapido.support@gmail.com>.

### FAQ — Facebook Email Scraper ❓

#### How does Facebook Email Scraper find emails?

It uses your search terms and filters to discover relevant public Facebook results, then captures contact details that are publicly available. The actor returns only what it can verify from the public web data it processes.

#### What types of Facebook profiles can I scrape?

You can target public results from Facebook source regions such as Profiles, Reels, Posts, Groups, Videos, Photos, Events, and Marketplace. Private or restricted content is not included.

#### Why use Facebook Email Scraper for lead generation?

It saves time by turning manual Facebook user lookup into an automated workflow. That makes it useful for marketers, researchers, and teams building contact lists from public sources.

#### What makes this a useful social media email scraper?

It combines keyword targeting, country selection, source-region filtering, and structured output. That’s a strong fit for anyone comparing social network scraper tools for lead discovery and analysis.

#### How much does Facebook Email Scraper cost to use?

The cost is tied to how many results you collect and how broadly you search. Use `maxEmails` to keep each run within your planned budget.

#### Can I use this for Facebook email harvesting at scale?

Yes, as long as you stay within the actor’s input limits and work with public data. It’s designed to support repeatable Facebook email harvesting workflows for research and outreach.

#### What should I do if I need help?

If you need support, have a bug report, or want to request a feature, contact <scrapido.support@gmail.com>.

### 🆘 Support & Feedback

Found a bug or need a custom feature for the Facebook Email Scraper?

- 🐞 **Bug Reports:** Contact our team directly
- ✨ **Feature Requests:** Tell us what you’d like improved
- 📧 **Email:** <scrapido.support@gmail.com>

### Multiple Email Types

**Email Types** replaces the old single Audience Type choice: select as many
kinds of mailbox as you want and the run chases all of them together.

| Type | What it matches |
| --- | --- |
| Personal / free webmail | Gmail, Outlook, Yahoo, iCloud, AOL, Proton, ... |
| Business / corporate | Company domains - free webmail and institutions excluded |
| Education (.edu / .ac) | `.edu`, `.ac.uk`, `.edu.au`, `.ac.in` and other academic suffixes |
| Government (.gov / .mil) | `.gov`, `.mil`, `.gov.uk`, `.gc.ca`, ... |
| Non-profit (.org) | `.org`, `.ngo`, `.org.uk`, ... |

Each selected type contributes its own Google dork patterns *and* its own domain
test, so a result is only kept if it genuinely belongs to the type that found
it. Every row carries an `emailType` field recording which one that was.

Suffixes are matched as real domain suffixes, so `cs.mit.edu` counts as
Education while `notedu.com` does not.

Setting **Custom Email Domains** still overrides everything: an explicit domain
list is a manual override and replaces the type-driven patterns. The legacy
`audienceType` value is still accepted, so saved inputs keep working.

# Actor input Schema

## `country` (type: `string`):

Specify the country to target for Google search results.

## `emailType` (type: `string`):

Choose one — B2C or B2B.

## `engine` (type: `string`):

Choose scraping engine. 🚀 Cost Effective (New): Uses residential proxies with async requests for faster, cheaper scraping. 🔧 Legacy: Uses GOOGLE\_SERP proxy with traditional selectors - more reliable but slower and more expensive.

## `maxEmails` (type: `integer`):

Enter the maximum number of emails to collect.

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

List of queries to find Facebook profiles.

## `sourceRegion` (type: `string`):

Select the regional index to target.

## `emailTypes` (type: `array`):

Which kinds of mailbox to hunt for. Pick as many as you like - each type contributes its own set of Google search patterns and its own domain filter, and every result records the type it was found as. Personal = free webmail (Gmail, Outlook, Yahoo, iCloud). Business = company domains, excluding free webmail and institutions. Education = .edu / .ac.uk and friends. Government = .gov / .mil. Non-profit = .org.

## Actor input object example

```json
{
  "country": "United States",
  "emailType": "B2C",
  "engine": "legacy",
  "maxEmails": 20,
  "searchTerms": [
    "fitness",
    "gym",
    "workout"
  ],
  "sourceRegion": "All",
  "emailTypes": [
    "Personal",
    "Business"
  ]
}
```

# Actor output Schema

## `dataset` (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 = {
    "searchTerms": [
        "fitness",
        "gym",
        "workout"
    ],
    "emailTypes": [
        "Personal",
        "Business"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapido/facebook-contact-extractor").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 = {
    "searchTerms": [
        "fitness",
        "gym",
        "workout",
    ],
    "emailTypes": [
        "Personal",
        "Business",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapido/facebook-contact-extractor").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 '{
  "searchTerms": [
    "fitness",
    "gym",
    "workout"
  ],
  "emailTypes": [
    "Personal",
    "Business"
  ]
}' |
apify call scrapido/facebook-contact-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapido/facebook-contact-extractor"
        }
    }
}

```

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/5FfbRgJDqcrBBzw3W/builds/3ELvrEc6pefiUAd60/openapi.json
