# Facebook Pages Scraper - Contacts and Exact Followers (`s-r/facebook-pages-scraper`) Actor

Facebook pages scraper for public page details, exact follower counts, business contacts, categories, verified badges and page transparency. Accept familiar startUrls input and export structured page records.

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

## Pricing

$8.20 / 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.

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

Facebook pages scraper for public page details, exact follower counts, business contacts and page transparency. Submit page URLs and export structured records with familiar field names.

### What this Facebook pages scraper collects

Use this actor to build a directory of public business pages, check contact details, compare follower counts or enrich a list of organisations. Each requested page produces either its public page details or a diagnostic record explaining why the page could not be collected. A failure for one URL does not remove the successful records from the same run.

The actor collects page names and identifiers, descriptions, categories, exact followers where published, following counts, contact details, website links, Instagram and TikTok links, recommendation ratings, verified badges and images. Page transparency adds the creation date, advertising status and confirmed owner when Facebook publishes those details. Fields that Facebook does not publish are returned as null or empty lists. The actor does not infer private contact details.

### Input

The `startUrls` field accepts the same request objects used by the leading Facebook page actor. This is a real page from the fixed benchmark:

```json
{"startUrls":[{"url":"https://www.facebook.com/copperkettleyqr/"}]}
```

You can also supply URLs as strings in the same list. Public page handles, numeric page IDs, `profile.php?id=...`, `/profile/<id>/` and classic `/pages/<name>/<id>/` links are supported. Localised Facebook domains are accepted. Repeated entries that refer to the same normalised input target are collected once.

Supply page URLs, rather than post, group, event, video or search URLs. A URL on another platform receives an `invalid_url` diagnostic. This makes it possible to process a mixed source list without waiting for unrelated websites. An empty list or a malformed top-level input receives an input validation error.

Large lists are processed in bounded batches. The Apify actor continues through those batches automatically. When calling the API directly, pass the returned `next_cursor` as `cursor` and keep the original `startUrls` unchanged. A cursor belongs to its original input list.

### Output

Successful records preserve familiar fields including `facebookUrl`, `facebookId`, `pageId`, `pageName`, `pageUrl`, `title`, `intro`, `followers`, `followings`, `categories`, `address`, `phone`, `email`, `website`, `websites`, `ratingOverall`, `ratingCount`, `showVerifiedBadge`, `creation_date` and `ad_status`.

This excerpt comes from the collected Copper Kettle page. It is a snapshot from 20 November 2026; counts and contact information can change:

```json
{"pageId":"100064027242849","pageName":"copperkettleyqr","followers":3354,"phone":"+1 306-525-3545","email":"copperkettle.events@gmail.com","creation_date":"October 29, 2014"}
```

Each successful row also contains normalised social profile fields: `profile_url`, `profile_id`, `handle`, `name`, `bio`, `links` and `fetched_at`. These fields carry the same values as their familiar counterparts. `pageAdLibrary.id` is a separate advertising identity and can differ from `pageId`.

Follower counts are integers only when an exact count is available. A rounded label such as “2.2M” is not silently converted into an exact integer. `likes` is null because the current public page layout does not expose a dependable like count. An absent email, telephone number or owner remains null. `business_hours` is the opening status at collection time; it is not a complete weekly timetable. Image URLs may expire after Facebook changes their signatures.

Unavailable pages produce a row with `url`, `error` and `errorDescription`, plus a structured `code`, `message`, `retryable` and `fetched_at`. The run summary includes errors and warnings. If page details succeed but transparency is unavailable, the page is preserved and a warning explains which details are missing. A restricted page and a temporary loading failure have different diagnostic codes.

### Facebook pages scraper use cases

- **Lead lists:** turn a list of business page URLs into names, categories, websites, telephone numbers and emails where the page publishes them.
- **Competitor tracking:** compare exact follower counts, ratings and verified badges across rival pages on a schedule.
- **Brand and agency audits:** check page creation dates, advertising status and confirmed owners before a partnership.
- **Data enrichment:** add Instagram and TikTok links and page identifiers to an existing CRM or directory.

