# Facebook B2b Lead Generator Email Scraper - Multi-Engine Search (`scrapido/facebook-b2b-lead-generator-email-scraper`) Actor

📘 Facebook B2B Lead Generator Email Scraper searches multiple engines for business addresses. 🌍 Region and country filters keep Facebook leads relevant; hidden emails decoded automatically. 📤 Structured Facebook contact export.

- **URL**: https://apify.com/scrapido/facebook-b2b-lead-generator-email-scraper.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 B2B Lead Generator Email Scraper

**Facebook B2B Lead Generator Email Scraper** helps you extract business emails from publicly available Facebook Pages and Groups so you can build targeted lead lists without manual research. It’s designed for Facebook B2B lead generation, Facebook email scraper workflows, and social media lead extraction at scale, making it easier to uncover relevant contacts for outreach, CRM lead acquisition, and research.

### What is Facebook B2B Lead Generator Email Scraper? 🔍

**Facebook B2B Lead Generator Email Scraper** is an Apify actor that automates public web data collection from Facebook content types such as Pages, Groups, Profiles, Posts, Reels, Videos, Photos, Events, and Marketplace. It finds and organizes business email leads for marketers, sales teams, recruiters, and data analysts who need a Facebook email extractor or Facebook lead generator that can support automated Facebook scraping without the manual effort.

Built for B2B contact data mining, lead data enrichment, and Facebook business leads discovery, this actor uses your keywords and email-domain filters to identify relevant contacts from publicly available sources. That means faster prospect email finder workflows, more targeted lead scraping, and cleaner business email harvesting for your campaigns.

### What Data Does a Facebook B2B Lead Generator Email Scraper Collect? 📊

This actor returns structured lead data in an Apify dataset so you can quickly review, filter, and export results. If you’re asking “what exactly do I get?”, the answer is a clean set of discovery, identity, and contact fields tied to each Facebook result.

| Data Category | Field Name | Description | Available |
|---|---|---|---|
| Discovery | `searchTerm` | The search term that found the result | ✅ Always |
| Identity | `title` | Page or Group name | ✅ Always |
| Navigation | `url` | Direct link to the Facebook result | ✅ Always |
| Context | `description` | Public description text from the result | ✅ Always |
| Contact | `email` | Public email address found in the result | ✅ Always |
| Contact | `email_domain` | Domain from the email address | ✅ Always |
| Type | `source_region` | Facebook content type selected for the run | ✅ Always |
| Location | `country` | Target country selected for the run | ✅ Always |

### Types of Data I Can Extract with Facebook B2B Lead Generator Email Scraper 🗂️

#### Contact Data

- Public email addresses from Facebook Pages and Groups
- Email domains for quick filtering and CRM lead enrichment
- Direct URLs for follow-up and verification

#### Identity Data

- Page or Group names
- Public description text
- Content type labels such as Pages, Groups, Profiles, Posts, and more

#### Discovery Data

- Search terms used to surface each result
- Target country for the run
- Selected Facebook content type

#### Export Format

- JSON dataset output for easy automation and API workflows
- Apify Console export options for downstream analysis and reporting

#### Key Features of Facebook B2B Lead Generator Email Scraper ⚡

| Feature | Benefit |
|---|---|
| ✅ Keyword-based discovery | Find leads by niche, industry, or business type |
| ✅ Content type filtering | Focus on the Facebook source type you want, such as Pages or Groups |
| ✅ Maximum email cap | Control output volume with `maxEmails` from 1 to 10,000 |
| ✅ Structured dataset output | Export clean lead records for CRM and outreach tools |
| ✅ Public web data collection | Gather contact data from publicly available sources only |
| ✅ Resilient scraping | Includes retries and fallbacks for more reliable runs |
| ✅ Built-in proxy support | Helps maintain stable scraping at scale |
| ✅ SEO-friendly lead generation | Supports Facebook B2B lead generation and related prospecting workflows |

### Facebook B2B Lead Generator Email Scraper User Guide 📖

#### Required Input Fields

```json
{
  "searchTerms": [
    "digital marketing agency",
    "real estate",
    "restaurants"
  ],
  "country": "United States",
  "sourceRegion": "All",
  "engine": "legacy",
  "maxEmails": 20
}
```

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `searchTerms` | Array | ✅ Yes | `["digital marketing agency", "real estate", "restaurants"]` | Keywords, industries, or niches to search on Facebook. |
| `country` | String | ✅ Yes | `United States` | Selects the target country for the run. |
| `sourceRegion` | String | ✅ Yes | `All` | Chooses the Facebook content type, such as Pages, Groups, Profiles, Posts, and more. |
| `engine` | String | No | `legacy` | Selects the scraping method. The available options are `cost-effective` and `legacy`. |
| `maxEmails` | Integer | ✅ Yes | `20` | Limits how many emails the actor will collect. |

#### Required Output Fields

```json
{
  "searchTerm": "digital marketing agency",
  "title": "Brightwave Marketing",
  "url": "https://www.facebook.com/brightwavemarketing",
  "description": "Full-service digital marketing agency helping SMBs grow online.",
  "email": "hello@brightwavemarketing.com",
  "email_domain": "brightwavemarketing.com",
  "source_region": "Pages",
  "country": "United States"
}
```

