# Facebook Pages Scraper: Contacts, Followers & Ads (`api_creators/facebook-pages-scraper`) Actor

Scrape public Facebook Page details: name, categories, followers, email, phone, address, websites, rating, price range, Page creation date, ad status and Ad Library ID. Fast and cheap, no login or cookies.

- **URL**: https://apify.com/api_creators/facebook-pages-scraper.md
- **Developed by:** [API Creators](https://apify.com/api_creators) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 facebook pages

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Facebook Pages Scraper: Contacts, Followers & Ads

**Facebook Pages Scraper** extracts public details from Facebook Pages: Page name, categories, followers, email, phone, address, websites, rating, price range, opening hours, profile and cover photos, the Page creation date, whether the Page is running ads, and its Meta Ad Library ID.

There's **no Facebook account, login or cookies** involved. The scraper reads the same public About information anyone sees in a private browser window. You can export the results to **JSON, CSV, Excel, HTML or XML**, run it on a schedule, or call it through the API.

### What does Facebook Pages Scraper do?

- 📇 **Extract Facebook Page contact details**: email, phone, address and websites, ready for lead lists and CRMs.
- 👥 **Get audience stats**: followers, following, "talking about this" and check-ins ("were here").
- ⭐ **Get reviews and business info**: rating ("96% recommend (3,411 reviews)"), price range, services and opening hours.
- 📢 **Check ad activity**: whether a Page is currently running ads, its Ad Library ID and a direct link to its ads in the Meta Ad Library.
- 🗓️ **Read Page transparency**: Page creation date and confirmed owner.
- 🖼️ **Collect profile and cover photo URLs** and the verified badge.
- ⚡ **Run fast and cheap**: no browser, about 50 Pages per minute, and a **fast mode** at half the price.

### What Facebook Page data can you extract?

| Page | Contact | Business and ads |
|---|---|---|
| Page name, URL, username, ID | Email | Rating and review count |
| Categories | Phone | Price range |
| Intro (bio) | Address and map link | Services and opening hours |
| Followers and following | Websites | Page creation date |
| "Talking about this" and check-ins | Other social accounts (Instagram, TikTok…) | Ad status ("currently running ads") |
| Verified badge | Messenger link (when listed) | Ad Library ID and link |
| Profile picture and cover photo | | Confirmed owner |

### How to scrape Facebook Pages

1. Click **Try for free**.
2. Paste one or more **Facebook Page URLs**, such as `https://www.facebook.com/levainbakery`. Usernames, `profile.php?id=` links and `m.facebook.com` links work too.
3. Optionally turn on **Fast mode** to skip the Page transparency details at half the price.
4. Click **Start**, then download the data or send it to your tools.

#### Input example

```json
{
  "startUrls": [
    { "url": "https://www.facebook.com/levainbakery" },
    { "url": "https://www.facebook.com/NASA" }
  ],
  "fastMode": false
}
```

#### Output example

A real result:

```json
{
  "facebookUrl": "https://www.facebook.com/levainbakery",
  "pageId": "100064755308500",
  "pageName": "LevainBakery",
  "pageUrl": "https://www.facebook.com/LevainBakery",
  "title": "Levain Bakery",
  "categories": ["Page", "Bakery"],
  "intro": "A neighborhood bakery since 1995 baking BIG beloved cookies and more 🍪",
  "followers": 70077,
  "followings": 5,
  "talkingAboutCount": 1123,
  "wereHereCount": 9192,
  "rating": "96% recommend (3,411 reviews)",
  "ratingOverall": 96,
  "ratingCount": 3411,
  "email": "info@levainbakery.com",
  "phone": "(917) 464-3769",
  "website": "levainbakery.com",
  "websites": ["http://www.levainbakery.com/"],
  "priceRange": "$",
  "services": "In-store pickup",
  "isVerified": true,
  "creation_date": "June 27, 2008",
  "ad_status": "This Page is currently running ads.",
  "CONFIRMED_OWNER_LABEL": "LEVAIN BAKERY",
  "pageAdLibrary": { "is_business_page_active": false, "id": "16534954529" },
  "adLibraryUrl": "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=ALL&view_all_page_id=16534954529"
}
```

Records also include `info`, `address`, `addressMapUrl`, `hours`, `alternativeSocialMedia`, `profilePictureUrl`, `coverPhotoUrl`, `confirmed_owner` and `scrapedAt`. Fields a Page doesn't show are `null`.

If a Page can't be scraped, you get an error item instead of a silent gap: `INVALID_INPUT`, `PAGE_NOT_FOUND`, `BLOCKED` or `FAILED`. **Error items are never charged.**

### How much does it cost to scrape Facebook Pages?

You pay per Page saved. Proxies and platform usage are included in the price.

| Apify plan | Full details (per 1,000 Pages) | Fast mode (per 1,000 Pages) |
|---|---|---|
| Free | $6.00 | $3.00 |
| Starter (Bronze) | $4.50 | $2.25 |
| Scale (Silver) | $3.50 | $1.75 |
| Business (Gold) | $3.00 | $1.50 |
| Platinum | $3.00 | $1.50 |
| Diamond | $3.00 | $1.50 |

On the Free plan, Apify's monthly free credits cover about 800 Pages with full details, or 1,600 in fast mode. Set a **maximum cost per run** and the scraper stops cleanly when it's reached.

#### What is fast mode?

**Fast mode** loads one Facebook tab per Page instead of two. You still get the name, categories, followers, contact details, websites, rating, price range, photos and the Ad Library ID. You don't get the Page creation date, ad status or confirmed owner.

### Why use this Facebook Page scraper?

- **No login:** your Facebook account is never used, so it can't be restricted.
- **Light and fast:** it reads only the part of each page that holds the data (about 300 KB per Page) instead of loading a browser.
- **Reliable:** blocked requests are retried automatically through rotating residential IPs, and failures are reported as error items rather than missing rows.
- **Drop-in field names:** the common Facebook Page fields (`title`, `categories`, `followers`, `email`, `phone`, `website`, `creation_date`, `ad_status`, `pageAdLibrary`…) use the names many existing workflows already expect.

### Use cases for Facebook Page data

- **Lead generation:** build lists of local businesses with emails, phone numbers, addresses and websites.
- **Ad research:** find which brands and competitors are running ads right now, and jump to their ads in the Meta Ad Library.
- **Market research:** compare followers, ratings and check-ins across restaurants, hotels or brands in a niche.
- **Influencer and partner vetting:** check audience size, Page age, verification and confirmed ownership.
- **Data enrichment:** add Facebook contact details and stats to an existing list of Pages in your CRM.

### Facebook Pages API: Python and JavaScript examples

You can call Facebook Pages Scraper from your own code with the [Apify API](https://docs.apify.com/api/v2) or the official clients.

**Python:**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("api_creators/facebook-pages-scraper").call(run_input={
    "startUrls": [{"url": "https://www.facebook.com/levainbakery"}],
})
for page in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(page["title"], page["followers"], page["email"], page["phone"])
```

**JavaScript:**

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('api_creators/facebook-pages-scraper').call({
    startUrls: [{ url: 'https://www.facebook.com/NASA' }],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

You can also connect results to **Google Sheets, Make, Zapier, n8n, Slack, Airtable** and more through [Apify integrations](https://apify.com/integrations), or call the scraper from AI agents through the Apify MCP server.

### FAQ

#### Do I need a Facebook account or cookies?

No. The scraper reads the public About and Page transparency information Facebook shows to logged-out visitors. Your account is never involved.

#### Does it scrape Facebook posts or reviews?

No. This scraper collects Page details. You get the overall rating and review count, but not individual reviews or posts.

#### Why is the like count empty?

Facebook replaced Page likes with followers on most Pages and no longer shows likes publicly. When a Page still shows likes, you get them in `likes`. Followers are always included.

#### Why are some fields empty for some Pages?

Pages choose what to show. Many brands don't list an email or phone, and only businesses have ratings, price ranges and hours. When Facebook doesn't show a value, the field is `null`.

#### Can I scrape personal profiles?

Public figures and creator profiles work like Pages. The scraper is built for Pages, so personal profiles may return only a few basic fields, and private details such as birthdays are always left out.

#### Do I need proxies to scrape Facebook Pages?

No. A residential proxy is built in and included in the price. You can set your own proxy in the **Performance** section if you prefer.

#### Is it legal to scrape Facebook Pages?

The scraper collects only publicly available information and doesn't log in. Some fields, such as names or phone numbers of individuals, can be personal data protected by the GDPR in the EU and by other laws around the world. Don't scrape personal data without a legitimate reason, and consult a lawyer if you're unsure. See [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### Something didn't work as expected?

Open an issue in the **Issues** tab and include the run link.

# Actor input Schema

## `startUrls` (type: `array`):

Links to public Facebook Pages, such as https://www.facebook.com/nasa. Page usernames, profile.php?id= links and m.facebook.com links work too.

## `fastMode` (type: `boolean`):

Skip the Page transparency tab. You still get name, categories, followers, contact details, websites, rating, photos and the Ad Library ID, but not the Page creation date, ad status or confirmed owner. Charged at a lower price per Page.

## `maxConcurrency` (type: `integer`):

Pages scraped in parallel.

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

Leave empty to use the built-in residential proxy (included in the price). Custom proxy URLs entered here replace it.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/levainbakery"
    },
    {
      "url": "https://www.facebook.com/NASA"
    }
  ],
  "fastMode": false,
  "maxConcurrency": 20
}
```

# Actor output Schema

## `pages` (type: `string`):

One item per Facebook Page. Inputs that could not be scraped appear as error items.

## `overview` (type: `string`):

Main Page fields in a table view.

## `summary` (type: `string`):

Pages scraped, speed and traffic.

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

// Run the Actor and wait for it to finish
const run = await client.actor("api_creators/facebook-pages-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 = { "startUrls": [
        { "url": "https://www.facebook.com/levainbakery" },
        { "url": "https://www.facebook.com/NASA" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("api_creators/facebook-pages-scraper").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 '{
  "startUrls": [
    {
      "url": "https://www.facebook.com/levainbakery"
    },
    {
      "url": "https://www.facebook.com/NASA"
    }
  ]
}' |
apify call api_creators/facebook-pages-scraper --silent --output-dataset

```

## MCP server setup

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

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/Z3gOw7M5n8RXyvSGi/builds/95UjnEvWoBshudXyh/openapi.json