If you searched for a facebook page scraper, a facebook page scrape or facebook page scraping, this actor covers the page-details part of that job: public page records, not posts, comments or private profiles.

### Comparison with the leading Facebook pages scraper

On 20 November 2026 we ran ten fixed page inputs through `apify/facebook-pages-scraper` and through our handler locally. Both succeeded on 8 of 10 inputs; the two failing inputs were pages that were unavailable. The leader filled 228 comparable fields against our 216 on the same inputs. The leader finished its run in 11.04 seconds and was priced at $8.20 per 1,000 input entries on the measured account, and it also charged for the two unavailable pages. Our actor charges only for delivered page records and never for error records. Our local run took 59.31 seconds over two requests, so expect a longer run than the leader on small lists. The input fields and output field names are the same, so an existing integration can switch by changing the actor name.

### Pricing

The billable event is `page`: one delivered page record containing a real `pageId`. Error records do not trigger this event. There is no configured start event. Check the actor's pricing card for its published price and your Apify platform costs. This repository does not set a live selling price during the build stage.

Users without a paid Apify plan are limited to ten input entries and ten delivered records per run. Successful pages within that limit are charged at the published rate. The limit is a delivery allowance, rather than a promise of uncharged successful results. Paying users can submit longer lists, which the actor processes in batches.

### Benchmark

The repository README contains a reproducible comparison on ten fixed inputs against `apify/facebook-pages-scraper`, including success rate, field coverage, duration and the leader's measured price. Our actor's live price comparison is available only after deployment. Measurements are a dated sample, not a guarantee that Facebook will serve every page in every run.

### Use with AI agents

Pass explicit Facebook page URLs in `startUrls`. Treat null contact fields as missing information, inspect `retryable` before retrying a diagnostic and retain the page identifier alongside the original URL. Example input and output excerpt from a real collected page:

```json
{"startUrls":[{"url":"https://www.facebook.com/copperkettleyqr/"}]}
```

```json
{"pageId":"100064027242849","pageName":"copperkettleyqr","followers":3354,"email":"copperkettle.events@gmail.com"}
```

### FAQ

#### Can I collect private pages or personal profiles?

This actor targets public Facebook pages. Private profiles and content restricted by login, age, country or the page owner may be unavailable. The diagnostic tells you when the actor cannot obtain public page details.

#### Why can a follower count differ from another tool?

Facebook counts change over time, and some tools expand rounded display labels. This actor uses an exact public count when available. If it only sees a rounded label, the field remains null.

#### Why is a page present when its creation date is null?

Page details and transparency may have different availability. The actor preserves a usable page and adds a warning when transparency details cannot be completed. A null date does not mean the page has no creation date.

#### Will a failed page be charged as a successful page?

No. Diagnostic records have no `pageId` and do not count toward the `page` event. Review the run summary for delivered pages, errors and warnings. After a complete successful run, the log invites you to leave an honest review.

# Actor input Schema

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

Provide urls of Facebook pages you want to get information from. Only works on facebook pages, not personal profiles (not even public ones).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/copperkettleyqr/"
    },
    {
      "url": "https://www.facebook.com/HiltonGardenInnMontrealAirport/"
    }
  ]
}
```

# Actor output Schema

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

Facebook page records with the familiar field names.

## `output` (type: `string`):

Counts, warnings and collection status.

# 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/copperkettleyqr/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("s-r/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/copperkettleyqr/" }] }

# Run the Actor and wait for it to finish
run = client.actor("s-r/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/copperkettleyqr/"
    }
  ]
}' |
apify call s-r/facebook-pages-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,s-r/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/zOXy6g4nc4fnZI7Z6/builds/1wItLnVoFFviLk5rm/openapi.json
