# Facebook Page Scraper · Extract Email, Phone & Website (`corent1robert/facebook-page-contact-scraper`) Actor

Scrape emails, phone numbers and websites from any public Facebook business page — no login, no API key, no browser. Bulk-ready: paste one URL or thousands. Perfect for B2B lead generation and CRM enrichment.

- **URL**: https://apify.com/corent1robert/facebook-page-contact-scraper.md
- **Developed by:** [Corentin Robert](https://apify.com/corent1robert) (community)
- **Categories:** Lead generation, Automation, Social media
- **Stats:** 5 total users, 3 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

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

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

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

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

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

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

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

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Facebook Page Contact Scraper

**Get phone numbers, emails and websites from any public Facebook page — in seconds, without a login or API key.**

Paste one URL or a thousand. Each page returns a clean, structured contact record ready to export or push to your CRM.

---

### Why use this scraper?

- **No login required** — works on any public page
- **No API key, no app approval** — zero setup, start immediately
- **Fast** — results in seconds, even for large batches
- **Complete** — phone, email, all websites, social links, Instagram handle, category, bio, followers in one row
- **Bulk-ready** — paste hundreds of URLs and run once

---

### What you get

One row per Facebook page:

| Field | Description | Example |
|---|---|---|
| `pageName` | Page display name | `Africa Eco Race` |
| `phone` | Phone number (if public) | `06 40 62 86 03` |
| `email` | Email address (if public) | `contact@africarace.com` |
| `website` | Primary website (if public) | `africarace.com` |
| `websites` | All websites listed on the page | `["africarace.com", "africarace.fr"]` |
| `socialLinks` | TikTok, LinkedIn, Instagram URLs | `["https://tiktok.com/@..."]` |
| `instagramHandle` | Instagram username | `lloyddavisluxury` |
| `address` | Physical address (if public) | `12 rue de la Paix, Paris` |
| `priceRange` | Price range for shops/restaurants | `€€` |
| `category` | Page category | `Sports Event` |
| `bio` | Short description | `THE RACE TO DAKAR - THE ORIGINS` |
| `followers` | Follower count | `108945` |
| `pageId` | Facebook numeric page ID | `100064657362737` |
| `profileImageUrl` | Profile picture URL | `https://scontent-...` |
| `pageUrl` | Canonical page URL | `https://www.facebook.com/africaecorace/` |
| `status` | `ok`, `no_contact`, or `error:xxx` | `ok` |
| `scrapedAt` | Timestamp | `2026-04-06T10:00:00.000Z` |

---

### How to use

#### Step 1 — Add your Facebook page URLs

In the **Page URL(s)** field, paste one or more Facebook page URLs:

````

https://www.facebook.com/africaecorace/
https://www.facebook.com/cocacola
https://www.facebook.com/pages/Some-Page/123456789

````

Vanity URLs, numeric IDs, and `/pages/` format all work.

#### Step 2 — Run and export

Click **Run**. Results appear live in the dataset. Export to CSV, JSON, or XLSX directly from the Apify console.

---

### Example output

```json
{
  "pageName": "LLOYD & DAVIS",
  "phone": "01 87 37 55 69",
  "email": "contact@lloyd-davis.com",
  "website": "lloyd-davis.com",
  "websites": ["recrutement-lloyd-davis.com", "lloyd-davis-luxury.com", "lloyd-davis.com"],
  "socialLinks": ["https://www.instagram.com/lloyddavisluxury", "https://tiktok.com/@lloydanddavis", "https://www.linkedin.com/company/lloyd-davis/"],
  "instagramHandle": "lloyddavisluxury",
  "category": "Real Estate Agent",
  "bio": "Lloyd & Davis, réseau immobilier international, experts en résidentiel, luxe et en expatriation.",
  "followers": 1996,
  "pageId": "100057626180863",
  "pageUrl": "https://www.facebook.com/lloydanddavis/",
  "status": "ok",
  "scrapedAt": "2026-04-06T10:00:00.000Z"
}
````

***

### What gets scraped — and what doesn't

Only **publicly visible** information is extracted — exactly what anyone would see visiting the page without an account. Contact details hidden behind a login will appear as empty fields (`status: no_contact`).

| Data point | Available |
|---|---|
| Phone number | ✅ If the page has made it public |
| Email address | ✅ If the page has made it public |
| All websites | ✅ If listed in the Intro section |
| Social links (TikTok, LinkedIn…) | ✅ If listed in the Intro section |
| Instagram handle | ✅ If listed in the Intro section |
| Category | ✅ Always present |
| Bio / description | ✅ Always present |
| Follower count | ✅ Always present |
| Posts, comments, DMs | ❌ Not scraped |

***

### Tips for best results

- **Batch your URLs** — group everything in one run rather than running pages one by one
- **Private pages** — personal profiles, private groups and deactivated pages return an error status
- **Contact not showing** — some pages only display contact info to logged-in users; those will return `status: no_contact`
- **Apify cloud vs your laptop** — Runs default to **residential Apify Proxy** (Console: URLs only). Use `{ "proxyConfiguration": { "useApifyProxy": false } }` in raw JSON / `input.json` if you want a **direct** connection (e.g. local testing without proxy billing).
- **Why only two pages worked in parallel** — Two simultaneous requests from the same IP often look like automation; the Actor loads **one page at a time** on Apify, waits longer between pages, and reuses **cookies** across requests. User-Agent tweaks alone are not enough when the IP is heavily flagged.

***

### Use cases

- **B2B lead generation** — build contact lists from Facebook business pages in your niche
- **Market research** — collect category and description data at scale
- **CRM enrichment** — complete existing records with phone, email, and social links
- **Event & sponsorship outreach** — find organiser contacts directly from event pages

***

### Input (API / JSON only)

The Console form only asks for URLs. **By default** (no extra keys) the Actor uses **residential Apify Proxy** and **5 parallel workers** — not shown in the form. To turn that off or tune it, pass raw JSON (API or `input.json` locally).

| Key | Type | Default | Notes |
|-----|------|---------|--------|
| `parallelWorkers` | integer | `5` when proxy works, `1` if proxy is off | Cap `5`. Each worker: own cookie jar + header variant + separate proxy session. |
| `maxConcurrency` | integer | (legacy) | Fallback if `parallelWorkers` is omitted. |
| `delayBetweenRequestsMs` | integer | `4500` on Apify, `2000` locally | Per-worker pause after each page (ms). |
| `loginWallCooldownMs` | integer | `18000` on Apify, `10000` locally | Global pause after a login-wall failure. Set `0` to disable. |
| `proxyConfiguration` | object | residential on | Set `{ "useApifyProxy": false }` for **direct** connections (no proxy billing). Or change groups / country in the usual Apify shape. |

**Fingerprint limits:** All workers still use **Node.js + got** (same TLS stack). True browser-grade fingerprints need Playwright/Puppeteer — heavier and slower. Multiple workers + **residential proxy sessions** is the practical way to scale throughput on Facebook.

***

### Custom needs?

Contact **corentin@outreacher.fr** for custom builds, bulk runs, or integrations.

# Actor input Schema

## `pageUrls` (type: `array`):

Enter one or more Facebook page URLs.

**Accepted formats:**

- `https://www.facebook.com/africaecorace/`
- `https://facebook.com/cocacola`
- `https://www.facebook.com/pages/Some-Page/123456789`

One URL per line. Handles both vanity URLs and numeric IDs.

## Actor input object example

```json
{
  "pageUrls": [
    {
      "url": "https://www.facebook.com/africaecorace/"
    }
  ]
}
```

# Actor output Schema

## `contacts` (type: `string`):

Key columns: pageName, phone, email, website, category

## `dataset` (type: `string`):

All extracted fields including bio, pageId, followers

## `runLog` (type: `string`):

Live progress log updated during execution

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

// Run the Actor and wait for it to finish
const run = await client.actor("corent1robert/facebook-page-contact-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 = { "pageUrls": [{ "url": "https://www.facebook.com/africaecorace/" }] }

# Run the Actor and wait for it to finish
run = client.actor("corent1robert/facebook-page-contact-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 '{
  "pageUrls": [
    {
      "url": "https://www.facebook.com/africaecorace/"
    }
  ]
}' |
apify call corent1robert/facebook-page-contact-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Facebook Page Scraper · Extract Email, Phone & Website",
        "description": "Scrape emails, phone numbers and websites from any public Facebook business page — no login, no API key, no browser. Bulk-ready: paste one URL or thousands. Perfect for B2B lead generation and CRM enrichment.",
        "version": "1.0",
        "x-build-id": "JO7w458DUMCLc47AV"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/corent1robert~facebook-page-contact-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-corent1robert-facebook-page-contact-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/corent1robert~facebook-page-contact-scraper/runs": {
            "post": {
                "operationId": "runs-sync-corent1robert-facebook-page-contact-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/corent1robert~facebook-page-contact-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-corent1robert-facebook-page-contact-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": [
                    "pageUrls"
                ],
                "properties": {
                    "pageUrls": {
                        "title": "Page URL(s)",
                        "type": "array",
                        "description": "Enter one or more Facebook page URLs.\n\n**Accepted formats:**\n- `https://www.facebook.com/africaecorace/`\n- `https://facebook.com/cocacola`\n- `https://www.facebook.com/pages/Some-Page/123456789`\n\nOne URL per line. Handles both vanity URLs and numeric IDs.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
