# Facebook Page Contact Scraper - Emails, Phones & Websites (`aolmo/facebook-page-contacts`) Actor

Get contact details of Facebook business pages without login: email, phone, website, address, category and followers from the About tab, plus the emails, phones and socials on the business website. You only pay for pages with an email or phone: $0.008 per page with contact.

- **URL**: https://apify.com/aolmo/facebook-page-contacts.md
- **Developed by:** [Antonio del Olmo Tena](https://apify.com/aolmo) (community)
- **Categories:** Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 page with contacts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

Get the contact details of Facebook business pages without logging in. Give page URLs or names and the Actor returns one row per page with the email, phone, website, address and category shown on the page's About tab, plus the emails, phones and social profiles published on the business website. You only pay for pages where an email or phone is found. Local business prospecting, B2B lead lists and CRM enrichment at $0.008 per page with contact.

### What you get

**Page** (one row each): `url`, `name`, `username`, `category`, `description`, `followers`, `likes`, `verified`, `address`, `website`, `websites`, `pageEmail`, `pagePhone`, `hasContact`.

**Contacts**: `email` and `phone` (the first found), `emails`, `phones`, `socials`, and where each came from: `ownEmails` and `ownPhones` (the About tab and the page description), `siteEmails` and `sitePhones` (the linked websites), `websitesCrawled`, `websiteStatus` and `pagesCrawled`.

**Changes** on scheduled runs: `newContacts` lists emails and phones that were not there in the previous run.

Pages without email or phone are returned and are free.

### How to use it

1. Open the **Input** tab.
2. Add **Facebook pages**, one per line: `https://www.facebook.com/nasa` or just `nasa` (up to 500 per run).
3. Keep **Search linked websites** on to also read the business website.
4. Click **Start** and export the rows as JSON, CSV or Excel.

### Input

```json
{
  "pages": ["https://www.facebook.com/nasa", "cocacola"],
  "crawlWebsite": true,
  "maxPagesPerSite": 2
}
```

### Output

```json
{
  "url": "https://www.facebook.com/NASA",
  "name": "NASA - National Aeronautics and Space Administration",
  "username": "NASA",
  "category": "Government organization",
  "email": "public-inquiries@hq.nasa.gov",
  "phone": null,
  "hasContact": true,
  "pageEmail": "public-inquiries@hq.nasa.gov",
  "emails": ["public-inquiries@hq.nasa.gov", "hqnews-join@newsletters.nasa.gov"],
  "siteEmails": ["hqnews-join@newsletters.nasa.gov"],
  "socials": { "instagram": "https://www.instagram.com/nasa", "youtube": "https://www.youtube.com/nasa" },
  "website": "http://www.nasa.gov/",
  "websiteStatus": "found",
  "followers": 28733250,
  "timestamp": "2026-11-04T10:00:00.000Z"
}
```

Example values are illustrative.

### Pricing

Pay per event: **$0.008 per page with an email or phone**, and **$0.004 per page with a new contact** on a scheduled run. Pages without contact cost nothing. 1,000 pages where 600 have a contact cost $4.80.

### Limits and notes

- Facebook shows the About tab to visitors only for public pages of businesses, brands and public figures. Personal profiles and pages restricted by age or country return no data.
- Use page URLs or names; numeric ids need a login and are not supported.
- Get page URLs from Google Maps Leads or your own lists of businesses.

### Responsible use

The Actor only collects contact details that the profile or business publishes itself. You are responsible for using them lawfully: follow the GDPR, CAN-SPAM and similar rules where you operate, give people a way to opt out, and do not send unsolicited bulk messages.

### Related Actors

- **Google Maps Email & Leads Extractor**: local businesses with their websites and contacts.
- **Facebook Page Scraper**: page details and the latest post.
- **Website Contact Extractor**: emails and phones of any website.

# Actor input Schema

## `pages` (type: `array`):

One per line: https://www.facebook.com/nasa or just nasa. Business and public figure pages; personal profiles show nothing to visitors. Up to 500 per run.

## `crawlWebsite` (type: `boolean`):

Also look for emails, phones and socials on the websites and link-in-bio pages the profile links to.

## `maxPagesPerSite` (type: `integer`):

Home page plus the likeliest contact pages.

## `product` (type: `string`):

Internal. Leave as is.

## Actor input object example

```json
{
  "pages": [
    "https://www.facebook.com/nasa"
  ],
  "crawlWebsite": true,
  "maxPagesPerSite": 2,
  "product": "facebook-page-contacts"
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset items: url, changed, events, data, timestamp and error (when the target failed).

# 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 = {
    "pages": [
        "https://www.facebook.com/nasa"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("aolmo/facebook-page-contacts").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 = { "pages": ["https://www.facebook.com/nasa"] }

# Run the Actor and wait for it to finish
run = client.actor("aolmo/facebook-page-contacts").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "pages": [
    "https://www.facebook.com/nasa"
  ]
}' |
apify call aolmo/facebook-page-contacts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aolmo/facebook-page-contacts"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/QKdlv82SjhYSyJJof/builds/QUVyI15WaURubIO70/openapi.json
