# Facebook Pages Scraper & Monitor ($3/1K) (`hydedata/facebook-pages-scraper`) Actor

No login or cookies. Get a Facebook business page's phone, email, website, address, category, rating and exact follower count. Start from page links or business websites, keep only pages that list an email, and monitor changes like new contacts or ads started, with Slack or Discord alerts.

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

## Pricing

from $3.00 / 1,000 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 & Monitor

Scrape Facebook business pages: phone, email, website, address with map coordinates, categories,
rating and review count, price range, opening status and exact follower counts. No Facebook account,
login or cookies needed. $3 per 1,000 pages.

Start from page links, usernames or page IDs, or from **business websites**: the Actor finds each
site's Facebook page for you. Keep **only pages that list an email or phone**, and pay for nothing
else. Turn on **monitor mode** and schedule it to get only the pages that changed: a new phone number
or website, followers up or down, new reviews, ads started or stopped. It can send those changes
straight to Slack, Discord or Telegram.

### What people use it for

- **Local lead lists.** Turn a list of local business pages into rows with phone, email, website and
  address, and keep only the pages that list an email or a phone.
- **Enriching a CRM from websites.** Paste the company websites you already have. Each one comes back
  with its Facebook page, contact details, follower count and how sure the match is.
- **Ad-status prospecting.** See which pages are running ads right now and when each page was
  created, with a link to the page's ads in the Ad Library.
- **Monitoring competitors' pages.** Schedule it and get only what changed: followers, contact
  details, rating and reviews, ads started or stopped.
