# Facebook Pages (`fetchclub/facebook-pages`) Actor

Extract public Facebook Page information including contact details, ratings, social links, posts, mentions and reviews. No login or cookies required. $3 per 1000 Pages.

- **URL**: https://apify.com/fetchclub/facebook-pages.md
- **Developed by:** [FetchClub](https://apify.com/fetchclub) (community)
- **Features:** Limited permissions
- **Stats:** 5 total users, 4 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.
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

Give it Facebook Page URLs, handles or search phrases; get each Page's name, category, phone, email, website, address, rating, followers and About text — plus optional posts, reviews, mentions, comments, ad status and last-post date. No Facebook login or cookies. **$3.00 per 1,000 Pages**; Pages that are removed or cannot be read are never charged.

### Why use this scraper

Use the results to build business lead lists, enrich company records, monitor competitors, and track public Page activity. Download your data from Apify or connect it to your existing workflows.

- **Fast:** those 200 Pages finished in 78–98 seconds; the first results arrive after about 7 seconds.
- **One actor for everything:** Page details, contacts, posts, reviews, mentions, comments and replies, video captions, ad status (`runningAds`) and activity (`lastPostAt`) in one run.
- **Built for agents and pipelines:** a small, predictable input, consistent field names and a per-Page status you can act on.

### What can you extract?

- **Business contacts:** email, phone, website, address, map link, and coordinates.
- **Page information:** name, Facebook ID, categories, verification status, profile photo, and cover photo.
- **About information:** intro, full detailed About text, services, displayed opening status, and price range.
- **Audience metrics:** followers, following, likes, check-ins, and mentions.
- **Reviews Summary:** displayed rating text, review count, and recommendation percentage.
- **Reviews:** reviewer name when public, review text, date, and recommendation. Optional.
- **Social links:** Instagram, Threads, X, YouTube, and TikTok when published.
- **Posts:** post IDs, text, timestamps, links, reaction counts and breakdowns, comment counts, and share counts.
- **Mentions:** post IDs, text, timestamps, links, reaction counts and breakdowns, comment counts, and share counts.
- **Optional Page transparency:** creation date, ad status, ownership labels, and transparency ID when available.

### Quick start

Minimal input — paste and run:

```json
{ "startUrls": ["https://www.facebook.com/sephora/", "https://www.facebook.com/profile.php?id=100057306587996"] }
```

Add activity and ads signals:

```json
{ "startUrls": ["https://www.facebook.com/sephora/"], "includeLastPostDate": true, "includeTransparency": true }
```

Find Pages by keyword instead of URL:

```json
{ "searchKeywords": ["roofing contractor Austin"], "maxPagesPerSearch": 20 }
```

### What can you extract?

- **Business contacts:** email, phone, website, address, map link, and coordinates.
- **Page information:** name, Facebook ID, categories, verification status, profile photo, and cover photo.
- **About information:** intro, full detailed About text, services, displayed opening status, and price range.
- **Audience metrics:** followers, following, likes, check-ins, and mentions.
- **Reviews Summary:** displayed rating text, review count, and recommendation percentage.
- **Reviews:** reviewer name when public, review text, date, and recommendation. Optional.
- **Social links:** Instagram, Threads, X, YouTube, and TikTok when published.
- **Posts:** post IDs, text, timestamps, links, reaction counts and breakdowns, comment counts, and share counts.
- **Mentions:** post IDs, text, timestamps, links, reaction counts and breakdowns, comment counts, and share counts.
- **Optional Page transparency:** creation date, ad status (with a `runningAds` true/false flag), ownership labels, and transparency ID when available.
- **Optional activity signal:** the date of the Page's most recent post (`lastPostAt`), to tell active businesses from dormant Pages.

### How to use

1. Add Facebook Page URLs, handles, or individual post links in `startUrls`, enter Page search phrases in `searchKeywords`, or provide both. Both inputs run together; neither overrides the other.
2. Choose whether to collect posts, individual reviews, and Page transparency (page created date, ads enabled flag).
3. Click **Save & Start**.
4. Open the dataset to view or download the results.

The dataset provides separate **Pages**, **Posts**, **Reviews**, **Mentions** and **Comments** views. In the Apify dataset results, select a view to see or download its unnested rows: Posts, Mentions and Reviews each show one row per item linked to its Page, while Comments shows one row per comment or reply across those sources. The raw dataset keeps posts in `posts`, mentions in `mentions`, and reviews in `reviews`; comments and replies remain nested under their source item and are also combined into a top-level `comments` array for the Comments view.

In the Pages view, Mentions (`mentionsCount`) is Facebook's talking-about-this metric. Posts (`postsCount`) and Reviews (`reviewsCount`) are Page totals, not counts collected in the run. Reviews uses Facebook's existing `ratingCount`. The current parser does not extract a total post count, so Posts remains blank (`null`). Unavailable review totals are also blank.

All dataset field names use camelCase, including fields inside nested objects and reaction breakdowns.

On pay-per-event runs, Page metadata is charged before optional enrichment. Posts, mentions, reviews, comments and replies are charged as batches are collected; successful video captions and optional Page sections are charged when available. Collection stops when the event budget is exhausted, and paid partial results are retained. Requests already in progress may finish.

### Input Example

```json
{
  "startUrls": [
    {"url": "https://www.facebook.com/sephora/"},
    {"url": "https://www.facebook.com/copperkettleyqr/"},
    {"url": "https://www.facebook.com/profile.php?id=100057306587996"}
  ],
  "searchKeywords": [
    "Sephora UK",
    "#CrueltyFreeBeauty",
    "independent beauty shops in London"
  ],
  "maxPagesPerSearch": 10,
  "includePosts": true,
  "includeReviews": true,
  "maxReviews": 5,
  "maxPosts": 10,
  "includeAboutDetails": true,
  "includeTransparency": true
}
```

| Parameter | Default | Max | Description |
|---|---|---|---|
| `startUrls` | `[]` | 1000 | Facebook Page/post URLs, handles, or objects containing `url`. Optional when `searchKeywords` is provided. All submitted URLs are processed alongside discovered Pages. Each result's `inputUrl` is the URL exactly as you submitted it, so results can be matched back to your list. |
| `searchKeywords` | `[]` | 100 | Search terms or phrases, such as `"Sephora UK"`, `"#CrueltyFreeBeauty"` or `"independent beauty shops in London"`. Each entry runs separately through DuckDuckGo web search to discover indexed Facebook Pages. A hashtag is searched as text for Pages; this does not find posts that use the hashtag. |
| `maxPagesPerSearch` | `10` | 100 | Maximum unique Page candidates per phrase (1–100). Does not limit submitted URLs. Duplicates, inaccessible candidates and candidates without confirmed Page data can reduce the number of returned Pages. |
| `includeAboutDetails` | `false` | — | Fetch the About Details page for the longer `aboutMe` text. Set to `false` to skip this request. Each Page with a full description returned from this section costs an additional `$0.002`. |
| `includeTransparency` | `false` | — | Fetch Page transparency information such as creation date and ads status. Also returns `runningAds` (`true`/`false`) parsed from the ad status. Each Page with transparency data returned costs an additional `$0.002`. |
| `includeLastPostDate` | `false` | — | Return `lastPostAt`, the newest timestamp among the Page's first three timeline posts (several are checked so a pinned older post cannot hide recent activity). The posts themselves are not returned or charged. Adds one or two requests per Page. |
| `includeAllCategories` | `false` | — | The About tab lists the primary category only. Set to `true` to also read every category shown in the Page header (for example `Roofing Service`, `Fence & Gate Contractor`, `Deck & Patio Builder`). Adds one request per Page. |
| `includePosts` | `false` | — | Set to `true` to include recent posts. Every returned post costs `$0.002`. |
| `maxPosts` | `5` | 100 | Applies when `includePosts` is true. Each returned post costs `$0.002`. |
| `includeReviews` | `false` | — | Set to `true` to include individual Page reviews. Each returned individual review costs `$0.002`. Aggregate review summaries are returned anyway. |
| `maxReviews` | `5` | 100 | Applies when `includeReviews` is true. A positive value caps returned reviews, including the initial response; `0` keeps only the initial response. Every returned review costs `$0.002`. |
| `includeMentions` | `false` | — | Collect public posts from the Page Mentions tab. Facebook may expose only the two mentions in its initial response and require login for further pages, so fewer than requested may be returned. Each returned mention costs `$0.002`. |
| `maxMentions` | `5` | 100 | Target maximum collected mentions per Page; Facebook may require login after its initial response, which can limit results to two mentions. `0` keeps only the initial response. |
| `includeComments` | `false` | — | Collect public comments on each returned post, mention and review. Each unique comment or reply costs `$0.0015`, charged once per run. |
| `includeReplies` | `false` | — | With comments enabled, collect all publicly available replies, including deeper replies, before the next top-level comment, subject to `maxComments`. Each unique reply costs `$0.0015` under the same comment event. |
| `maxComments` | `5` | 100 | Combined cap on unique comments and replies for **each post, mention or review separately**. Each item gets its own limit; reaching it stops requests for that item and collection continues with the next item. Applies when `includeComments` is true. |
| `includeVideoTranscriptions` | `false` | — | Return existing Facebook caption transcripts for video posts and mentions. Costs an additional `$0.004` per unique video per run with transcript text returned; missing captions are uncharged. Find transcript text inside `posts[].media[].transcript.text` or `mentions[].media[].transcript.text`. |

Comments are processed in sequence: each top-level comment, then its replies, then the next top-level comment. The `maxComments` cap counts both comments and replies within each post, mention or review and can stop a thread before all replies are collected. For example, `maxComments: 5` allows up to 5 comments including replies on each post, plus a separate allowance of 5 for each mention or review.

**Current Mentions limitation:** Currently limited to 2 due to website blocking. The Actor keeps the mentions it can access, but `maxMentions` is a target and may not be reached.

Comment enrichment gets one Page-wide budget calculated from the enabled feed limits and the per-item `maxComments` cap.

#### Page search

Page discovery uses DuckDuckGo web search to find indexed public Facebook Pages. Each `searchKeywords` entry is sent as a search phrase, so you can use a word, a phrase, a hashtag such as `#CrueltyFreeBeauty`, or a phrase with a location such as `independent beauty shops in London`. Add one search term or phrase per entry; entries are searched separately. A hashtag is treated as ordinary search text for finding Pages; it does not find posts that use the hashtag. This feature discovers Pages only, not posts or groups. Results depend on what DuckDuckGo has indexed and can differ from Facebook’s logged-in search.

For example, `{"startUrls": [{"url": "https://www.facebook.com/sephora/"}], "searchKeywords": ["Sephora UK"], "maxPagesPerSearch": 5}` scrapes the submitted Sephora Page **and** Pages discovered by the phrase. Search-only runs can omit `startUrls`. At least one URL or search phrase is required. Identical URLs and resolved Page IDs are deduplicated. The same collection options apply to discovered Pages, including optional posts and comments.

### Supported URLs

You can supply:

| Format | Example |
|---|---|
| Page URL | `https://www.facebook.com/sephora/` |
| Shared video post | `https://www.facebook.com/share/v/19pUubawnC/`, `https://www.facebook.com/NASASCaN/videos/how-nasa-uses-gravity-and-radio-waves-to-study-planets-and-moons/8368792419872400/`|
| Direct Reel post | `https://www.facebook.com/reel/1116929597412801/` |
| Page post | `https://www.facebook.com/sephora/posts/123456789012345` |
| Story permalink | `https://www.facebook.com/story.php?story_fbid=123456789&id=100012345678901` |
| Handle | `sephora` or `@sephora` |
| Numeric Page URL | `https://www.facebook.com/61572771912383/` |
| Profile-style business Page URL | `https://www.facebook.com/profile.php?id=100057306587996` |
| Named numeric Page URL | `https://www.facebook.com/people/Total-Aluminum/100057306587996/` |
| Legacy Page URL | `https://www.facebook.com/pages/Example/123456789/` |
| Mobile or web variant | `https://m.facebook.com/sephora/` or `https://web.facebook.com/sephora/` |
| About section | `https://www.facebook.com/sephora/about/` |

**Reels:** Supply a direct `https://www.facebook.com/reel/{id}/` URL in `startUrls`, just like a video or post URL. The Actor returns the requested Reel in `posts[]`, including video media, and also scrapes its author Page when accessible. With `includeVideoTranscriptions: true`, existing Facebook captions appear at `posts[].media[].transcript.text` when available.

**Shortened and share links:** `fb.com`, `fb.me`, and Facebook `/share/…` links are accepted. Duplicate normalized inputs are requested once. Expired, restricted, or unsupported Page destinations retain a record with empty Page fields and an `error` reason.

Groups and events are outside this Actor's scope.

In Scope: Individual `/share/v/`, `/reel/{id}/`, `/Page/posts/{id}`, `/Page/videos/{id}`, `/Page/videos/{slug}/{id}`, `/watch/?v=...`, `permalink.php`, and `story.php?story_fbid=...&id=...` links return the target post and also scrape its author Page when that Page can be resolved. For these links, the Posts view contains the requested post rather than the Page's recent timeline. A post-only result is retained if Facebook does not expose a usable author Page. Share links that resolve directly to a Page scrape that Page. Coverage of individual live share links can vary.

### Pages that cannot be read

Every submitted URL returns a record. When a Page cannot be read, its record has empty Page fields plus:

| Field | Values | Meaning |
|---|---|---|
| `error` | `not_available` | Facebook reports the Page is removed, private or otherwise unavailable ("This content isn't available"). Retrying will not help. |
| | `scrape-failed` | The Page could not be loaded in this run, for example after repeated login prompts. Worth retrying later. |
| `errorDescription` | text | A short human-readable explanation. |

Unreadable Pages are never charged.

### Output Example

For the page `https://www.facebook.com/sephora/`. This example shows the shape of the combined output; available fields and counts vary by Page. The comments and replies are illustrative examples of their output structure. The Sephora totals `postsCount: 12480` and `reviewsCount: 1800` are invented examples, not verified Facebook counts.

```json
{
  "facebookUrl": "https://www.facebook.com/sephora/",
  "title": "Sephora",
  "intro": "We Belong to Something Beautiful",
  "followers": 20327149,
  "likes": null,
  "profilePictureUrl": "https://scontent-hou1-1.xx.fbcdn.net/v/t39.30808-1/381282579_704373568400723_2885391558635350821_n.jpg?stp=dst-jpg_tt6&cstp=mx180x180&ctp=s180x180&_nc_cat=1&ccb=1-7&_nc_sid=3ab345&_nc_ohc=WRppqtK1d9IQ7kNvwHJb8_c&_nc_oc=AdpXMgaeiVhtVEsfqMp3DFuviZucpd3Qi568PAAzllqpG6iHV5vJoejgnpyVQe7UGzb64PG3IeSX5I_hr4LxMt1m&_nc_zt=24&_nc_ht=scontent-hou1-1.xx&_nc_gid=RiFozmdsQK3bJWeTP0OQTQ&_nc_ss=79289&oh=00_AQN2khbc8U3R4_MEU9K2SPW9YPBDN6IpiNU6F0L9MGi0Mw&oe=6AD5BE7C",
  "email": null,
  "phone": "(877) 737-4672",
  "website": "https://sephora.app.link/homepage",
  "address": null,
  "categories": [
    "Health/beauty"
  ],
  "aboutMe": "We Belong to Something Beautiful",
  "coverPhotoUrl": "https://scontent-hou1-1.xx.fbcdn.net/v/t39.30808-6/481205189_1087359840102092_4596668019554082682_n.jpg?stp=dst-jpg_tt6&cstp=mx1640x624&ctp=s960x960&_nc_cat=103&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=43Dnpwbv_wcQ7kNvwEOKQuQ&_nc_oc=AdqKy3v7h2n5P6sQyJ4QJY_E9wLdAFWpqxj5HwbixJcROWC3UkIoNSm0zPGoR8VQq_esCqfHV0lO0n6kF-gVZIbU&_nc_zt=23&_nc_ht=scontent-hou1-1.xx&_nc_gid=w9g6_-fuJuhX4QK1sS6ufg&_nc_ss=79289&oh=00_AQN8LvbdBmeipWamy-L3IIckjyUhmsuGVJhpj2INi_xiLg&oe=6AD5C52D",
  "following": null,
  "ratings": "38% recommend (1,800 reviews)",
  "ratingCount": 1800,
  "recommendationPercent": 38,
  "addressUrl": null,
  "coordinates": null,
  "businessPrice": null,
  "businessHours": null,
  "services": [],
  "creationDate": "June 10, 2008",
  "adStatus": "This Page is currently running ads.",
  "runningAds": true,
  "confirmedOwner": "SEPHORA USA, INC. is responsible for this Page.",
  "isVerified": true,
  "websites": [
    "https://sephora.app.link/homepage"
  ],
  "instagram": [],
  "threads": [],
  "x": [],
  "youtube": [],
  "tiktok": [],
  "info": [],
  "additionalProperties": {},
  "serviceAreas": [],
  "languages": [],
  "whatsapp": null,
  "transparencyId": "16453004404",
  "pageAdLibrary": {
    "id": "16453004404",
    "isBusinessPageActive": false
  },
  "checkins": null,
  "mentionsCount": 67257,
  "postsCount": 12480,
  "reviewsCount": 1800,
  "posts": [
    {
      "postId": "1787097170128352",
      "text": "Of course Khloé Kardashian was first in line 😌 Khloé Kardashian Fragrances are now available in stores.",
      "timestamp": "2026-10-13T19:46:43+00:00",
      "url": "https://www.facebook.com/reel/1143546298041607/",
      "reactionsCount": 463,
      "commentsCount": 30,
      "sharesCount": 15,
      "reactions": {
        "like": 372,
        "love": 57,
        "haha": 30,
        "sad": 2,
        "wow": 1,
        "angry": 1
      },
      "isSponsored": false,
      "postType": "reel",
      "commentsStatus": "complete",
      "comments": [
        {
          "commentId": "29215461834713679",
          "text": "This is such a beautiful look!",
          "timestamp": "2026-10-14T19:35:12+00:00",
          "url": "https://www.facebook.com/1787097170128352/",
          "authorId": "112233445566778",
          "authorName": "Alex Example",
          "authorUrl": "https://www.facebook.com/alex.example/",
          "reactionsCount": 3,
          "mediaUrls": [],
          "repliesStatus": "complete",
          "replies": [
            {
              "commentId": "29215461834713680",
              "text": "Agreed!",
              "timestamp": "2026-10-14T19:40:03+00:00",
              "url": "https://www.facebook.com/1787097170128352/",
              "authorId": "887766554433221",
              "authorName": "Jordan Example",
              "authorUrl": "https://www.facebook.com/jordan.example/",
              "reactionsCount": 1,
              "mediaUrls": [],
              "parentCommentId": "29215461834713679",
              "replies": [],
              "repliesStatus": "complete"
            }
          ]
        },
        {
          "commentId": "29215461834713681",
          "text": "Love this fragrance.",
          "timestamp": "2026-10-14T19:42:26+00:00",
          "url": "https://www.facebook.com/1787097170128352/",
          "authorId": "998877665544332",
          "authorName": "Taylor Example",
          "authorUrl": "https://www.facebook.com/taylor.example/",
          "reactionsCount": 2,
          "mediaUrls": [],
          "repliesStatus": "complete",
          "replies": []
        }
      ],
      "media": [
        {
          "type": "video",
          "id": "1143546298041607",
          "url": "https://video-lga3-2.xx.fbcdn.net/o1/v/t2/f2/m366/AQMnVj6QbpAh1gOPSUi6fIU7702O30yciE9lXCgwSpftJ0wqF3tn_8YAL0KXBFJUA52cP0t_ykQuBIVtIbv8BvI9aLTFXCJa067RZL74sibseA.mp4?_nc_cat=101&_nc_sid=5e9851&_nc_ht=video-lga3-2.xx.fbcdn.net&_nc_ohc=RYn2oqSDC0YQ7kNvwHA6f9T&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5GQUNFQk9PSy4uQzMuNzIwLmRhc2hfaDI2NC1iYXNpYy1nZW4yXzcyMHAiLCJ4cHZfYXNzZXRfaWQiOjE4Mjg5Nzc2NDUwMTM1NTcsImFzc2V0X2FnZV9kYXlzIjoyLCJ2aV91c2VjYXNlX2lkIjoxMDEyMiwiZHVyYXRpb25fcyI6NzEsInVybGdlbl9zb3VyY2UiOiJ3d3cifQ%3D%3D&ccb=17-1&vs=a275f544225fdd09&_nc_vs=HBksFQIYRWZiX2VwaGVtZXJhbC80MEZCRUY2RjVERDE0NDdBQUUzMzQ3MzBCMTJBRDhBNl9tdF8xX3ZpZGVvX2Rhc2hpbml0Lm1wNBUAAsgBEgAVAhhAZmJfcGVybWFuZW50LzlBN0E3RDQzQzMxMzRBN0Q5OEVBQzdENzdEQUM2Q0Y3X2F1ZGlvX2Rhc2hpbml0Lm1wNBUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACbqqKqtwdy_BhUCKAJDMywXQFHO6XjU_fQYGWRhc2hfaDI2NC1iYXNpYy1nZW4yXzcyMHARAHUCZZSeAQA&_nc_gid=MYMhRrFpiKXS5O8Po8f9WA&_nc_ss=79289&_nc_zt=28&oh=00_AQM6ouMY0OG04VWuj1SPGepgpgkmeUMeuHNiE2zA7C78Lg&oe=6AD6F38B&bitrate=2068386&tag=dash_h264-basic-gen2_720p",
          "thumbnailUrl": "https://scontent-lga3-2.xx.fbcdn.net/v/t15.5256-10/847834334_2528554834277865_6147634712658568171_n.jpg?stp=dst-jpg_tt6&cstp=mx1080x1920&ctp=s960x960&_nc_cat=105&ccb=1-7&_nc_sid=be8305&_nc_ohc=ujtBuDLi3wAQ7kNvwERutpR&_nc_oc=Adpjb8SNvCHZZPisJljwLoVqGgQYvEm7fMk92xypojDpCLUEbtz8OwiLp5KjSZfrEW8&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&_nc_gid=MYMhRrFpiKXS5O8Po8f9WA&_nc_ss=79289&oh=00_AQM1qhBbBKx5bDqKoKQTvw689tw0GzrbB3EzuxC8mefS-w&oe=6AD6F2B9",
          "width": 1080,
          "height": 1920,
          "accessibilityCaption": null,
          "durationSeconds": 71.238
        }
      ]
    }
  ],
  "mentions": [
    {
      "postId": "123456789012345",
      "text": "Loved discovering new skincare favourites at Sephora today!",
      "timestamp": "2026-10-12T15:00:00+00:00",
      "url": "https://www.facebook.com/example.author/posts/123456789012345/",
      "reactionsCount": 12,
      "commentsCount": 2,
      "sharesCount": 1,
      "reactions": {
        "like": 10,
        "love": 2
      },
      "isSponsored": false,
      "postType": "text",
      "media": [],
      "authorId": "987654321098765",
      "authorName": "Alex Example",
      "authorUrl": "https://www.facebook.com/example.author/"
    }
  ],
  "reviews": [
    {
      "reviewId": "review-123456789",
      "reviewerName": "Alex Example",
      "text": "Helpful staff and a great selection.",
      "timestamp": "2026-10-12T14:30:00+00:00",
      "recommendationType": "positive",
      "url": "https://www.facebook.com/sephora/reviews/"
    }
  ],
  "comments": [
    {
      "commentId": "29215461834713679",
      "text": "This is such a beautiful look!",
      "timestamp": "2026-10-14T19:35:12+00:00",
      "url": "https://www.facebook.com/1787097170128352/",
      "authorId": "112233445566778",
      "authorName": "Alex Example",
      "authorUrl": "https://www.facebook.com/alex.example/",
      "reactionsCount": 3,
      "mediaUrls": [],
      "sourceType": "post",
      "sourceId": "1787097170128352",
      "sourceUrl": "https://www.facebook.com/reel/1143546298041607/",
      "rootCommentId": "29215461834713679",
      "parentCommentId": null,
      "depth": 0
    },
    {
      "commentId": "29215461834713680",
      "text": "Agreed!",
      "timestamp": "2026-10-14T19:40:03+00:00",
      "url": "https://www.facebook.com/1787097170128352/",
      "authorId": "887766554433221",
      "authorName": "Jordan Example",
      "authorUrl": "https://www.facebook.com/jordan.example/",
      "reactionsCount": 1,
      "mediaUrls": [],
      "sourceType": "post",
      "sourceId": "1787097170128352",
      "sourceUrl": "https://www.facebook.com/reel/1143546298041607/",
      "rootCommentId": "29215461834713679",
      "parentCommentId": "29215461834713679",
      "depth": 1
    },
    {
      "commentId": "29215461834713681",
      "text": "Love this fragrance.",
      "timestamp": "2026-10-14T19:42:26+00:00",
      "url": "https://www.facebook.com/1787097170128352/",
      "authorId": "998877665544332",
      "authorName": "Taylor Example",
      "authorUrl": "https://www.facebook.com/taylor.example/",
      "reactionsCount": 2,
      "mediaUrls": [],
      "sourceType": "post",
      "sourceId": "1787097170128352",
      "sourceUrl": "https://www.facebook.com/reel/1143546298041607/",
      "rootCommentId": "29215461834713681",
      "parentCommentId": null,
      "depth": 0
    }
  ],
  "pageName": "Sephora",
  "category": "Health/beauty",
  "scrapedAt": "2026-10-14T19:34:56.705992+00:00",
  "lastPostAt": "2026-10-12T16:05:41+00:00",
  "inputUrl": "https://www.facebook.com/sephora/",
  "pageId": "100064842576496"
}
```

#### Video transcript example

This excerpt comes from a successful local run of [NASA's video about gravity and radio waves](https://www.facebook.com/NASASCaN/videos/how-nasa-uses-gravity-and-radio-waves-to-study-planets-and-moons/8368792419872400/) with `includeVideoTranscriptions: true`. Other fields are omitted for readability, and the transcript text is shortened below; the run returned 2,614 characters of English captions.

```json
{
  "facebookUrl": "https://www.facebook.com/NASASCaN/",
  "title": "NASA Space Communications and Navigation",
  "posts": [
    {
      "postId": "926719362814289",
      "url": "https://www.facebook.com/NASASCaN/videos/8368792419872400/",
      "postType": "video",
      "media": [
        {
          "type": "video",
          "id": "8368792419872400",
          "durationSeconds": 167.25,
          "transcript": {
            "text": "NASA has dozens of robotic spacecraft\nexploring our solar system and beyond.\n…",
            "language": "en_US",
            "source": "facebook_captions"
          }
        }
      ]
    }
  ]
}
```

Find the transcript in the video's `media` item under `transcript.text` (`posts[].media[].transcript.text`). For mentions, the equivalent path is `mentions[].media[].transcript.text`.

### Fields

| Page or request | Fields observed or likely available |
|---|---|
| **About** (always fetched) | Page identity — `title`, `pageName`, `pageId`, `intro`, `followers`, `profilePictureUrl`, `coverPhotoUrl`, `pageAdLibrary` — plus, on Sephora: `phone`, `website`, `websites`, `categories` (primary), `ratings`, `ratingCount`, `recommendationPercent`, `isVerified`, `email`, `address`, `addressUrl`, `coordinates`, `businessHours`, `businessPrice`, `services`, and social links. One request covers all of these. |
| **Main page** (fetched when posts, `includeAllCategories` or `includeLastPostDate` is requested) | Every header category, the timeline (`posts`, `lastPostAt`), and on some Pages `likes`, `following`, `checkins` and `mentionsCount`. |
| **About Details** (`includeAboutDetails: true`) | `aboutMe` (the longer About text). |
| **Transparency** (`includeTransparency: true`) | `creationDate`, `adStatus`, `runningAds`, `confirmedOwner`, `transparencyId`; `isVerified` |
| **Posts** (`includePosts: true`, defaults off) | Recent posts; additional feed requests depend on `maxPosts`. Can include comments and replies if requested. |
| **Mentions** (`includeMentions: true`, defaults off) | Public mention post fields plus author identity in `mentions`. Can include comments and replies if requested. |
| **Reviews** (`includeReviews: true`, defaults off) | Individual review fields such as `reviewId`, `reviewerName`, `text`, `timestamp`, `recommendationType` and `url`. |

### Pricing — how much does it cost to scrape Facebook Pages?

Pay per event. Prices below are on the Free plan; higher Apify plans get tier discounts (down to $2.25 per 1,000 Pages).

| What you get | Price | Per 1,000 |
|---|---|---|
| Facebook Page (details, contacts, About) | $0.003 | **$3.00** |
| Full About Details text (`includeAboutDetails`) | $0.002 per Page that has it | $2.00 |
| Page transparency (`includeTransparency`) | $0.002 per Page that has it | $2.00 |
| Post, mention or review | $0.002 each | $2.00 |
| Comment or reply | $0.0015 each (once per run) | $1.50 |
| Video transcript | $0.004 per video | $4.00 |
| Run start | $0.02 per GB of memory (default 2 GB) | — |

**Examples:** 1,000 Pages with default settings cost about **$3.04**. A Page with About Details, transparency and 20 posts costs $0.047.

**Never charged:** Pages that are removed, private or fail to load; add-ons that return nothing; `lastPostAt` and `includeAllCategories`.

Set **Maximum cost per run** in the run options (or `maxTotalChargeUsd` in the API) to cap a run; the Actor stops cleanly at that limit and keeps everything already paid for.

### For AI agents (MCP)

Add this Actor to Claude, ChatGPT or any MCP client: `https://mcp.apify.com/?tools=fetchclub/facebook-pages`

- **Minimal call:** `{"startUrls": ["<page url>", ...]}`. Up to 1,000 URLs per run.
- **Each output record** has `inputUrl` (exactly as you sent it). A failed Page has `error`: `not_available` → do not retry; `scrape-failed` → retry later.
- **Run status** says how many Pages were saved.
- **Budget:** about $0.003 per Page; set `maxTotalChargeUsd` to roughly 0.004 × number of Pages + 0.05.

### Switching from another Facebook Pages scraper

- `startUrls` accepts plain strings or `{ "url": ... }` objects, handles (`sephora`, `@sephora`), numeric IDs and `profile.php?id=` links.
- Output uses common field names: `title`, `pageName`, `pageId`, `facebookUrl`, `categories`, `email`, `phone`, `website`, `address`, `followers`, `likes`, `ratingCount`, `intro`.
- Error rows use `error` + `errorDescription`, so existing "skip rows with error" logic keeps working.

### Integrations

Run it from the Apify API or JavaScript/Python clients, schedule it, or send results to Google Sheets, Slack, Make, Zapier and webhooks.

### Comments and replies

Set `includeComments: true` to enrich the posts, mentions and reviews selected by your other inputs. Direct post and Reel URLs are supported too. Set `includeReplies: true` to include nested replies. Comments are omitted when disabled; unavailable threads return an empty `comments` array and `commentsStatus: "unavailable"` while preserving the post or review.

For example, collect up to 10 posts, mentions and reviews, with up to 5 comments per item and 5 replies per comment, but no more than 100 comments and replies combined for the Page:

```json
{
  "startUrls": [{ "url": "https://www.facebook.com/sephora/" }],
  "includePosts": true,
  "includeMentions": true,
  "includeReviews": true,
  "maxPosts": 10,
  "maxMentions": 10,
  "maxReviews": 10,
  "includeComments": true,
  "includeReplies": true,
  "maxComments": 5
}
```

The **Comments** dataset view combines comments and replies from all three collections into individual, unnested rows, which you can view or download separately. It includes `sourceType` (`post`, `mention` or `review`), `sourceId`, `sourceUrl`, `commentId`, `parentCommentId`, `rootCommentId` and `depth`, plus the author, text, timestamp, reactions and media links. A depth of `0` identifies a top-level comment; `1` is a direct reply, and larger values identify deeper replies.

The raw dataset also contains this combined flat list in its top-level `comments` array.

Find comments at `posts[].comments`, `mentions[].comments` and `reviews[].comments`. Replies are nested inside each comment's `replies` array; replies to replies are nested again. Enabling comments does not enable the post, mention or review feeds automatically; use the corresponding input switches. Direct post and Reel inputs select their target post.

Comments contain `commentId`, `text`, `timestamp`, `url`, author details, `reactionsCount` and `mediaUrls`. Text can be null for an attachment-only comment. With replies enabled, each top-level comment also has `replies` and `repliesStatus`; deeper replies retain their `parentCommentId`. Statuses are `complete`, `partial`, `unavailable` or `limit_reached`. Complete means the available connection was exhausted, not that Facebook exposed every historical comment. Reported counts can exceed publicly accessible results.

# Actor input Schema

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

Facebook Page, individual post and Reel URLs or handles. Enter URLs with or without https://, for example facebook.com/meta or meta. Post links return the target post and also scrape its author Page when Facebook exposes it. Supports mobile/web URLs, numeric URLs, profile.php?id=..., /people/Name/ID, /pages/Name/ID, /share/v/, /reel/{id}/, /Page/posts/{id}, /Page/videos/{id}, /watch/?v=..., permalink.php, and story.php?story_fbid=...\&id=... links. Section and tracking suffixes are normalized; duplicates are fetched once. Share links that resolve to a Page scrape that Page. Optional when searchKeywords is provided. When both inputs are supplied, the Actor scrapes the submitted URLs AND Pages discovered by every search phrase. Duplicate Pages are returned once.

## `searchKeywords` (type: `array`):

Search terms or phrases used to discover indexed public Facebook Pages through DuckDuckGo web search. Examples: Sephora UK, #CrueltyFreeBeauty, 'independent beauty shops in London'. Enter one term or phrase per item; each runs separately. Hashtags are accepted as ordinary search text for finding Pages. This discovers Pages only, not posts or groups. Results may be incomplete and differ from Facebook’s logged-in search. Duplicate Pages are returned once. Blocked searches are reported in the run log.

## `maxPagesPerSearch` (type: `integer`):

Maximum unique Facebook Page candidates discovered for each search phrase (1–100). Default 10. Some candidates may be duplicates of other inputs, unavailable, or unconfirmed as Pages, so fewer Page records may be returned. This limit does not apply to startUrls.

## `includeTransparency` (type: `boolean`):

Fetch Page transparency for creation date, ad status, ownership labels and transparency ID when Facebook exposes them. Each Page with returned transparency data costs $0.002. Also returns runningAds (true/false) parsed from the ad status.

## `includeAboutDetails` (type: `boolean`):

Fetch the About Details section for the longer aboutMe text. Each Page with a full About description returned costs $0.002.

## `includePosts` (type: `boolean`):

Fetch Posts. Each post returned is charged at $0.002.

## `includeMentions` (type: `boolean`):

Collect public posts shown in the Page Mentions tab. Facebook may expose only the two mentions in its initial response and require login for further pages, so fewer than requested may be returned. Each returned mention costs $0.002.

## `includeReviews` (type: `boolean`):

Fetch Page reviews in addition to the rating summary fields. Each review returned is charged at $0.002.

## `includeVideoTranscriptions` (type: `boolean`):

Return existing Facebook caption transcripts for videos in posts and mentions. Find the transcript inside each post's media array: for an item with type 'video', open transcript.text. Full output paths: posts\[].media\[].transcript.text and mentionPosts\[].media\[].transcript.text. The transcript field appears only when captions are successfully collected. Costs $0.004 per unique video per run with transcript text returned, in addition to the post or mention fee. Missing captions are not charged. No audio/video download or AI transcription.

## `includeComments` (type: `boolean`):

Collect public comments on returned posts, mentions and reviews, including direct post/Reel inputs. Adds requests and proxy traffic. Disabled by default. Unavailable threads do not stop other results. Each unique returned comment or reply costs $0.0015, once per run across posts, mentions and reviews.

## `includeReplies` (type: `boolean`):

With Include Comments enabled, collect all publicly available replies, including replies to replies, for each top-level comment before continuing to the next comment. The maxComments per post, mention or review cap still applies and can stop a thread early. Each unique returned reply costs $0.0015.

## `maxPosts` (type: `integer`):

Each returned post costs $0.002.

## `maxMentions` (type: `integer`):

Target maximum mention posts per Page when includeMentions is true. Facebook may require login after its initial response, which can limit results to two mentions. Zero returns only the initial Mentions response. Each returned mention costs $0.002.

## `maxReviews` (type: `integer`):

Maximum returned reviews per Page when includeReviews is true, including the initial response. Zero keeps only the initial response. Each returned review costs $0.002.

## `maxComments` (type: `integer`):

Maximum unique comments including replies for EACH returned post, mention or review separately. Each item gets its own limit. Each top-level comment is followed by its replies before the next comment. Collection stops at this item’s cap, even within a reply thread, then continues with the next item. Applies when Include Comments is enabled.

## `includeLastPostDate` (type: `boolean`):

Return lastPostAt: the newest of the first 3 timeline posts (so a pinned post cannot hide recent activity). Adds the overview request and up to one feed request per Page; posts themselves are not returned or charged.

## `includeAllCategories` (type: `boolean`):

The About tab lists only the primary category. Enable to also fetch the overview for every category shown in the Page header (one extra request per Page).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/meta"
    }
  ],
  "searchKeywords": [],
  "maxPagesPerSearch": 10,
  "includeTransparency": false,
  "includeAboutDetails": false,
  "includePosts": false,
  "includeMentions": false,
  "includeReviews": false,
  "includeVideoTranscriptions": false,
  "includeComments": false,
  "includeReplies": false,
  "maxPosts": 5,
  "maxMentions": 5,
  "maxReviews": 5,
  "maxComments": 5,
  "includeLastPostDate": false,
  "includeAllCategories": false
}
```

# Actor output Schema

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

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("fetchclub/facebook-pages").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/meta" }] }

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

```

## MCP server setup

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

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/JN8fZ7TRnblZqtpJ5/builds/W0PKzfhmFDIxNSXkv/openapi.json
