# Facebook B2b Email Scraper (`scraper-engine/facebook-b2b-email-scraper`) Actor

Extract business emails from Facebook pages with ease 📘📧 Scrape page names, contact emails, phone numbers, websites, categories, and more for lead generation, outreach, market research, and competitor analysis. Turn Facebook data into real B2B opportunities fast 🚀

- **URL**: https://apify.com/scraper-engine/facebook-b2b-email-scraper.md
- **Developed by:** [Scraper Engine](https://apify.com/scraper-engine) (community)
- **Categories:** Lead generation, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$19.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

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

## 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** B2B Email Scraper allows you to **extract** a wide range of **data** from **Facebook** pages and profiles. This includes business **emails**, page names, phone numbers, and other key **contact** details.

By using this tool, you can gather precise and relevant information for your B2B marketing efforts. The scraper is designed to identify and collect publicly available **data**, ensuring compliance with **Facebook**'s policies.

It is ideal for businesses looking to generate leads, build email lists, or conduct targeted marketing campaigns. The **extract**ed **data** is organized and easy to export, making it simple to integrate into your existing CRM or marketing tools.

Facebook B2B Email Scraper is a powerful tool designed to help businesses extract valuable contact information from Facebook pages and profiles. It simplifies the process of collecting business emails for effective lead generation and outreach.

With Facebook B2B Email Scraper, users can automate the extraction of B2B email data, saving time and effort compared to manual methods. This tool is ideal for businesses looking to expand their network and connect with potential clients.

Email scraping tools for Facebook are essential for modern businesses to stay competitive in a digital-first world. By leveraging this software, companies can access accurate and targeted contact information for their marketing campaigns.

### Support and feedback

- **Bug reports**: Open a ticket in the repository Issues section
- **Custom features**: Contact our enterprise support team
  *Email: dev.scraperengine@gmail.com*

### Extractable Data Table 📊

| Data Type | Description |
| --- | --- |
| Business Emails | Extract publicly available email addresses from Facebook pages and profiles. |
| Page Names | Retrieve the names of Facebook pages for better identification and organization. |
| Phone Numbers | Collect publicly listed phone numbers from Facebook business pages. |
| Page URLs | Get direct links to the Facebook pages for quick access. |
| Page Categories | Identify the category or industry of the Facebook page. |
| Location Details | Extract geographic information such as city or country if available. |
| Follower Count | Retrieve the number of followers or likes on a Facebook page. |
| Website Links | Collect links to external websites listed on Facebook pages. |

### Key Features of **Facebook** Email Scraper

Here are the **standout features** that make the **Facebook** Email Scraper a **top-tier tool** for **marketers**, **agencies**, and **researchers**:

- ⭐ **Automated** extraction of B2B emails from **Facebook** pages and profiles
- ⭐ Ability to scrape phone numbers page names and other contact details
- ⭐ User-friendly interface with easy setup and configuration options
- ⭐ Supports bulk scraping for processing multiple pages simultaneously
- ⭐ Exports data in CSV or JSON formats for seamless integration into other tools
- ⭐ **Advanced** filtering options to target specific industries or locations
- ⭐ Ensures compliance with **Facebook**s data usage policies and ethical guidelines
- ⭐ **Regular** updates to maintain compatibility with **Facebook**s platform changes
- ⭐ **High**-speed scraping capabilities for efficient data collection
- ⭐ **Customizable** settings to tailor the scraping process to your needs
- ⭐ **Secure** and reliable data extraction with minimal risk of errors
- ⭐ Detailed documentation and customer support for troubleshooting

### How to use **Facebook** Email Scraper 🚀

Follow this **simple, step-by-step guide** to start extracting **Facebook** emails today:

1. ✅ **Sign up** or **log in** to your account on the **Facebook** B2B Email Scraper platform
2. ✅ Install the scraper tool and configure the settings based on your requirements
3. ✅ Enter the **Facebook** page URLs or keywords you want to target for data extraction
4. ✅ **Select** the data types you wish to scrape such as emails phone numbers or page names
5. ✅ Set up any filters such as location or industry to refine your search results
6. ✅ **Start** the scraping process and monitor the progress in real-time on the dashboard
7. ✅ Once the scraping is complete review the extracted data for accuracy
8. ✅ **Export** the data in your preferred format such as CSV or JSON for further use
9. ✅ Import the data into your CRM or marketing tools for lead management
10. ✅ Repeat the process as needed to gather additional data or update existing records
11. ✅ Adjust the scraper settings to optimize performance and target new pages
12. ✅ Contact customer support if you encounter any issues or need assistance

### Use Cases 🎯

Lead Generation for B2B Marketing
🎯 Extract business emails from **Facebook** pages to build targeted email lists
🎯 **Identify** potential clients by scraping data from industry-specific pages

Market Research and Analysis
🎯 Gather data on competitors by analyzing their **Facebook** pages
🎯 **Identify** trends and insights by extracting information from relevant pages

CRM Data Enrichment
🎯 Update your CRM with accurate contact details from **Facebook** pages
🎯 Enhance your existing database with additional information like phone numbers

Event Promotion and Outreach
🎯 **Use** extracted email lists to promote events or webinars to a targeted audience
🎯 Reach out to businesses in specific locations or industries for collaboration

Sales Prospecting
🎯 **Identify** and connect with decision-makers by collecting their contact details
🎯 Streamline your sales process by accessing reliable and relevant data

### Why choose us? 💎

**Facebook** B2B Email Scraper stands out as a **reliable** and efficient tool for extracting business emails and other contact details. It is designed to simplify the process of lead generation and data collection for businesses of all sizes.

Our tool offers **advanced** features such as bulk scraping, filtering options, and data export capabilities to meet diverse needs. With a **user-friendly** interface, even non-technical users can easily navigate and operate the scraper.

We prioritize compliance with **Facebook**'s data usage policies and ensure that all extracted data is publicly available. Our team provides **regular** updates and dedicated support to ensure a seamless user experience.

By choosing our software, you gain access to a powerful solution that saves time, reduces manual effort, and delivers accurate results. Whether you're a small business or a large enterprise, our tool is tailored to help you achieve your goals efficiently.

### **Facebook** Email Scraper Scalability 📈

**Facebook** B2B Email Scraper is built to handle data extraction tasks of any scale, making it suitable for businesses of all sizes. Whether you need to scrape data from a few pages or thousands, our tool ensures consistent performance and accuracy.

The scraper supports bulk processing, allowing you to extract data from multiple pages simultaneously without compromising speed. With **customizable** settings, you can tailor the scraping process to meet your specific requirements, ensuring optimal results.

Our software is regularly updated to adapt to changes in **Facebook**'s platform, ensuring long-term reliability. By leveraging our tool, you can scale your lead generation efforts **efficient**ly and focus on growing your business.

### **Facebook** Email Scraper Legal Guidelines ⚖️

**Yes**—scraping **Facebook** is **legal** as long as you follow **ethical** and **compliant** practices. The **Facebook** Email Scraper extracts only **publicly available** information from **public** **Facebook** profiles, making it **safe** and **compliant** for **research**, **marketing**, and **analysis**.

#### Legal & Ethical Guidelines

⚖️ **Ensure** compliance with **Facebook**s terms of service when using the scraper
⚖️ **Only** extract publicly available data from **Facebook** pages and profiles
⚖️ **Do not** use the scraper for unauthorized or unethical purposes
⚖️ **Avoid** scraping personal information that is not publicly accessible
⚖️ Respect the privacy of individuals and businesses when using the extracted data
⚖️ **Use** the scraper responsibly to prevent excessive requests to **Facebook**s servers
⚖️ **Adhere** to all local and international data protection laws when handling scraped data
⚖️ **Do not** resell or distribute the extracted data without proper authorization

### Input Parameters 🧩

📦 Example Input (JSON)

```json
{
  "keywords": ["Facebook B2B Email Scraper"],
  "country": "Global",
  "maxEmailNumbers": 20,
  "platform": "Facebook",
  "engine": "legacy"
}
```

### Input Table

| Data Type | Description |
| --- | --- |
| keywords | Keywords to find relevant profiles |
| country | Country setting (Global) |
| maxEmailNumbers | Maximum emails to collect (default 20) |
| platform | Platform to scrape (Facebook) |
| engine | Engine type (legacy) |
| proxyConfiguration | Optional proxy settings |

### Output Format 📤

📝 Example Output (JSON)

```json
[
  {
    "network": "Facebook",
    "keyword": "Facebook B2B Email Scraper",
    "title": "Google's Single-Benefit Marketing Strategy for Chrome ...",
    "description": "✓For years, once we created a Gmail account, we couldn't change the username (the part before @ gmail.com ). ... Grand Rapids Marketing Co. Read more",
    "url": "https://www.linkedin.com/posts/phill-agnew_heres-how-google-marketed-chrome-browser-activity-7404878510214914048-dLxI",
    "email": "before@gmail.com"
  }
]
```

### Output Table

| Data Type | Description |
| --- | --- |
| network | Identifies Facebook as the source |
| keyword | Keyword that triggered the result (Facebook B2B Email Scraper) |
| title | Profile title or username |
| description | Public bio snippet with contact info |
| url | Direct Facebook profile link |
| email | Extracted email address |

### FAQ ❓

#### What is Facebook B2B **Email Scraper**?

Facebook B2B Email Scraper is a tool designed to extract business **emails** and other contact details from Facebook pages and profiles.

#### Is the scraper compliant with Facebook's policies?

**Yes**, the scraper only extracts **publicly available** data and adheres to Facebook's terms of service.

#### What data can I **extract** using this tool?

You can extract business **emails**, phone numbers, page names, URLs, categories, and more.

#### Can I use the scraper for personal profiles?

**No**, the scraper is intended for business pages and **publicly available** data only.

#### How do I **export** the **extract**ed data?

You can export the data in **CSV** or **JSON** format for easy integration into other tools.

#### Is the tool suitable for **large-scale** data scraping?

**Yes**, the scraper supports bulk processing and is designed to handle large-scale tasks efficiently.

#### Do I need technical skills to use the scraper?

**No**, the tool has a **user-friendly** interface that makes it accessible to non-technical users.

#### Can I target **specific** industries or locations?

**Yes**, you can use filters to refine your search based on industry or location.

#### How often is the tool updated?

The tool is regularly updated to ensure compatibility with Facebook's platform changes.

#### Is **customer support** available?

**Yes**, our team provides **dedicated support** to assist with any issues or questions.

#### Can I scrape data from multiple pages at once?

**Yes**, the scraper supports bulk scraping for processing multiple pages simultaneously.

#### Is the **extract**ed data accurate?

The scraper is designed to provide accurate and reliable data by extracting **publicly available** information.

#### Can I customize the scraping process?

**Yes**, you can adjust the settings to tailor the scraping process to your needs.

#### Is there a **limit** to the number of pages I can scrape?

The tool is scalable and can handle a large number of pages, depending on your requirements.

#### How do I get started with the scraper?

Simply sign up, configure the settings, and start scraping data from Facebook pages.

# Actor input Schema

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

List of keywords to search for on Facebook (e.g., \['marketing', 'founder', 'business']). The actor will search Google for Facebook profiles/posts containing these keywords and extract email addresses.

## `platform` (type: `string`):

Select platform.

## `location` (type: `string`):

Optional: Add location to search query (e.g., 'London', 'New York'). Leave empty to search globally.

## `emailDomains` (type: `array`):

Optional: Filter results to only include emails from specific domains (e.g., \['@gmail.com', '@outlook.com']). Leave empty to collect all email domains.

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

Maximum number of emails to collect per keyword (default: 20).

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

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

Choose which proxies to use. By default, no proxy is used. If Google rejects or blocks the request, the actor will automatically fallback to datacenter proxy, then residential proxy with 3 retries.

## Actor input object example

```json
{
  "keywords": [
    "marketing"
  ],
  "platform": "Facebook",
  "location": "",
  "emailDomains": [
    "@gmail.com"
  ],
  "maxEmails": 20,
  "engine": "legacy",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "keywords": [
        "marketing"
    ],
    "emailDomains": [
        "@gmail.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scraper-engine/facebook-b2b-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 = {
    "keywords": ["marketing"],
    "emailDomains": ["@gmail.com"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scraper-engine/facebook-b2b-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 '{
  "keywords": [
    "marketing"
  ],
  "emailDomains": [
    "@gmail.com"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scraper-engine/facebook-b2b-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scraper-engine/facebook-b2b-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/fCJapnTxd7ClqNP9B/builds/WEEB5nLLyPXVoDy0a/openapi.json