- **AI agents.** Give an agent a Facebook page lookup through Apify's MCP server, with a compact
  output that keeps the answer short. See [Use it from AI agents (MCP)](#use-it-from-ai-agents-mcp).

### What you get

For every page:

| Field | Example |
| --- | --- |
| Name | Katz's Delicatessen |
| Categories | Deli |
| Intro text | New York City's most iconic deli. |
| Address | 205 E Houston St, New York, NY, United States, New York |
| Map coordinates | 40.72222, -73.98751 |
| Address in parts | street, city, state and state code, country and country code |
| Phone, as shown and in international format | (212) 254-2246, +12122542246 |
| Email, its domain, and whether it's a free mailbox | the contact email the business lists; gmail.com counts as free |
| Website and its domain | http://katzsdelicatessen.com/, katzsdelicatessen.com |
| All websites | every website the page lists, for pages with two or three |
| WhatsApp number and chat link | +44 7794 525717, https://wa.me/447794525717 |
| Instagram, TikTok and YouTube links | plus any other accounts the page links |
| Messenger link and Ad Library link | m.me/katzsdeli, and where to see every ad the page runs |
| Rating | 98% recommend (52,461 reviews), also as numbers: 98, 52461 |
| Reviews link | https://www.facebook.com/katzsdeli/reviews |
| Price range | $$ |
| Open now | Open now, Closed now, Closing Soon or Always open, also as true or false |
| Service options | Dine-in, Outdoor seating, In-store pickup |
| Followers (exact) | 977,231 |
| Talking about this, were here | 24,856 and 531,074 |
| Page ID, profile ID, username and page URL | 89033874836, 100064806517961, katzsdeli |
| Profile picture | image URL |

A page only shows what its owner filled in, so a brand page like Starbucks has a website and
followers but no street address, and some small businesses list no email.

**More details** (add-on): the date the page was created, whether it's running ads right now, its
verified badge, cover photo and how many pages it follows.

| More details field | Example |
| --- | --- |
| Page created | 2009-06-12 |
| Running ads | true, "This Page is currently running ads." |
| Verified badge | false |
| Following | 18 |
| Cover photo | image URL |

Only business pages are collected. A personal profile is recognized and left out, at no charge.

### Ready-made examples

Open one, change the input to yours, and run it:

- [Facebook page email and phone scraper](https://apify.com/hydedata/facebook-pages-scraper/examples/facebook-page-email-and-phone-scraper)
- [Find Facebook pages from business websites](https://apify.com/hydedata/facebook-pages-scraper/examples/find-facebook-pages-from-websites)
- [Check which Facebook pages are running ads, with creation dates](https://apify.com/hydedata/facebook-pages-scraper/examples/facebook-page-ad-status-and-creation-date)
- [Facebook page monitor for followers, contact changes and ads](https://apify.com/hydedata/facebook-pages-scraper/examples/facebook-page-monitor-followers-contacts-ads)

### How to use it

#### Page links, usernames or IDs

Paste Facebook pages, one per line. A page link, the username alone (`katzsdeli`) and the numeric ID
all work, and so do links like `/p/Name-123`, `/people/Name/123` and `profile.php?id=123`.

```json
{
  "pages": [
    "https://www.facebook.com/katzsdeli",
    "Starbucks",
    "100063900816791"
  ]
}
```

Every input gets a row. Pages that don't exist, were unpublished or are limited by age or country
come back with `status: "not-found"` and an explanation, so a list of 500 maps back to its input.
The same page entered twice (say by link and by ID) is delivered once.

Facebook has no search for visitors who aren't logged in, so a page can't be looked up by its name
alone. Use its link, or the business's website.

Have a long list? Upload a text or CSV file in **Or upload a list**, or paste a link to one. Every
Facebook link in the file is used.

#### Business websites

Turn a list of company websites into Facebook pages with contact details:

```json
{
  "websites": ["katzsdelicatessen.com", "westmorelandplumbing.com", "https://www.starbucks.com"]
}
```

The Actor reads each site's homepage for its own Facebook link and scrapes that page. Each row says
how sure the match is in `matchConfidence`:

- **high**: the Facebook page lists that same website.
- **medium**: the website links to the page, but the page lists another website or none.

Sites with no Facebook link come back as `not-found` and aren't charged. A website pasted into the
pages list is looked up the same way.

#### Only pages you can contact

Pick fields in **Only pages that list** (email, phone, website, address) and pages without them are
dropped before you're charged. For an email campaign, pick email and every row you pay for has one.

```json
{
  "pages": ["https://www.facebook.com/katzsdeli", "Starbucks"],
  "requireFields": ["email", "phone"]
}
```

#### More details

Turn on **More details** to add the page's creation date, ad status, verified badge, cover photo and
following count. It's charged per page as its own add-on, and only when those details could be read
(`detailsRead` says so on each row).

#### Compact output

Turn on **Compact output** to get a short row per page: name, category, intro, website, email,
phone, WhatsApp, Instagram, address, city, country code, followers, rating, price range and open
status. Fields a page doesn't list are left out of its row. A compact row is about a third of the
size of a full one, which matters when an AI agent reads the results. Filters, More details, monitor
mode and alerts work the same, and the price is the same.

#### Monitor mode: changes only

Turn on **Monitor mode** and add a Schedule (e.g. daily). The first run returns every page as the
baseline. After that, each run returns only pages that changed, with a `changes` list:

```json
{
  "name": "Katz's Delicatessen",
  "monitorStatus": "changed",
  "changes": [
    { "field": "phone", "previous": "(212) 555-0100", "current": "(212) 254-2246" },
    { "field": "followers", "previous": 930112, "current": 977231, "change": 47119, "changePercent": 5.07 },
    { "field": "reviewCount", "previous": 52000, "current": 52461, "change": 461, "changePercent": 0.89 }
  ]
}
```

Pick what counts as a change: contact details (address, phone, email, website, WhatsApp), profile
(name, categories, intro text, price range), follower and like counts (at least 5% by default), and
rating and review count. Pages with no change aren't output and cost a smaller check fee.

With **More details** on, you can also watch ads: get a row when a page starts or stops running ads,
or gains or loses its verified badge.

```json
{ "field": "isRunningAds", "previous": false, "current": true }
```

To keep a full table every run instead, turn on **Also output unchanged pages**.

#### Alerts in Slack, Discord or Telegram

Paste a Discord or Slack incoming webhook URL in **Send results to a webhook**. Each run posts its
pages there; in monitor mode each one says what changed ("Followers 4,450 → 4,854 (+9.08%)",
"Started running ads"). Any other URL gets the rows as JSON. For Telegram, add a bot token and a
chat ID. Quiet monitor runs send nothing.

#### Use it from AI agents (MCP)

The Actor works as a tool for Claude, Cursor, VS Code and any other client that speaks MCP, through
[Apify's MCP server](https://docs.apify.com/platform/integrations/mcp). Add this server URL to your
client and sign in to Apify when it asks:

```
https://mcp.apify.com?tools=hydedata/facebook-pages-scraper
```

The agent gets one tool, `hydedata--facebook-pages-scraper`, plus what it needs to read the results.
With the plain `https://mcp.apify.com` URL the agent can also find the Actor on its own through
Actor search.

The smallest useful input is a list of pages and the compact output:

```json
{
  "pages": ["katzsdeli", "https://www.facebook.com/FranklinBBQ"],
  "compactOutput": true
}
```

Prompts that work well:

- "Look up the Facebook pages katzsdeli and FranklinBBQ and give me each one's phone, email and
  website."
- "Here are 20 company websites. Find each company's Facebook page and tell me which ones list an
  email address."
- "Are these five competitor pages running ads right now, and when was each page created?" (the
  agent turns on `includeDetails` for this one)

Each input gets one row, pages that can't be found say why, and those rows cost nothing, so an agent
can tell "no email listed" from "no such page". Set `maxPages` if you want a hard cap on what one
call can deliver.

#### Coming from another Facebook pages scraper

Input field names from other Facebook page scrapers work as is: `startUrls`, `urls`, `pageUrls`,
`maxItems`, `resultsLimit` and more.

### Pricing

Pay per result. Platform usage and proxies are included.

| Event | Price |
| --- | --- |
| Page | $0.003 ($3 per 1,000) |
| More details add-on, per page | $0.003 |
| Monitor check of a page with no change | $0.0015 |

With More details on, the add-on applies to every page whose details were read, changed or not.

You're never charged for:

- Pages that weren't found or couldn't be read. They come back as rows with `status` and `error`.
- Websites with no Facebook page on them.
- Pages your "only pages that list" filter drops.
- More details that couldn't be read for a page. The page still comes back, without them.
- Personal profiles, which are left out.
- The same page twice in one run.

With a spending limit, the run stops at the limit and never goes over it.

### Output

Results are in the run's dataset. Download them as JSON, CSV, Excel or HTML, or get them through the
Apify API, Make, Zapier or n8n. The dataset has views for an overview, contact details, more
details, monitor changes and what each input led to.

One row, as JSON (the picture link is shortened here):

```json
{
  "input": "https://www.facebook.com/katzsdeli",
  "inputType": "url",
  "status": "ok",
  "error": null,
  "matchConfidence": null,
  "profileId": "100064806517961",
  "pageId": "89033874836",
  "facebookUrl": "https://www.facebook.com/katzsdeli",
  "username": "katzsdeli",
  "name": "Katz's Delicatessen",
  "category": "Deli",
  "categories": ["Deli"],
  "intro": "New York City's most iconic deli.",
  "address": "205 E Houston St, New York, NY, United States, New York",
  "street": "205 E Houston St",
  "city": "New York",
  "region": "New York",
  "regionCode": "NY",
  "postalCode": null,
  "country": "United States",
  "countryCode": "US",
  "locationLabel": "New York NY",
  "latitude": 40.72222,
  "longitude": -73.98751,
  "phone": "(212) 254-2246",
  "phoneE164": "+12122542246",
  "email": "cs@katzsdelicatessen.com",
  "emailDomain": "katzsdelicatessen.com",
  "emailIsFreeMail": false,
  "website": "http://katzsdelicatessen.com/",
  "websiteDomain": "katzsdelicatessen.com",
  "websites": ["http://katzsdelicatessen.com/"],
  "whatsapp": null,
  "whatsappUrl": null,
  "instagram": "https://www.instagram.com/katzsdeli",
  "tiktok": null,
  "youtube": null,
  "otherAccounts": [
    { "platform": "instagram", "handle": "katzsdeli", "url": "https://www.instagram.com/katzsdeli" }
  ],
  "messengerUrl": "https://m.me/katzsdeli",
  "adLibraryUrl": "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=ALL&view_all_page_id=89033874836",
  "ratingText": "98% recommend (52,461 reviews)",
  "recommendPercent": 98,
  "reviewCount": 52461,
  "reviewsUrl": "https://www.facebook.com/katzsdeli/reviews",
  "priceRange": "$$",
  "hoursStatus": "Open now",
  "isOpenNow": true,
  "services": ["Dine-in", "Outdoor seating", "In-store pickup"],
  "followers": 977650,
  "likes": null,
  "talkingAbout": 23215,
  "wereHere": 531116,
  "profilePictureUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-1/347587684_597250122171933_n.jpg",
  "scrapedAt": "2026-11-23T02:50:12.736Z"
}
```

With **More details** the row also has `detailsRead`, `pageCreated`, `isRunningAds`, `adStatus`,
`isVerified`, `following` and `coverPhotoUrl`. In monitor mode it has `monitorStatus`, `changes` and
`previousCheckAt`.

The same page with **Compact output** on:

```json
{
  "input": "https://www.facebook.com/katzsdeli",
  "inputType": "url",
  "status": "ok",
  "profileId": "100064806517961",
  "name": "Katz's Delicatessen",
  "category": "Deli",
  "intro": "New York City's most iconic deli.",
  "facebookUrl": "https://www.facebook.com/katzsdeli",
  "website": "http://katzsdelicatessen.com/",
  "email": "cs@katzsdelicatessen.com",
  "phone": "(212) 254-2246",
  "instagram": "https://www.instagram.com/katzsdeli",
  "address": "205 E Houston St, New York, NY, United States, New York",
  "city": "New York",
  "countryCode": "US",
  "followers": 977650,
  "recommendPercent": 98,
  "reviewCount": 52461,
  "priceRange": "$$",
  "hoursStatus": "Open now",
  "scrapedAt": "2026-11-23T02:50:12.736Z"
}
```

### Tips

- Keep the proxy on residential (the default). Facebook sends other IPs to its login page.
- Follower counts are exact, not rounded ("4,854", not "4.8K").
- "Open now" is the page's status at the moment of the run. Schedule runs at the hour you care about.
- Facebook's profile picture links expire after a while. Download the image if you need to keep it.
- Monitor mode doesn't report a field that disappeared, only one that changed to a new value. That
  avoids false alarms when Facebook leaves a detail out of a page for a moment.

### FAQ

#### Is there a Facebook Pages API without login?

Facebook's own API needs a developer app, an access token and app review before it returns other
businesses' pages. This Actor gives you the same kind of answer for public page data without any of
that: send page links to it through the Apify API, a schedule, Make, Zapier, n8n or MCP, and get
JSON back. No Facebook account, app, token or cookies.

#### How do I get emails from Facebook pages?

Paste the page links, or the businesses' websites, and pick **An email** under **Only pages that
list**. Every row you pay for then has the contact email the business put on its page, with its
domain and whether it's a free mailbox like gmail.com. Pages with no email are dropped before
you're charged. Only business pages are read, never personal profiles.

#### How do I find a company's Facebook page from its website?

Put the website in **Business websites**. The Actor reads the site's homepage for its own Facebook
link and scrapes that page. `matchConfidence` says high when the page lists the same website back.

#### How do I check if a Facebook page is running ads?

Turn on **More details**. Each row gets `isRunningAds`, the page's creation date and a link to its
ads in the Ad Library. In monitor mode you can get a row, or a Slack message, the day a page starts
or stops running ads.

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

No. Everything comes from what Facebook shows to visitors who aren't logged in.

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

This Actor only reads public business information that Facebook shows to anyone without signing in.
It doesn't collect personal profiles. Check the rules that apply to your use of the data, especially
for contact details.

#### Why is a page "not-found" when I can see it?

Some pages are only shown to logged-in users: pages limited by age or country, and some pages that
sell restricted goods. Those can't be read without an account, and you aren't charged for them.

#### Does it get posts or reviews?

Not yet. It returns the rating, the review count and a link to the reviews, not the review texts.

#### Does it get a page's opening hours?

It returns whether the page showed as open at the time of the run ("Open now", "Closed now",
"Closing Soon", "Always open"), also as true or false in `isOpenNow`. The weekly timetable isn't
included.

#### Can it search Facebook by keyword or city?

No. Facebook doesn't show its search to visitors who aren't logged in, and this Actor only reads
what they can see. Start from page links, or from business websites and let it find the pages.

#### Why is the postal code often empty?

Facebook's page card leaves it out for most US businesses. City, state and country are there, and so
are map coordinates.

# Changelog

This Actor's version history is a separate document: https://apify.com/hydedata/facebook-pages-scraper/changelog.md

# Actor input Schema

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

One page per line: a page link (https://www.facebook.com/katzsdeli), its username (katzsdeli) or its numeric ID (100064806517961). Links like /p/Name-123, /people/Name/123 and profile.php?id=123 work too. Page names can't be looked up, so paste the link, or the business's website below.

## `websites` (type: `array`):

One website per line (katzsdelicatessen.com). The Actor reads each site's homepage for its Facebook link and scrapes that page. Each row says how sure the match is: high when the page lists the same website, medium when only the site links to the page. Sites with no Facebook link come back as not-found and aren't charged.

## `pagesFileUrl` (type: `string`):

A text or CSV file with Facebook page links, usernames, IDs or websites. Every Facebook link in the file is used; with none, the first column of each line is. Upload a file or paste a link to one.

## `includeDetails` (type: `boolean`):

Adds the date the page was created, whether it's running ads right now, its verified badge, cover photo and following count. Charged as a separate add-on per page, and only when those details could be read.

## `compactOutput` (type: `boolean`):

Fewer fields per page: name, category, intro, website, email, phone, WhatsApp, Instagram, address, followers, rating, price range and open status. Fields a page doesn't list are left out of its row. Made for AI agents and MCP clients, where every field costs tokens. Same price, and filters, monitor mode and alerts work the same.

## `requireFields` (type: `array`):

Deliver a page only when it lists every field picked here. Pages without them are dropped before you're charged, so a lead list only costs you leads you can contact.

## `maxPages` (type: `integer`):

Upper limit of pages delivered by the whole run. Leave empty for no limit.

## `monitorMode` (type: `boolean`):

Remembers each page from run to run and only outputs the ones that changed, with what changed: phone, email, website, address, followers, rating, reviews, and with More details also ads started or stopped. Use with a Schedule. The first run returns every page as the baseline. Pages with no change aren't output and cost a smaller check fee instead of a full page.

## `trackChanges` (type: `array`):

What counts as a change in monitor mode.

## `minFollowerChangePercent` (type: `number`):

Report follower or like count changes of at least this percent, when follower counts are watched.

## `includeUnchanged` (type: `boolean`):

In monitor mode, output every page each run, marked changed or unchanged. Every row is charged as a page.

## `notifyWebhookUrl` (type: `string`):

Paste a Discord or Slack incoming webhook URL to get each run's pages as a message. In monitor mode each page says what changed (e.g. Followers 4,450 → 4,854 (+9.08%), Phone: (512) 555-0100 → (512) 555-0199). Any other URL gets the rows as JSON. Only sent when the run delivers something, so quiet monitor runs stay silent.

## `telegramBotToken` (type: `string`):

Also send alerts to Telegram. Create a bot with @BotFather and paste its token here.

## `telegramChatId` (type: `string`):

The chat, group or channel ID the bot posts to.

## `stateStoreName` (type: `string`):

Named key-value store that keeps monitor memory between runs. Use different names to run independent monitors.

## `stateRetentionDays` (type: `integer`):

Pages not checked for this many days are dropped from monitor memory.

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

Proxy sessions reading pages at the same time. Small runs use fewer on their own. Lower it if pages come back as failed.

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

Keep this on RESIDENTIAL. Facebook sends datacenter IPs to its login page.

## Actor input object example

```json
{
  "pages": [
    "https://www.facebook.com/katzsdeli",
    "Starbucks"
  ],
  "includeDetails": false,
  "compactOutput": false,
  "monitorMode": false,
  "trackChanges": [
    "contact",
    "profile",
    "followers",
    "reviews"
  ],
  "minFollowerChangePercent": 5,
  "includeUnchanged": false,
  "stateStoreName": "facebook-pages-monitor-state",
  "stateRetentionDays": 90,
  "maxConcurrency": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Dataset items, one per page or unmatched input. Field meanings are in the dataset schema.

# 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/katzsdeli",
        "Starbucks"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydedata/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 = {
    "pages": [
        "https://www.facebook.com/katzsdeli",
        "Starbucks",
    ],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("hydedata/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 '{
  "pages": [
    "https://www.facebook.com/katzsdeli",
    "Starbucks"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call hydedata/facebook-pages-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydedata/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/2X2A1tjpHCs60fywP/builds/peVhbSh4LH1FBrahP/openapi.json
