# 📘 Facebook Page Contact Info Scraper (`api-empire/facebook-page-contact-info-scraper`) Actor

📘 Facebook Page Contact Info Scraper extracts email, phone & messaging details from Facebook pages. 🚀 Perfect for lead gen, outreach, B2B research & contact discovery—save time and find verified communication channels fast.

- **URL**: https://apify.com/api-empire/facebook-page-contact-info-scraper.md
- **Developed by:** [API Empire](https://apify.com/api-empire) (community)
- **Categories:** Lead generation, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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 Info Scraper

Extract **emails, phone numbers, addresses, websites, ratings, likes, followers, Instagram links, business hours, price range, page creation date and ad status** from any **public Facebook Page** — in seconds, as clean structured data. 🚀

No login. No cookies. Just paste page URLs (or usernames) and go.

### 🤔 Why Choose This Actor?

- **🎯 Complete contact pack** — email, phone, address, website and every linked profile in one row.
- **🛡️ Self-shielding proxies** — starts direct, then automatically escalates to datacenter and residential proxies only if Facebook throttles. You don't configure anything.
- **⚡ Bulk & fast** — drop in hundreds of pages; results stream into the dataset live as each page finishes.
- **🧱 Never loses data** — every page is saved the moment it's scraped, so a partial run still gives you everything collected so far.
- **📊 Organized output** — results are split into **Overview**, **Contact Info**, **Business Details** and **Social & Media** views.

### ✨ Key Features

| Feature | Description |
|--------|-------------|
| 📧 Email & 📞 Phone | Public contact details from the page Intro card |
| 📍 Address & 🗺️ Map | Full address + a ready-to-open map link |
| 🌐 Websites | Primary website plus all linked URLs (Google Maps, Instagram, etc.) |
| ⭐ Ratings | Recommendation %, review count and formatted rating text |
| 👍 Likes & 👥 Followers | Audience size, normalized to integers |
| 🏢 Business info | Category, price range, services, opening hours |
| 📅 Transparency | Real page creation date + whether the page runs ads |
| 📸 Social | Instagram handle/URL + profile & cover images |

### 📥 Input

```json
{
  "pages": [
    "https://www.facebook.com/copperkettleyqr/",
    "humansofnewyork"
  ],
  "language": "en-US",
  "proxyConfiguration": { "useApifyProxy": true }
}
````

| Field | Type | Description |
|-------|------|-------------|
| `pages` | array | **Required.** Facebook page URLs or usernames. Bulk supported. |
| `language` | string | Preferred content language (Accept-Language). Default `en-US`. |
| `proxyConfiguration` | object | *(Advanced)* Apify proxy settings. The actor auto-escalates direct → datacenter → residential. |

### 📤 Output

Each page becomes one dataset record:

```json
{
  "facebookUrl": "https://www.facebook.com/copperkettleyqr",
  "title": "The Copper Kettle Restaurant",
  "category": "Pizza place",
  "categories": ["Pizza place"],
  "phone": "+1 306-525-3545",
  "email": "copperkettle.events@gmail.com",
  "website": "http://www.thecopperkettle.online/",
  "websites": ["https://maps.google.com/...", "https://www.instagram.com/copperkettleyqr", "http://www.thecopperkettle.online/"],
  "address": "1953 Scarth Street, Regina, SK, Canada, Saskatchewan",
  "addressUrl": "https://www.bing.com/maps/...",
  "likes": 3243,
  "followers": 3200,
  "followings": 351,
  "rating": "94% recommend (202 Reviews)",
  "ratingOverall": 94,
  "ratingCount": 202,
  "priceRange": "$$",
  "business_hours": "Closed now",
  "business_services": "Outdoor seating",
  "creation_date": "October 29, 2014",
  "ad_status": "This Page is currently running ads.",
  "instagram": [{ "username": "copperkettleyqr", "url": "https://www.instagram.com/copperkettleyqr" }],
  "profilePictureUrl": "https://scontent.../profile.jpg",
  "coverPhotoUrl": "https://scontent.../cover.jpg",
  "pageId": "100064027242849",
  "facebookId": "100064027242849"
}
```

### 🚀 How to Use (Apify Console)

1. Log in at [console.apify.com](https://console.apify.com) → **Actors**.
2. Open **Facebook Page Contact Info Scraper**.
3. Paste your Facebook page URLs / usernames into **Facebook Page URLs**.
4. (Optional) pick a language, or open **Advanced settings** to set a proxy.
5. Click **Start** ▶️.
6. Watch the live log fill with collected contacts.
7. Open the **Output** tab and export to JSON / CSV / Excel.

### 🤖 Use via API

```bash
curl -X POST "https://api.apify.com/v2/acts/<ACTOR_ID>/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"pages":["https://www.facebook.com/copperkettleyqr/"]}'
```

### 💡 Best Use Cases

- 🧲 Lead generation — build contact lists of local businesses.
- 📈 Market research — categories, ratings and audience size at scale.
- 🗂️ CRM enrichment — attach phone/email/website to known pages.
- 🕵️ Competitive analysis — see who is running ads.

### 💰 Pricing

This actor uses the **Pay-Per-Event** model. You are billed per Facebook page successfully scraped (`row_result`), plus standard Apify platform usage. Failed pages are not charged the result event.

### ❓ FAQ

**Do I need to log in or provide cookies?** No — only public page data is collected.

**A field is `null` — why?** That detail isn't public on that page (e.g. no email listed). The scraper returns everything Facebook exposes publicly.

**Can I pass just usernames?** Yes — `copperkettleyqr` works the same as the full URL.

**Why did it switch to a proxy mid-run?** Facebook throttled a direct request, so the actor automatically shielded itself with a datacenter/residential proxy and continued.

### 🛟 Support & Feedback

Found a bug or want a new field? Open an issue on the actor's **Issues** tab in Apify Console.

### ⚖️ Legal

Only **publicly available** data is collected. You are responsible for compliance with GDPR/CCPA, anti-spam laws and Facebook's Terms of Service.

# Actor input Schema

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

Add one or more public Facebook pages — full URLs (https://www.facebook.com/yourpage) or just the username/vanity (yourpage). Bulk input supported. 📥

## `language` (type: `string`):

Preferred content language for the pages (sent as Accept-Language).

## `proxyConfiguration` (type: `object`):

The scraper starts direct (no proxy) and automatically shields itself with datacenter then residential proxies if Facebook throttles. Configure your preferred Apify proxy here.

## Actor input object example

```json
{
  "pages": [
    "https://www.facebook.com/copperkettleyqr/"
  ],
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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/copperkettleyqr/",
        "humansofnewyork"
    ],
    "language": "en-US",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("api-empire/facebook-page-contact-info-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 = {
    "pages": [
        "https://www.facebook.com/copperkettleyqr/",
        "humansofnewyork",
    ],
    "language": "en-US",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("api-empire/facebook-page-contact-info-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 '{
  "pages": [
    "https://www.facebook.com/copperkettleyqr/",
    "humansofnewyork"
  ],
  "language": "en-US",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call api-empire/facebook-page-contact-info-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "📘 Facebook Page Contact Info Scraper",
        "description": "📘 Facebook Page Contact Info Scraper extracts email, phone & messaging details from Facebook pages. 🚀 Perfect for lead gen, outreach, B2B research & contact discovery—save time and find verified communication channels fast.",
        "version": "0.1",
        "x-build-id": "DBbkm8qHK4t3K1GrE"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/api-empire~facebook-page-contact-info-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-api-empire-facebook-page-contact-info-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/api-empire~facebook-page-contact-info-scraper/runs": {
            "post": {
                "operationId": "runs-sync-api-empire-facebook-page-contact-info-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/api-empire~facebook-page-contact-info-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-api-empire-facebook-page-contact-info-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": [
                    "pages"
                ],
                "properties": {
                    "pages": {
                        "title": "🔗 Facebook Page URLs or usernames",
                        "uniqueItems": true,
                        "type": "array",
                        "description": "Add one or more public Facebook pages — full URLs (https://www.facebook.com/yourpage) or just the username/vanity (yourpage). Bulk input supported. 📥",
                        "items": {
                            "type": "string"
                        }
                    },
                    "language": {
                        "title": "🌍 Language",
                        "enum": [
                            "en-US",
                            "en-GB",
                            "es-ES",
                            "es-LA",
                            "fr-FR",
                            "de-DE",
                            "it-IT",
                            "pt-BR",
                            "pt-PT",
                            "nl-NL",
                            "ar-AR",
                            "hi-IN",
                            "id-ID",
                            "ja-JP",
                            "ko-KR",
                            "ru-RU",
                            "tr-TR",
                            "zh-CN",
                            "zh-TW"
                        ],
                        "type": "string",
                        "description": "Preferred content language for the pages (sent as Accept-Language).",
                        "default": "en-US"
                    },
                    "proxyConfiguration": {
                        "title": "🛡️ Proxy configuration",
                        "type": "object",
                        "description": "The scraper starts direct (no proxy) and automatically shields itself with datacenter then residential proxies if Facebook throttles. Configure your preferred Apify proxy here.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
