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

📧 Efficient B2B lead email scraper for LinkedIn—find targeted business contacts by keyword, role & location. ⚡️ Boost your outreach with verified prospects for sales, agencies & marketing teams. 🚀 Automate lead gen in minutes.

- **URL**: https://apify.com/solid-scraper/facebook-b2b-lead-generator-email-scraper.md
- **Developed by:** [SolidScraper](https://apify.com/solid-scraper) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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 🔍

**Facebook B2b Lead Generator Email Scraper** is an actor that helps you extract business email contacts from Facebook Pages and Groups—so you can build a targeted outreach list without spending hours manually searching. If you’re looking for **Facebook B2B lead generator** workflows, this **Facebook email scraper** streamlines **email scraping for B2B leads** by using your keyword ideas and a country focus to find relevant sources at scale. Whether you’re a marketer, lead researcher, or growth team building pipeline, you can turn public web data into an actionable prospect list—saving you hours of manual work.

---

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

| Feature | Benefit |
| --- | --- |
| ✅ All-in-one Facebook email extraction | Extract business emails from Facebook Pages and Groups using your provided search terms |
| ✅ Built-in proxy support for reliable scraping | Improves success when scraping volume increases with resilient network handling |
| ✅ Reliability and fallbacks | Includes retries and fallbacks to keep collection moving when results are incomplete |
| ✅ Structured dataset output | Saves results in a clean table-ready structure for analysts and marketers |
| ✅ Scale with max email limits | Control output size with `maxEmails` to manage volume and cost |
| ✅ Works with automation and exports | Dataset results can be exported to JSON/CSV from the Apify Console |

---

### Key features

- 🔍 **Business email extraction from Facebook Pages and Groups**: Pulls contact emails tied to the scraped page or group sources.
- 🧠 **Keyword-led lead discovery**: Use `searchTerms` to guide the **Facebook B2B prospecting tool** toward your niche (e.g. digital marketing agency, real estate, restaurants).
- 🌍 **Country targeting control**: Focus results for a specific `country` to match your market.
- 🗂️ **Content type filter**: Use `sourceRegion` to target the type of Facebook content you care about (Pages, Groups, Profiles, Posts, Reels, Videos, Photos, Events, Marketplace, or All).
- 🛡️ **Resilience through retries and fallbacks**: Designed to keep working even when some requests return empty or are blocked.
- 💾 **Structured output for analysis**: Stores each extracted lead with consistent fields (email, domain, source type, and country).
- 📊 **Controlled volume**: Use `maxEmails` (1–10000) to cap collection—useful for repeatable lead pipeline batches.
- 🔄 **Automation-friendly dataset**: Each run pushes results into the **Facebook Leads Data** dataset so you can export and integrate easily.

---

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

| Key | Required | Description |
| --- | --- | --- |
| `searchTerms` | ✅ | Keywords, industries, or niches to search on Facebook (the actor uses these to find relevant Pages and Groups). |
| `country` | ✅ | Select the country for targeting results (example: United States, United Kingdom, Canada, Germany, etc.). |
| `sourceRegion` | ✅ | Select Facebook content type to scrape: Pages, Groups, Profiles, Posts, Reels, Videos, Photos, Events, Marketplace, or `All`. |
| `engine` | ❌ | Choose the scraping engine. `legacy` is the Standard method, while `cost-effective` is the Performance (New) method. Default is `legacy`. |
| `maxEmails` | ✅ | Limit the number of emails to collect (minimum `1`, maximum `10000`, default `20`). |

***

### Output

The actor saves each extracted lead into the **Facebook Leads Data** dataset (view name: **Extracted Leads**) in JSON format.

```json
[
  {
    "searchTerm": "digital marketing agency",
    "title": "Page/Group Name",
    "url": "https://www.facebook.com/...",
    "description": "Description text",
    "email": "contact@example.com",
    "email_domain": "example.com",
    "source_region": "All",
    "country": "United States"
  }
]
```

#### Output Fields

| Field | Type | Description |
| --- | --- | --- |
| `searchTerm` | string | The search term that led to this result. |
| `title` | string | The Facebook Page or Group name. |
| `url` | string | URL to the scraped Facebook source. |
| `description` | string | Description text associated with the scraped source. |
| `email` | string | Extracted email address for the lead (if found). |
| `email_domain` | string | The email domain part of the extracted email (e.g. example.com). |
| `source_region` | string | The selected content type filter (`sourceRegion`) context for the lead. |
| `country` | string | The country value you selected in the input. |

You can export the dataset from Apify Console (commonly as JSON and/or CSV) for downstream use in CRMs, spreadsheets, and **Facebook B2B leads email extraction** workflows.

***

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

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

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

3. **Configure INPUT**\
   In the **INPUT** section, fill the fields using the built-in form or paste `input.json`.\
   Add your `searchTerms` (e.g. “real estate”, “restaurants”), pick a `country`, and set `sourceRegion` to the Facebook content type you want.

4. **Choose engine (optional)**\
   If you want the faster, more cost-effective approach, set `engine` to `cost-effective`. Otherwise keep `legacy` (the default) for Standard behavior.

5. **Set `maxEmails`**\
   Use `maxEmails` to control batch size. This is handy when you want repeatable runs for a **Facebook B2B lead generator** pipeline.

6. **Start the run**\
   Click **Run**. During execution you’ll see progress logs and the actor will collect and push results as it finds them.

7. **Review results in OUTPUT**\
   After completion, open the **Facebook Leads Data** dataset (view: **Extracted Leads**) to see your table of extracted leads.

8. **Export your data**\
   Export from the dataset to use in your outreach tooling or analysis (JSON/CSV exports depending on your workflow).

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

***

### Advanced features & SEO optimization

- 🧭 **Niche-ready keyword targeting**: Engineered to excel at **Facebook outreach email finder** use cases by focusing on `searchTerms` and mapping leads to a clear dataset structure.
- 🧰 **Resilience for real-world runs**: Includes retries and fallbacks for resilience when results are incomplete, helping your **Facebook B2B prospecting tool** stay useful at scale.
- 🔄 **Smart batching via `maxEmails`**: Keep outputs predictable for campaign cycles and **email scraping for B2B leads** workflows.
- 🧾 **Clean, analysis-friendly fields**: The dataset includes `email`, `email_domain`, `title`, `url`, and your input context (`source_region`, `country`) for easy filtering and segmentation.
- 💬 **Built for outreach ops**: Helps you build lists you can immediately use for prospecting, pipeline enrichment, and lead research tied to **Facebook company contacts scraper** needs.

***

### Best use cases

- 📈 **Sales teams building pipeline**: Quickly gather a prospect list for **Facebook B2B leads email extraction** and outreach sequencing in a fraction of the time.
- 🧠 **Lead researchers validating niches**: Use `searchTerms` + `country` to compare contact concentration across business categories like real estate, restaurants, and agencies.
- 🎯 **Marketing teams creating targeted campaigns**: Generate a **Facebook sales leads email list** and segment by `email_domain` for better deliverability strategy.
- 🏢 **Business development prospecting**: Find organizations that match your ideal profile by focusing on Pages and Groups, then export results for follow-up.
- 💼 **CRM enrichment automation**: Feed scraped emails and source URLs into your CRM workflow to reduce manual lead entry.
- 🧰 **Data analysts studying contact patterns**: Use the structured output fields to analyze lead distribution by `country` and `source_region`.

***

### Technical specifications

- **Supported Input Formats**
  - ✅ JSON inputs with: `searchTerms` (array), `country` (string), `sourceRegion` (string), `maxEmails` (integer)
  - ✅ Optional `engine` selection via `cost-effective` or `legacy`
- **Proxy Support**
  - ✅ Built-in proxy support for more reliable scraping runs
- **Retry Mechanism**
  - ✅ Includes retries and fallbacks to handle incomplete or blocked responses
- **Dataset Structure**
  - ✅ Saves extracted leads into dataset **Facebook Leads Data** with fields: `searchTerm`, `title`, `url`, `description`, `email`, `email_domain`, `source_region`, `country`
- **Rate Limits & Performance**
  - ✅ Output is controlled using `maxEmails` to help manage volume per run
- **Limitations**
  - ❌ Leads require publicly available sources; data availability depends on what is present on the scraped Facebook content.
  - ❌ Some sources may not have an email address available, so results can vary by niche and content type.

***

### FAQ

#### What does Facebook B2b Lead Generator Email Scraper extract?

✅ It extracts business email addresses from the selected Facebook content types and saves each result with related fields such as the source `title`, `url`, `description`, and the derived `email_domain`.

#### Is this a Facebook B2B lead scraper tool or an email finder tool?

✅ It’s both in practice: it acts as a **Facebook B2B lead generator** by discovering relevant Facebook Pages and Groups using your `searchTerms`, then extracts emails from those sources as part of the **Facebook email scraper** output.

#### What content types can I scrape?

✅ You can choose `sourceRegion` as `All`, `Profiles`, `Reels`, `Posts`, `Groups`, `Videos`, `Photos`, `Events`, or `Marketplace`. This setting controls what type of Facebook content the actor targets.

#### Can I control how many emails are collected?

✅ Yes. Use `maxEmails` (minimum `1`, maximum `10000`) to cap how many email addresses the actor collects in a run.

#### Do I need to code to use this actor?

✅ No. You can run it directly from Apify Console by filling the input fields and then exporting the dataset after completion.

#### How do I get the results?

✅ After the run completes, open the **Facebook Leads Data** dataset view called **Extracted Leads**, then export the data to the formats your workflow supports.

#### Does the actor support retries or fallback behavior?

✅ Yes. It includes retries and fallbacks for resilience when scraping results are incomplete or blocked, helping the actor keep producing output for your **Facebook B2B prospecting tool** use case.

#### Is my data usage compliant?

❌ You’re responsible for ensuring your use complies with applicable laws and platform policies (including GDPR/CCPA where relevant) and for following acceptable data-handling practices in your organization.

***

### Support & feature requests

If you’re using **Facebook B2b Lead Generator Email Scraper** for lead generation and want help improving results, we’d love your feedback.

- 💡 **Feature Requests**: Want enhancements like additional export options, more dataset fields, or better filtering for your **Facebook B2B prospecting tool** workflow? Share your ideas.
- 📧 **Contact**: Email us at <dataforleads@gmail.com>.

Your feedback helps shape the roadmap—thanks for building with us!

***

### Closing CTA / Final thoughts

*Turn your **Facebook B2b Lead Generator Email Scraper** runs into a consistent lead pipeline with structured results you can export and act on fast.*\
*Get the most comprehensive, SEO-optimized Facebook email scraping output for B2B prospecting today.*

***

### Disclaimer

**This actor accesses publicly available sources only**. It does not access private profiles, authenticated data, or password-protected pages.

You are responsible for complying with applicable laws and regulations (including GDPR/CCPA where relevant), platform terms of service, and any spam or privacy requirements in your jurisdiction.

For data removal requests, contact <dataforleads@gmail.com>. Please use this actor responsibly, ethically, and for legitimate business 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("solid-scraper/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("solid-scraper/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 solid-scraper/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=solid-scraper/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": "📧 Efficient B2B lead email scraper for LinkedIn—find targeted business contacts by keyword, role & location. ⚡️ Boost your outreach with verified prospects for sales, agencies & marketing teams. 🚀 Automate lead gen in minutes.",
        "version": "1.0",
        "x-build-id": "8jbSIkcHh79FfLR3e"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/solid-scraper~facebook-b2b-lead-generator-email-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-solid-scraper-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/solid-scraper~facebook-b2b-lead-generator-email-scraper/runs": {
            "post": {
                "operationId": "runs-sync-solid-scraper-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/solid-scraper~facebook-b2b-lead-generator-email-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-solid-scraper-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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
