# Facebook Page Email Scraper

**Use case:** 

Pull public Facebook Pages and keep only the ones that publish an email address. Each row carries the page name, category, email, phone, website and address, so what you export is a contact list rather than a page dump. Pages without an email are dropped before billing.

## Input

```json
{
  "pages": [
    "katzsdeli",
    "JoesStoneCrab"
  ],
  "includePosts": true,
  "includeTransparency": true,
  "maxPostsPerPage": 10,
  "maxItems": 100,
  "onlyWithEmail": true,
  "onlyWithPhone": false,
  "onlyWithWebsite": false,
  "onlyWithAddress": false,
  "onlyVerified": false,
  "onlyRunningAds": false,
  "onlyWithPosts": false,
  "categoryContains": [],
  "onlyNewOrChanged": false,
  "emitUnchanged": false,
  "compactOutput": false,
  "concurrency": 2,
  "pageField": "page_url"
}
```

## Output

```json
{
  "page_name": {
    "label": "Page",
    "format": "string"
  },
  "email": {
    "label": "Email",
    "format": "string"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "messenger_url": {
    "label": "Messenger",
    "format": "string"
  },
  "address_street": {
    "label": "Street",
    "format": "string"
  },
  "address_city": {
    "label": "City",
    "format": "string"
  },
  "address_region": {
    "label": "Region",
    "format": "string"
  },
  "address_country": {
    "label": "Country",
    "format": "string"
  },
  "address_postal_code": {
    "label": "Postal code",
    "format": "string"
  },
  "latitude": {
    "label": "Latitude",
    "format": "integer"
  },
  "longitude": {
    "label": "Longitude",
    "format": "integer"
  },
  "confirmed_owner": {
    "label": "Confirmed owner",
    "format": "string"
  },
  "page_url": {
    "label": "URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Page Contacts Scraper - Emails, Phones, Followers](https://apify.com/snow_leo_data/facebook-pages-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/snow_leo_data/facebook-pages-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/snow_leo_data/facebook-pages-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
