# Facebook B2b Email Scraper (Lead Generator) (`scrapeflux/facebook-b2b-lead-generator-email-scraper`) Actor

🚀 Facebook B2B Lead Generator Email Scraper extracts business emails from Facebook pages with targeted lead data. Ideal for B2B sales, outreach, recruitment, and market research—save time, boost pipeline, and reach decision-makers faster. 📈📧

- **URL**: https://apify.com/scrapeflux/facebook-b2b-lead-generator-email-scraper.md
- **Developed by:** [ScrapeFlux](https://apify.com/scrapeflux) (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

from $3.99 / 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 🚀

If you’re trying to build a **Facebook outreach lead list** but spending hours manually chasing contact details, you need a faster way. The **Facebook B2b Lead Generator Email Scraper** automatically extracts business email addresses and key page or group context from Facebook content for targeted B2B prospecting. You’ll use it for **facebook b2b lead generator** workflows and **facebook lead generation tool email scraper** projects that generate usable contact data at scale. It’s built for growth teams, researchers, and data analysts who need **facebook b2b email extractor** results they can actually act on—fast. In one run, you can collect up to **maxEmails** emails while keeping your dataset structured for downstream outreach and analysis.

---

### See the Data: Sample Output

Here's a real record from a single run:

```json
{
  "searchTerm": "digital marketing agency",
  "title": "BrightWave Marketing",
  "url": "https://www.facebook.com/BrightWaveMarketing",
  "description": "Full-service marketing agency focused on growth. Contact us for partnerships and business inquiries.",
  "email": "hello@brightwavemarketing.com",
  "email_domain": "brightwavemarketing.com",
  "source_region": "Groups",
  "country": "United States",
  "status": "success",
  "error_message": null
}
````

The dataset is written in a table format with these extracted fields:

| Field | Type | What It Tells You |
|---|---|---|
| `searchTerm` | string | The keyword/niche term that produced the lead, so you can segment your results by intent. |
| `title` | string | The Facebook Page or Group name—useful for outreach personalization and vetting. |
| `url` | string | Direct link back to the lead source so you can verify and reference it. |
| `description` | string | Context text associated with the lead (helps you qualify fit beyond just the email). |
| `email` | string | The extracted business email for outreach or lead list building. |
| `email_domain` | string | The email domain, handy for deduping and domain-level filtering in your pipeline. |
| `source_region` | string | The selected content type (for example, Pages, Groups, etc.) so you know where the lead came from. |
| `country` | string | The selected target country for your run, helping keep leads market-relevant. |
| `status` | string | Indicates whether the record was successfully processed. |
| `error_message` | string | Populated when something goes wrong for a lead; otherwise it’s `null`. |

Export your full dataset as JSON, CSV, or Excel from the Apify dashboard.

***

### Setting It Up

Drop this into your `input.json` and you're ready to go:

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

| Parameter | Required | What It Does |
|---|---|---|
| `searchTerms` | ✅ | A list of keywords, industries, or niches to search on Facebook. |
| `country` | ✅ | The target country selection used to focus results to a specific market. |
| `sourceRegion` | ✅ | Select the Facebook content type to target (for example, Groups or Profiles). |
| `engine` | ⬜ | Choose your scraping engine. Use `cost-effective` for **Performance (New)** or `legacy` for **Standard**. |
| `maxEmails` | ✅ | Limits the number of emails the actor collects for this run (between 1 and 10000). |

***

### What It Does

The **Facebook B2b Lead Generator Email Scraper** extracts business contact emails from Facebook Pages and Groups and writes structured results to your Apify dataset.

#### Extract Relevant Lead Emails From Facebook Content

You provide your `searchTerms` and choose a `sourceRegion` (like Groups or Profiles). The actor extracts emails and includes the lead’s Facebook `title`, `url`, and `description` so your list isn’t just addresses—it’s actionable context.

#### Built for Facebook B2B Lead Generation Workflows

This actor is designed specifically for **facebook b2b lead generator** use cases—building **facebook leads to email list** datasets for outreach, partnerships, and sales prospecting.

#### Structured Output for Fast Cleanup and Enrichment

Every dataset row includes `email` and `email_domain` alongside `searchTerm`, `title`, `description`, `source_region`, and `country`. That makes it straightforward to dedupe, filter, and join into your CRM or analysis tables.

#### Engine Choice for Different Priorities

You can select `engine` as `legacy` or `cost-effective` depending on your run goals. If you want faster cost behavior, use `cost-effective` (labeled **Performance (New)**). If you prefer **Standard**, use `legacy`.

#### Limits to Keep Runs Predictable

The `maxEmails` input caps how many emails are collected, which helps you control cost and output size while building **facebook outreach lead list builder** datasets.

Overall, this is a practical **facebook b2b email extractor** you can run repeatedly to keep your pipeline fed with structured leads.

***

### Why Facebook B2b Lead Generator Email Scraper?

There are plenty of ways to pull data from Facebook—here’s why **Facebook B2b Lead Generator Email Scraper** stands out.

#### Email List Output With Lead Context

A lot of tools return scattered contact fragments. Here, each lead record includes the extracted `email` plus supporting fields like `title`, `url`, and `description`, so your outreach isn’t guesswork.

#### Designed for Repeatable B2B Prospecting

By combining `searchTerms`, `sourceRegion`, and `country`, you can consistently generate **facebook lead generation tool email scraper** outputs for different niches and markets—ideal for building repeatable prospecting flows.

#### Predictable Run Control

The `maxEmails` limit gives you straightforward control over how much output you want per run, making it easier to plan budgets and work through results in manageable batches.

***

### Real-World Use Cases

Here's how different teams put **Facebook B2b Lead Generator Email Scraper** to work:

**Sales Teams**\
A sales development rep needs fresh contacts for a new vertical. They run the actor with niche `searchTerms` and a tight `sourceRegion` selection, then export the dataset to quickly build a qualified **facebook leads to email list** for outbound sequences.

**Marketing Agencies**\
An agency managing multiple local campaigns wants SMB contacts in each client’s industry. They generate **facebook b2b email extractor** results by targeting relevant keywords and a specific `country`, then use the `email_domain` field to group leads by organization type for better segmentation.

**Freelance Researchers**\
A researcher building a dataset for a case study needs verifiable contact points plus source context. They pull structured results that include the lead’s Facebook `title`, `url`, and `description`, helping them document provenance while analyzing patterns across niches.

**Automation Specialists (Developers / Data Engineers)**\
A developer wants to refresh a lead table automatically. They run the actor with controlled `maxEmails`, then pull structured dataset output (including `searchTerm`, `country`, and `source_region`) into their pipeline for deduping and enrichment.

**Prospecting for Partnerships**\
A business development manager is searching for collaboration opportunities in specific communities. By using `sourceRegion` and multiple `searchTerms`, they compile **facebook prospecting email scraper** outputs and prioritize outreach based on the included lead description context.

***

### How to Run It

No code required. Here's how to get your first results in under 5 minutes:

1. **Open the actor on Apify**\
   Go to the actor page on Apify: [console.apify.com](https://console.apify.com).

2. **Enter your inputs**\
   Add your `searchTerms`, choose `country`, set `sourceRegion`, and set `maxEmails` to control the email count. Optionally choose `engine`.

3. **Configure proxy settings (recommended)**\
   If your run is larger, enable the actor’s proxy support settings available in Apify for more reliable scraping.

4. **Start the run and watch the live log**\
   Launch the actor and monitor progress in the Logs panel.

5. **Open the Dataset tab**\
   As results are produced, you’ll see the extracted fields like `email`, `title`, `url`, and `email_domain`.

6. **Export in your preferred format**\
   Download your dataset as JSON, CSV, or Excel directly from the Apify dashboard.

The whole setup takes under 5 minutes — results start appearing within seconds of launch.

***

### Export & Integration Options

Once your data is collected, **Facebook B2b Lead Generator Email Scraper** fits directly into your existing workflow.

You can export results from the Apify dataset tab as **JSON**, **CSV**, or **Excel**. If you’re building a **facebook marketing lead extraction emails** pipeline, those exports are usually enough to import into your CRM or spreadsheet immediately.

For automation, you can integrate through Apify’s API access and connect downstream actions using tools like Zapier or Make (or via webhooks) to push leads automatically after each run completes. This also works well for scheduled runs when you need continuous **facebook b2b lead generator** refresh cycles.

***

### Pricing

**Facebook B2b Lead Generator Email Scraper** runs on Apify, which includes a **free tier** — no credit card needed to start. Free tier includes **platform credits** on sign-up, which is typically enough for several real test runs.

For heavier workloads, Apify uses pay-as-you-go pricing based on Actor compute units (CU), without locking you into a monthly plan. Start free at [apify.com](https://apify.com) — scale up when you need to.

***

### Reliability & Limitations

| What We Handle | How |
|---|---|
| Platform throttling and rate limits | Built-in pacing and resilience to keep runs moving |
| Proxy-based reliability | Uses built-in proxy support for more consistent scraping |
| Run stability | Includes retries and fallbacks to reduce empty/partial output |
| Partial progress | Captures results as they’re produced so you don’t lose everything on interruptions |
| Output predictability | `maxEmails` caps the number of emails collected per run |
| Data extraction errors | Records failure context in `error_message` when applicable |

**Limitations:** This actor works on **publicly available** Facebook content and extracts whatever business email details are exposed there. It can’t retrieve private, login-gated, or otherwise restricted contact information, and some leads may not have an email published.

For enterprise-scale needs or custom configurations, reach out and we’ll help.

***

### Frequently Asked Questions

#### Is there a free plan?

Yes—Apify offers a free tier with platform credits on sign-up. This is usually enough to test **facebook b2b lead generator** performance before you scale.

#### Do I need to log in or create an account on Facebook?

No. The actor is intended to extract from publicly available Facebook content without requiring a Facebook login for the scraping run.

#### How accurate is the extracted data?

Accuracy depends on what the lead owner has published publicly. The actor extracts contact emails and includes supporting fields like `title`, `url`, and `description` to help you validate before outreach.

#### How many results can I get per run?

You control output size using `maxEmails`, which limits the number of emails collected per run (from 1 to 10000). This is ideal for building **facebook leads to email list** datasets in controlled batches.

#### How fresh is the data?

Data freshness depends on when the public information was last updated on Facebook. Your results reflect the state of publicly visible content at the time of your run.

#### Is this legal? Does it comply with GDPR / CCPA?

This actor is designed to work with **publicly available data**. It’s still your responsibility to comply with GDPR, CCPA, platform Terms of Service, and any other applicable regulations when storing and using the leads.

#### Can I export to Google Sheets or Excel?

Yes. You can export the dataset from the Apify dashboard, including formats like JSON and CSV (and you can open CSV in Excel or import into Google Sheets).

#### Can I schedule this to run automatically?

Yes. You can set up the actor for scheduled runs using Apify scheduling features, which is convenient for ongoing **facebook b2b email extractor** lead generation.

#### Can I access results via the API?

Yes. Apify supports programmatic access to run results via the Apify API, which is useful if you want to automate pushing **facebook page contact email scraper** outputs into your systems.

#### What happens when the actor encounters an error?

When a lead or record can’t be processed, the dataset can include an `error_message` alongside a `status` indicating whether the record was successful. This helps you debug and re-run targeted inputs without losing visibility.

***

### Get Help & Use Responsibly

Got a question about **Facebook B2b Lead Generator Email Scraper** or a feature you'd like added? Reach out at <dataforleads@gmail.com>. We welcome requests like keyword-based discovery improvements and better filtering options for faster **facebook group b2b leads scraper** workflows.

**publicly available data** — it does not access private accounts, login-gated pages, or password-protected content. You’re responsible for GDPR, CCPA, and platform ToS compliance when using and storing results. For data removal requests, contact <dataforleads@gmail.com>. Use responsibly, ethically, and only for lawful purposes.

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

## Actor input object example

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

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeflux/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",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("scrapeflux/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("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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"
  ]
}' |
apify call scrapeflux/facebook-b2b-lead-generator-email-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapeflux/facebook-b2b-lead-generator-email-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook B2b Email Scraper (Lead Generator)",
        "description": "🚀 Facebook B2B Lead Generator Email Scraper extracts business emails from Facebook pages with targeted lead data. Ideal for B2B sales, outreach, recruitment, and market research—save time, boost pipeline, and reach decision-makers faster. 📈📧",
        "version": "1.0",
        "x-build-id": "Pbe91DwAhW8pieHfp"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapeflux~facebook-b2b-lead-generator-email-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapeflux-facebook-b2b-lead-generator-email-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapeflux~facebook-b2b-lead-generator-email-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapeflux-facebook-b2b-lead-generator-email-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapeflux~facebook-b2b-lead-generator-email-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapeflux-facebook-b2b-lead-generator-email-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchTerms",
                    "country",
                    "sourceRegion",
                    "maxEmails"
                ],
                "properties": {
                    "searchTerms": {
                        "title": "Search Terms",
                        "type": "array",
                        "description": "Keywords, industries, or niches to search on Facebook.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "Target Country",
                        "enum": [
                            "United States",
                            "United Kingdom",
                            "Canada",
                            "Australia",
                            "Germany",
                            "France",
                            "India",
                            "Japan",
                            "Brazil",
                            "Italy",
                            "Spain",
                            "Netherlands",
                            "Sweden",
                            "Norway",
                            "Denmark",
                            "Finland",
                            "Poland",
                            "Czech Republic",
                            "Hungary",
                            "Romania",
                            "Bulgaria",
                            "Croatia",
                            "Slovenia",
                            "Slovakia",
                            "Estonia",
                            "Latvia",
                            "Lithuania",
                            "Portugal",
                            "Greece",
                            "Cyprus",
                            "Malta",
                            "Luxembourg",
                            "Ireland",
                            "Belgium",
                            "Austria",
                            "Switzerland",
                            "Liechtenstein",
                            "Iceland",
                            "South Korea",
                            "China",
                            "Mexico",
                            "Argentina",
                            "Chile",
                            "Colombia",
                            "Peru",
                            "Venezuela",
                            "Ecuador",
                            "Uruguay",
                            "Paraguay",
                            "Bolivia",
                            "Guyana",
                            "Suriname",
                            "French Guiana",
                            "Falkland Islands (Malvinas)",
                            "South Georgia and the South Sandwich Islands",
                            "Bonaire, Sint Eustatius and Saba",
                            "Curaçao",
                            "Aruba",
                            "Sint Maarten (Dutch part)",
                            "Turks and Caicos Islands",
                            "British Virgin Islands",
                            "Anguilla",
                            "Montserrat",
                            "Antigua and Barbuda",
                            "Barbados",
                            "Dominica",
                            "Grenada",
                            "Saint Kitts and Nevis",
                            "Saint Lucia",
                            "Saint Vincent and the Grenadines",
                            "Trinidad and Tobago",
                            "Jamaica",
                            "Bahamas",
                            "Belize",
                            "Costa Rica",
                            "Guatemala",
                            "Honduras",
                            "Nicaragua",
                            "Panama",
                            "El Salvador",
                            "Cuba",
                            "Dominican Republic",
                            "Haiti",
                            "Puerto Rico",
                            "U.S. Virgin Islands",
                            "American Samoa",
                            "Guam",
                            "Northern Mariana Islands",
                            "Saudi Arabia",
                            "United Arab Emirates",
                            "Bahrain",
                            "Iraq",
                            "Iran, Islamic Republic of",
                            "Israel",
                            "Jordan",
                            "Kuwait",
                            "Lebanon",
                            "Oman",
                            "Qatar",
                            "Syrian Arab Republic",
                            "Yemen",
                            "Afghanistan",
                            "Bangladesh",
                            "Bhutan",
                            "Maldives",
                            "Nepal",
                            "Pakistan",
                            "Sri Lanka",
                            "Myanmar",
                            "Cambodia",
                            "Lao People's Democratic Republic",
                            "Thailand",
                            "Viet Nam",
                            "Malaysia",
                            "Singapore",
                            "Brunei Darussalam",
                            "Philippines",
                            "Indonesia",
                            "Timor-Leste",
                            "Papua New Guinea",
                            "Fiji",
                            "New Zealand",
                            "Solomon Islands",
                            "Vanuatu",
                            "New Caledonia",
                            "French Polynesia",
                            "Wallis and Futuna",
                            "Samoa",
                            "Tonga",
                            "Tuvalu",
                            "Kiribati",
                            "Nauru",
                            "Federated States of Micronesia",
                            "Marshall Islands",
                            "Palau",
                            "Cook Islands",
                            "Niue",
                            "Tokelau"
                        ],
                        "type": "string",
                        "description": "Select the country for Google SERP targeting.",
                        "default": "United States"
                    },
                    "sourceRegion": {
                        "title": "Content Type",
                        "enum": [
                            "All",
                            "Profiles",
                            "Reels",
                            "Posts",
                            "Groups",
                            "Videos",
                            "Photos",
                            "Events",
                            "Marketplace"
                        ],
                        "type": "string",
                        "description": "Select Facebook content type: Pages, Groups, Profiles, Posts, etc.",
                        "default": "All"
                    },
                    "engine": {
                        "title": "Scraping Engine",
                        "enum": [
                            "cost-effective",
                            "legacy"
                        ],
                        "type": "string",
                        "description": "Select your preferred scraping method. ⚡ Performance (New): Faster, cheaper, uses residential proxies. 🛡️ Standard: Reliable, uses GOOGLE_SERP proxy, but slower.",
                        "default": "legacy"
                    },
                    "maxEmails": {
                        "title": "Maximum Emails",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Limit the number of emails to collect.",
                        "default": 20
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
