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

📧 Facebook B2B Lead Generator Email Scraper extracts business leads from Facebook pages—emails & contact details included. 🚀 Perfect for sales outreach, lead research, and B2B marketing. Get faster targeting & richer lists!

- **URL**: https://apify.com/scrapers-hub/facebook-b2b-lead-generator-email-scraper.md
- **Developed by:** [Scrapers Hub](https://apify.com/scrapers-hub) (community)
- **Categories:** Lead generation, Automation, Social media
- **Stats:** 4 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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 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.

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

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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 📬

**Facebook B2b Lead Generator Email Scraper** is an Apify actor designed to extract business email addresses from Facebook Pages and Groups so you can build targeted lead lists faster. If you’re looking for a **Facebook B2B lead generation scraper**, a **Facebook outreach lead list email scraper**, or a **B2B lead generation email scraper**, this tool helps you go from niche keywords to a structured dataset of contact emails—saving you hours of manual work. Whether you’re a marketer, recruiter, or data enthusiast, it’s built to help you find relevant SMB contacts at scale using publicly available data.

---

### 🚀 Why choose Facebook B2b Lead Generator Email Scraper?

| Feature | Benefit |
| --- | --- |
| ✅ **Facebook Pages and Groups email extraction** | Pulls contact emails from Facebook content for lead generation and enrichment in one run |
| ✅ **Keyword-driven discovery** | Uses your `searchTerms` to find relevant targets for your niche (e.g., “digital marketing agency”, “real estate”) |
| ✅ **Configurable content scope (sourceRegion)** | Lets you choose a Facebook content type focus like Pages, Groups, and more via `sourceRegion` |
| ✅ **Structured dataset output** | Saves results with consistent fields like `title`, `url`, `email`, `email_domain`, `source_region`, and `country` |
| ✅ **Scale controls with `maxEmails`** | Lets you cap collection with `maxEmails` (default 20) for predictable runs |
| ✅ **Reliability-focused scraping engine options** | Choose an `engine` mode that balances speed/cost vs standard reliability for your use case |

---

### 🔑 Key features

- 🧠 **Accurate business email extraction**: Collects emails and also records `email_domain` to help you validate and segment leads.
- 🔎 **Flexible keyword targeting**: Feed `searchTerms` (industries, niches, or keywords) to discover relevant Facebook entities for your **Facebook B2B lead generator tool** workflow.
- 🧱 **Selectable Facebook content type focus**: Use `sourceRegion` to aim at different Facebook content types (including `All`, `Groups`, `Profiles`, `Posts`, `Events`, etc.).
- 🛡️ **Resilience in real-world conditions**: Includes retries and fallback behavior for more dependable extraction when requests are slow or blocked.
- 📊 **Clean, table-ready dataset fields**: Each lead record is stored with fields like `url` and `description` so your team can quickly triage and enrich.
- 💾 **Dataset-first workflow**: Results are saved immediately into the **Facebook Leads Data** dataset for easy export to JSON/CSV.
- 🌍 **Country targeting support**: Choose `country` to tailor the targeting scope to your market using the actor’s built-in country mapping.
- ⏱️ **Collection limit for cost control**: Use `maxEmails` (min 1, max 10000) to cap extraction volume.

---

### 📝 Input

Provide input via an `input.json` file. Example structure:

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

#### Input Fields

| Field | Required | Description |
| --- | --- | --- |
| `searchTerms` | ✅ | Keywords, industries, or niches to search on Facebook. The actor uses these to discover relevant Facebook entities. |
| `country` | ✅ | Target country for the run (used to tailor the targeting scope to a specific market). |
| `sourceRegion` | ✅ | Select which Facebook content type to focus on: `Pages`, `Groups`, `Profiles`, `Posts`, `Events`, etc. Use `All` to search across supported categories. |
| `engine` | ❌ | Choose the scraping engine mode. `legacy` is the Standard option, while `cost-effective` is the Performance (New) option described in the actor input (faster/cheaper, with residential proxies). |
| `maxEmails` | ✅ | Maximum number of emails to collect. Use this to control run size and cost (default is `20`, min `1`, max `10000`). |

***

### 📦 Output

After execution, the actor saves each lead’s data in a JSON dataset (shown in the **Extracted Leads** table view). Each record includes the search term, Facebook entity metadata, and extracted email information.

Example output record format (dataset items):

```json
[
  {
    "searchTerm": "digital marketing agency",
    "title": "Page/Group Name",
    "url": "https://www.facebook.com/your-target",
    "description": "Brief description text associated with the Facebook entity",
    "email": "contact@company.com",
    "email_domain": "company.com",
    "source_region": "Groups",
    "country": "United States"
  }
]
```

#### Output Fields

| Field | Type | Description |
| --- | --- | --- |
| `searchTerm` | string | The keyword/term from your `searchTerms` input that led to this lead. |
| `title` | string | The Facebook Page or Group name captured for the lead. |
| `url` | string | The URL to the Facebook entity (stored as a link in the dataset table). |
| `description` | string | Description text associated with the Facebook entity (useful for context and vetting). |
| `email` | string | Extracted business email address for the lead (if found). |
| `email_domain` | string | The email’s domain (e.g., `company.com`) for segmentation and validation. |
| `source_region` | string | The content type selected/found (the “Type” column in the dataset). |
| `country` | string | The target country used for the run. |
| `error_message` | string | Not included in the dataset table fields defined by the actor storage configuration (present only if your environment wraps errors externally). |

> Notes: The actor’s dataset view is configured as a table with the fields `searchTerm`, `title`, `url`, `description`, `email`, `email_domain`, `source_region`, and `country`.

***

### 🚦 How to use Facebook B2b Lead Generator Email Scraper (via Apify Console)

1. **Open Apify Console**\
   Log in at https://console.apify.com and open the **Actors** tab.

2. **Find the actor**\
   Search for **Facebook B2b Lead Generator Email Scraper** and open the actor page.

3. **Add your input in the INPUT tab**\
   Enter `searchTerms` (array), select `country`, choose `sourceRegion`, and set `maxEmails`.\
   If you want the alternative engine mode, also set `engine`.

4. **Choose engine mode (optional)**\
   Use `engine` to select between `legacy` (Standard) and `cost-effective` (Performance (New) option described in the input).

5. **Run the actor**\
   Click **Run**. During execution, monitor the logs to see progress and any retries/fallback behavior.

6. **Review results in the OUTPUT tab**\
   After completion, open the dataset titled **Facebook Leads Data** and view **Extracted Leads**.

7. **Export your lead list**\
   Export the dataset to JSON/CSV from the dataset UI for use in your CRM, outreach tooling, or analysis pipeline.

No coding required — get accurate results in minutes with this **Facebook B2B lead generator tool**.

***

### ⭐ Advanced features & SEO optimization

- ⚙️ **Engine choice for different performance profiles**: Switch between `engine: legacy` and `engine: cost-effective` depending on whether you prioritize Standard reliability or the Performance (New) option described in the input.
- 🧩 **Niche-ready targeting**: This **Facebook group leads email scraper** style workflow is driven by `searchTerms`, making it suitable for campaigns across many industries (similar to “Facebook outreach lead list email scraper” use cases).
- 🔄 **Resilient execution**: Designed with retries and fallback logic to keep extraction moving even when requests are inconsistent.
- 🧾 **Domain-level segmentation**: Captures `email_domain` alongside `email`, which helps you quickly group leads by company and improve data cleanup.
- 🔍 **Engineered for lead list building**: Optimized as a **Facebook B2B lead generator tool** for turning public Facebook business signals into structured contact datasets.

***

### 🎯 Best use cases

- 📈 **B2B lead generation for SMBs**: Build a ready-to-import email list for outreach by extracting business emails from Facebook Pages and Groups.
- 🧾 **CRM enrichment pipelines**: Automatically enrich your lead database using structured fields like `url`, `email`, and `email_domain`.
- 🕵️ **Market research by niche**: Use `searchTerms` to identify active organizations in a vertical, then analyze email domain patterns.
- 🎯 **Outreach list building for agencies**: Generate targeted leads for “digital marketing agency” or “real estate” type niches using a **Facebook outreach lead list email scraper** workflow.
- 🧑‍💼 **Recruiting and partnerships**: Find business contact emails for potential partners, vendors, or collaborators.
- 🧠 **Data quality validation**: Use `email_domain` to standardize and filter leads before sending campaigns.
- 💻 **Marketing automation ingestion**: Export JSON/CSV from the dataset and push records into your marketing and sales systems.

***

### 🧰 Technical specifications

- **Supported Input Formats**\
  ✅ `input.json` object with required fields: `searchTerms`, `country`, `sourceRegion`, `maxEmails`\
  ✅ Optional field: `engine`

- **Proxy Support**\
  ✅ Built-in proxy support is available through the actor’s scraping engine modes (configured via `engine`), with improved scraping stability described in the input.

- **Retry Mechanism**\
  ✅ Includes retries and fallback behavior to improve resilience during extraction.

- **Dataset Structure**\
  ✅ Stored in the **Facebook Leads Data** dataset (view: **Extracted Leads**) with fields: `searchTerm`, `title`, `url`, `description`, `email`, `email_domain`, `source_region`, `country`.

- **Rate Limits & Performance**\
  ✅ Collection is capped by `maxEmails` to keep runs predictable; engine choice can affect speed and cost.

- **Limitations**\
  ❌ Emails may not be present for every Facebook entity, so results vary by source content completeness.\
  ❌ Private/restricted sources won’t yield public contact emails.

***

### ❓ FAQ

#### Does Facebook B2b Lead Generator Email Scraper require login or access to private Facebook data?

It works from **publicly available sources**. It does not require authenticated/private access for collecting data from public pages or groups.

#### What do I need to provide as input?

You must provide `searchTerms`, `country`, `sourceRegion`, and `maxEmails`. Optionally, you can also set `engine` to choose the scraping engine mode.

#### What kind of results will I get?

You’ll get a dataset of extracted leads where each record includes `title`, `url`, `description`, `email`, and `email_domain`, along with the originating `searchTerm`, `source_region`, and `country`.

#### Can I control how many emails the actor collects?

Yes. Use `maxEmails` to set the maximum number of emails to collect in a run (default is `20`, up to `10000`).

#### Is the output easy to import into a CRM?

Yes. The actor saves results into a structured dataset (**Facebook Leads Data**) with consistent fields, making it straightforward to export to JSON/CSV and map into CRM/automation tools.

#### How do I handle different Facebook content types?

Use `sourceRegion` to pick the Facebook content focus, including `All`, `Profiles`, `Groups`, `Posts`, `Events`, and other supported categories.

#### Is there a “best” engine setting for lead scraping?

If you need the faster/cheaper option described for the Performance (New) mode, choose `engine: cost-effective`. If you prefer the Standard option described for reliability, use `engine: legacy`.

***

### 🤝 Support & feature requests

Want to improve **Facebook B2b Lead Generator Email Scraper** or request enhancements (for example, additional dataset fields, better export options, or custom filters based on your workflow)? Share your ideas—your feedback directly shapes the roadmap.

- 💡 **Feature Requests**: Tell us what you want to see added, such as CSV output tuning, custom email-domain handling, or CRM-friendly formatting.
- 📧 **Contact**: Reach out via <dataforleads@gmail.com>.

Thanks for building better B2B lead workflows with this **Facebook B2B lead generator tool**—and keep the ideas coming!

***

### *Final thoughts*

*If you’re serious about scaling outreach with verified-style public contact data, **Facebook B2b Lead Generator Email Scraper** is built to help you turn niche keywords into structured email leads fast—without the manual grind.*

# 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("scrapers-hub/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("scrapers-hub/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 scrapers-hub/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=scrapers-hub/facebook-b2b-lead-generator-email-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook B2b Lead Generator Email Scraper",
        "description": "📧 Facebook B2B Lead Generator Email Scraper extracts business leads from Facebook pages—emails & contact details included. 🚀 Perfect for sales outreach, lead research, and B2B marketing. Get faster targeting & richer lists!",
        "version": "1.0",
        "x-build-id": "wfuUe5B36aIVOBuxh"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapers-hub~facebook-b2b-lead-generator-email-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapers-hub-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/scrapers-hub~facebook-b2b-lead-generator-email-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapers-hub-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/scrapers-hub~facebook-b2b-lead-generator-email-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapers-hub-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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