| Field | Label | Format | Description |
|---|---|---|---|
| `searchTerm` | Search Term | text | The keyword or niche that produced the result. |
| `title` | Page/Group Name | text | The name of the Facebook Page or Group. |
| `url` | URL | link | Direct link to the Facebook result. |
| `description` | Description | text | Public description text associated with the result. |
| `email` | Email | text | Publicly listed email address found in the result. |
| `email_domain` | Domain | text | The email’s domain, useful for filtering and enrichment. |
| `source_region` | Type | text | The Facebook content type selected for the run. |
| `country` | Country | text | The target country selected for the run. |

### Solving Real Problems with Facebook B2B Lead Generator Email Scraper 💼

- 🎯 **Sales Lead Generation** — Build targeted lead lists from Facebook business leads faster than manual prospecting
- 📣 **Facebook Prospecting Tool** — Find niche pages and groups relevant to your offer or campaign
- 🤝 **CRM Lead Acquisition** — Capture structured contact data you can move directly into your pipeline
- 🔬 **Market Research** — Study communities, businesses, and descriptions across selected Facebook content types
- 📊 **Lead Data Enrichment** — Add email domains, source type, and keyword context to existing records
- ⚙️ **Targeted Lead Scraping** — Run focused searches for local lead generation and SMB contact discovery

### Why Choose Our Facebook B2B Lead Generator Email Scraper? 🏆

- 💰 **Controlled Output** — Set `maxEmails` to keep your runs focused and cost-aware
- 🔄 **Built for Public Data** — Collects only publicly available data from Facebook content
- ⚡ **Flexible Targeting** — Supports multiple search terms, country selection, and content type filtering
- 📧 **Reliable Support** — Need help or a custom use case? Contact <scrapido.support@gmail.com>

### How Many Results Can You Scrape? 📈

The number of results depends on your search terms, selected Facebook content type, and how many public profiles list an email address. Use `maxEmails` to cap results from 1 to 10,000 per run. Broader keywords usually return more leads, while narrower B2B terms can improve relevance.

### Legal Guidelines for Scraping Facebook ⚖️

This actor only accesses publicly available data on Facebook. It does not use logins, private profiles, or restricted content. Users are responsible for complying with Facebook’s Terms of Service, GDPR, CCPA, and any applicable anti-spam laws. Use the actor only for legitimate business purposes. Data-removal requests: <scrapido.support@gmail.com>.

### FAQ — Facebook B2B Lead Generator Email Scraper ❓

#### How does the Facebook B2B Lead Generator Email Scraper work?

You provide search terms, a target country, a Facebook content type, and an email limit. The actor then collects publicly available lead data and stores it in a structured Apify dataset.

#### What Facebook content types are supported?

The actor supports All, Profiles, Reels, Posts, Groups, Videos, Photos, Events, and Marketplace.

#### What kind of data will I get back?

You’ll get the search term, Facebook Page or Group name, URL, description, email, email domain, selected content type, and country.

#### Can I use this for Facebook B2B lead generation?

Yes. It’s built for Facebook B2B lead generation, Facebook marketing leads, and other prospecting workflows where public contact data is useful.

#### Does it support business email harvesting at scale?

Yes, within the `maxEmails` limit you set. It’s designed for business email harvesting from public Facebook sources, with built-in resilience for longer runs.

#### Is this useful for CRM lead acquisition?

Absolutely. The output is structured for CRM lead acquisition, enrichment, and export to downstream tools.

#### How do I get help or request a change?

For support, feedback, or custom scraping needs, contact <scrapido.support@gmail.com>.

### Final Word ✉️

**Facebook B2B Lead Generator Email Scraper** gives you a practical way to turn public Facebook data into a usable lead list. If you want faster prospecting, cleaner enrichment, and scalable email extraction from Facebook, this actor helps you get there with less manual work.

### 🆘 Support & Feedback

Have a question or want a custom feature for Facebook B2B Lead Generator Email Scraper?

- 🐞 **Bug Reports:** Contact our team with the issue details
- ✨ **Custom Solutions & Feature Requests:** We’re happy to discuss new use cases
- 📧 **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

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

Keywords, industries, or niches to search on Facebook.

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

Select the country for Google SERP targeting.

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

Select Facebook content type: Pages, Groups, Profiles, Posts, etc.

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

Select your preferred scraping method. ⚡ Performance (New): Faster, cheaper, uses residential proxies. 🛡️ Standard: Reliable, uses GOOGLE\_SERP proxy, but slower.

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

Limit the number of emails to collect.

## `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
{
  "searchTerms": [
    "digital marketing agency",
    "real estate",
    "restaurants"
  ],
  "country": "United States",
  "sourceRegion": "All",
  "engine": "legacy",
  "maxEmails": 20,
  "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": [
        "digital marketing agency",
        "real estate",
        "restaurants"
    ],
    "emailTypes": [
        "Personal",
        "Business"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapido/facebook-b2b-lead-generator-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 = {
    "searchTerms": [
        "digital marketing agency",
        "real estate",
        "restaurants",
    ],
    "emailTypes": [
        "Personal",
        "Business",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapido/facebook-b2b-lead-generator-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 '{
  "searchTerms": [
    "digital marketing agency",
    "real estate",
    "restaurants"
  ],
  "emailTypes": [
    "Personal",
    "Business"
  ]
}' |
apify call scrapido/facebook-b2b-lead-generator-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapido/facebook-b2b-lead-generator-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/ZY9rNYWnVrovQ1WDr/builds/lLHxSIICf7zu8xpi9/openapi.json
