Facebook Pages Scraper: Pages, Posts & Comments
The Facebook Pages Scraper reads public Facebook Pages without logging in and returns three row types: page rows with category, verified flag, followers and talking-about counts, post rows with text, time, reactions, comments, shares and media, and comment rows from single post links. Posts cost $1.00 per 1,000, pages $2.00 per 1,000 and comments $0.50 per 1,000, with no start fee. Run it from Apify Console or the API.
from $0.001 per post, $1.00 per 1,000 · Updated Nov 2026, version 0.1.13
Key facts
- Price
- from $0.001 per post, $1.00 per 1,000
- Pricing model
- Pay per event
- Output
- JSON, CSV, Excel, XML, RSS via Apify datasets
- Access
- Apify Console, REST API, Python and JS clients, MCP tool facebook_pages
- Version
- Updated Nov 2026, version 0.1.13
- Usage
- 95.7% successful runs (30 days)
- Actor
subimpact/facebook-pages-scraper
Who it is for
- Social media managers benchmarking competitor page output
- PR and comms teams tracking reactions on public announcements
- Analysts measuring follower and engagement trends for public bodies
- Researchers collecting public post text and comment threads
Use cases
Benchmark competitor posting cadence
Add the pages you track to pageUrls, for example https://www.facebook.com/NASA, and set maxPostsPerPage to 20. Each post row carries createdAt and mediaType, so you can chart how often a page posts and whether it favours video, photo, link or text. The page row adds followers and talkingAbout for a size baseline.
Measure reactions per announcement
Post rows carry reactions, comments, shares and, for video posts, videoViews. Pull the same post link at two points, or run a page daily with a schedule, and compare reaction totals to see which announcements carry. text keeps line breaks and emoji, so quotes stay usable in a report without cleaning.
Read visible comments on one post
Pass a permalink to postUrls and set includeComments to true, with maxCommentsPerPost at 20. Each comment row gives authorName, text, createdAt and its own reactions, plus commentId. Because comments are billed separately at $0.50 per 1,000, comment analysis can run on its own without paying for post rows you already have.
Audit a page's public profile data
Set maxPostsPerPage to 0 to pay for the page row alone. That row carries pageName, pageId, category, verified, followers, about text and profilePictureUrl, which is enough for a directory, a category audit or a follower ranking across many pages in one run. Only pages that resolve are charged.
Harvest media for monitoring dashboards
imageUrls holds one URL per photo, or the video poster frame, and linkUrl gives the destination of a link preview. mediaType tells you which. Facebook does not serve direct video files to logged out requests, so videoUrl is usually null while videoViews still gives reach. Pair imageUrls with postUrl for a visual feed of public pages.
Output fields
| Field | Type | Description |
|---|---|---|
rowType | string | page for a page row, post for a post row, comment for a visible comment row |
pageName | string/null | Page display name, e.g. NASA - National Aeronautics and Space Administration (page and post rows) |
pageId | string/null | Numeric Facebook page id, e.g. 100044561550831 (page and post rows) |
pageUrl | string/null | https://www.facebook.com/NASA (page rows) |
category | string/null | Page category as facebook.com lists it, e.g. Government organization (page rows) |
verified | boolean/null | True when the page carries the verified badge (page rows) |
followers | integer/null | Follower count from the page description (page rows) |
talkingAbout | integer/null | People talking about this count from the page description (page rows) |
wereHere | integer/null | Were here count from the page description, null when the page does not publish one (page rows) |
about | string/null | The page description text after the counts, line breaks kept (page rows) |
profilePictureUrl | string/null | Profile picture facebook.com serves to crawlers (page rows) |
postsInPage | integer/null | How many unique posts the page carried before maxPostsPerPage was applied (page rows) |
Show all 32 fields
| Field | Type | Description |
|---|---|---|
postId | string/null | Facebook post id, e.g. 1670177711144265 (post rows) |
postUrl | string/null | Permalink of the post, e.g. https://www.facebook.com/NASA/posts/pfbid... or /videos/<id>/ (post and comment rows) |
commentId | string/null | Facebook comment id as the page encodes it (comment rows) |
authorName | string/null | Display name of the comment author (comment rows) |
text | string/null | Post or comment text as plain text, line breaks and emoji kept (post and comment rows) |
createdAt | string/null | Publication time built from creation_time, ISO 8601 UTC (post and comment rows) |
reactions | integer/null | Reaction count the page shows (post and comment rows) |
comments | integer/null | Comment count the post page shows, which can be higher than the comments delivered (post rows) |
shares | integer/null | Share count the page shows (post rows) |
videoViews | integer/null | Video view count, null when the post is not a video or the page does not publish one (post rows) |
mediaType | string/null | photo, video, link or text (post rows) |
imageUrls | array/null | One URL per photo, or the video poster frame, empty when the post has no image (post rows) |
videoUrl | string/null | Direct video file URL, null when facebook.com serves none to logged out requests (post rows) |
linkUrl | string/null | Destination of the post link preview, null when the post has none (post rows) |
sourcePage | string/null | Page URL whose page produced this row (post rows) |
sourcePostUrl | string/null | Post URL the input asked for, for rows from postUrls (post rows) |
status | string | ok, not_found_or_login_wall, error or skipped. Only ok rows are charged |
error | string/null | Why the row carries no data, null on ok rows |
inputValue | string/null | The page or link the buyer supplied for this row (page rows, and post rows for an unreadable input entry) |
scrapedAt | string | When this row was scraped, ISO 8601 UTC |
Sample output
From one of our own test runs on 20 Nov 2026, trimmed. Personal data is redacted.
2 rows, first 3 shown
[
{
"rowType": "page",
"pageName": "CNN",
"pageId": "100059479812265",
"pageUrl": "https://www.facebook.com/cnn",
"category": "Media/news company",
"verified": true,
"followers": 44077936,
"talkingAbout": 2869362,
"wereHere": null,
"about": "Instant breaking news alerts and the most talked about stories.",
"profilePictureUrl": "https://lookaside.fbsbx.com/lookaside/crawler/media/?media_id=100059479812265",
"postsInPage": 20,
"status": "ok",
"error": null,
"inputValue": "https://www.facebook.com/cnn",
"scrapedAt": "2026-11-20T03:55:41.972Z"
},
{
"rowType": "page",
"pageName": "BBC News",
"pageId": "100064620046507",
"pageUrl": "https://www.facebook.com/bbcnews",
"category": "Media/news company",
"verified": true,
"followers": 62103583,
"talkingAbout": 849321,
"wereHere": 9266,
"about": "BBC News is recognised by audiences around the world as a provider of news that you can trust.",
"profilePictureUrl": "https://lookaside.fbsbx.com/lookaside/crawler/media/?media_id=100064620046507",
"postsInPage": 20,
"status": "ok",
"error": null,
"inputValue": "https://www.facebook.com/bbcnews",
"scrapedAt": "2026-11-20T03:55:41.972Z"
}
]Input
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
pageUrls | array | No | Public Facebook Pages to read. Any of these forms works: NASA, @NASA, https://www.facebook.com/NASA, a page tab link such as https://www.facebook.com/NASA/about (read as the page itself), https://www.facebook.com/profile.php?id=100044561... | - |
postUrls | array | No | Facebook post, video, reel or photo permalinks such as https://www.facebook.com/NASA/posts/, https://www.facebook.com/NASA/videos/, /reel/ or https://www.facebook.com/photo/?fbid=. A page link pasted here is read as the page. Each link g... | - |
maxPostsPerPage | integer | No | How many of a page's latest posts to deliver (0 to 50). 0 delivers the page row only. facebook.com serves about 20 posts per page with no deeper pagination, so asking for more does not fetch older posts. | 20 |
includeComments | boolean | No | For each single post link, also deliver the comments that the post page shows. Comments are charged as comment rows. Only the comments facebook.com renders are available; there are no further comment pages. | true |
maxCommentsPerPost | integer | No | How many visible comments to keep for each single post link (0 to 100). 0 turns comments off without changing Include comments. | 20 |
maxItems | integer | No | Hard cap on charged rows in one run: page rows plus post and comment rows (1 to 10000). The run stops cleanly when the cap is reached. | 200 |
proxyConfiguration | object | No | Apify datacenter proxy is the default. If facebook.com answers a page with its login page, the actor retries it on fresh sessions and then once through the RESIDENTIAL proxy, unless you pick your own proxy groups here. A proxy failure fa... | {"useApifyProxy":true} |
Example input
{
"pageUrls": [
"https://www.facebook.com/NASA",
"https://www.facebook.com/bbcnews"
],
"maxPostsPerPage": 20,
"includeComments": true,
"maxCommentsPerPost": 20,
"maxItems": 200,
"proxyConfiguration": {
"useApifyProxy": true
}
}Pricing
| Event | What it means | Price | Lowest tier |
|---|---|---|---|
post | One public Facebook post with text, time, reactions, comments, shares and media. Charged only after the row is delivered. | $0.001 | $0.001 |
comment | One visible comment from a public post page (author, text, time, reactions). | $0.0005 | $0.0005 |
page | One public Facebook Page with exact followers, talking about, were here, category and about text. Not found and login-walled pages are free. | $0.002 | $0.002 |
$1.00 for 1,000 posts at the listed price.
Prices from the Apify Store on 20 November 2026. Apify shows the final price before each run.
How it compares with other Apify actors
Price per 1,000 posts at Apify Store list prices. Every row is a live listing on the Store, read on 20 Nov 2026, so a buyer can check each number at the source.
| Actor | Price per 1,000 posts (Free plan) | Higher plans (Gold) | Start fee per run | Platform usage | Users | Rating | Last build |
|---|---|---|---|---|---|---|---|
| Facebook Pages Scraper: Posts, Pages & Comments This API | $1.00 | $1.00 | None | Included | 17 | No reviews yet | 20 Nov 2026 |
| Facebook Posts Scraper | $5.00 | $2.00 | $0.001 | Included | 144,982 | 4.7 (236 reviews) | 16 Nov 2026 |
| Facebook Pages Scraper | $12.00 | $5.40 | None | Included | 77,973 | 4.7 (56 reviews) | 16 Nov 2026 |
| Facebook Comments Scraper | $2.50 | $1.40 | $0.001 | Included | 74,087 | 4.8 (89 reviews) | 16 Nov 2026 |
| Facebook posts scraper - Group, Page, Search | $1.50 | $1.00 | $0.005 | Included | 3,731 | 3.1 (12 reviews) | 6 Nov 2026 |
Where Facebook Posts Scraper is stronger
Where Facebook Posts Scraper is stronger
- Larger user base and a long review history on the Apify Store
- Per-reaction breakdowns, video transcripts and shared post details
- Optional date filters on published posts
Where this API is stronger
- Comments are available in the same run, priced per comment
- Page profile rows with follower and about fields come from the same actor
- No actor start fee before the first post is delivered
Where Facebook Pages Scraper is stronger
Where Facebook Pages Scraper is stronger
- Contact fields such as email, phone, address and messenger on each page
- Ad running status, rating and price range alongside the page profile
- Also works as a Standby endpoint for single page lookups
Where this API is stronger
- Latest posts, comments and engagement counts in the same dataset
- Post and comment rows are the unit you pay for, so wide page pulls stay proportionate
- No cookies and no browser needed
Where Facebook Comments Scraper is stronger
Where Facebook Comments Scraper is stronger
- Commenter profile fields, threading depth and reply links per row
- Modes for pulling comments across many posts in one run
Where this API is stronger
- Page profile and post rows in the same run as the comments
- One dataset schema covers pages, posts and comments
- No actor start fee before the first row is delivered
Where Facebook posts scraper - Group, Page, Search is stronger
Where Facebook posts scraper - Group, Page, Search is stronger
- Also covers group posts and search result pages
- Output format options and cursors for resuming a run
- Optional scraping of all photos attached to posts
Where this API is stronger
- Works without cookies, so no account session to maintain
- Page profiles with follower counts from the same actor
- Sort and date controls stay simple: newest posts first, capped per page
Facebook page data is served by several Store actors with different units. The Apify posts scraper is the best known and the pages scraper is strongest on page contact details, while the comments scraper goes deeper on threads. Ours fits buyers who want page info, recent posts and comments from one actor with no cookies, paid per post with no start fee.
Prices are Apify Store list prices, checked 20 Nov 2026. Platform usage 'Paid separately' means Apify bills compute on top of the event price. Check each listing before you buy.
How to run it
- Open the actor and list your pages in pageUrls, as NASA, @NASA or a full page link. The prefill reads NASA and bbcnews.
- Set maxPostsPerPage, for example 20, and maxItems to cap the charged rows, for example 200.
- For a single post and its comments, paste the permalink into postUrls, set includeComments true and maxCommentsPerPost to 20.
- Run the actor. A page row arrives first, then one row per post, then one row per comment, each with status and scrapedAt.
- Filter or export the dataset as JSON, CSV or Excel from Apify Console, or read it through the Apify API.
cURL
curl -X POST "https://api.apify.com/v2/acts/subimpact~facebook-pages-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"pageUrls":["https://www.facebook.com/NASA","https://www.facebook.com/bbcnews"],"maxPostsPerPage":20,"includeComments":true,"maxCommentsPerPost":20,"maxItems":200,"proxyConfiguration":{"useApifyProxy":true}}'Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("subimpact/facebook-pages-scraper").call(run_input={"pageUrls":["https://www.facebook.com/NASA","https://www.facebook.com/bbcnews"],"maxPostsPerPage":20,"includeComments":true,"maxCommentsPerPost":20,"maxItems":200,"proxyConfiguration":{"useApifyProxy":true}})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
print(item)JavaScript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('subimpact/facebook-pages-scraper').call({"pageUrls":["https://www.facebook.com/NASA","https://www.facebook.com/bbcnews"],"maxPostsPerPage":20,"includeComments":true,"maxCommentsPerPost":20,"maxItems":200,"proxyConfiguration":{"useApifyProxy":true}});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);MCP
claude mcp add subimpact-data -e APIFY_TOKEN=<YOUR_APIFY_TOKEN> -- npx -y @subimpact/data-mcp
# Then ask your agent to use the facebook_pages tool.n8n
Use the Apify node (Run an Actor).
Actor ID: subimpact/facebook-pages-scraper
Input JSON: paste the example input above.
MCP users: @subimpact/data-mcp exposes these actors as tools, so an agent can call facebook_pages directly.
Limits
- Only about 20 latest posts per page are available, with no deeper pagination.
- Public Pages only: no personal profiles, groups or Marketplace listings.
- Comment rows exist only for single post links, and only for the comments the page renders.
- Follower, talking-about and were-here counts are null on pages served in a non-English interface.
Questions people ask
How much does a run cost?
Posts cost $1.00 per 1,000, pages $2.00 per 1,000 and comments $0.50 per 1,000, with no start fee and platform usage included. A default run of two pages with 20 posts each comes to a few cents. Rows returned as not_found_or_login_wall or error are not charged.
Do I need Facebook cookies or a login?
No. The actor makes plain HTTP requests to facebook.com as a logged out visitor, so there are no cookies, no account and no browser. That also sets the ceiling: private pages, groups and personal profiles are out of reach, and only what facebook.com shows to a logged out visitor comes back.
How many posts can I get from one page?
About 20, which is what facebook.com serves to a logged out request. maxPostsPerPage accepts 0 to 50, but asking for more does not fetch older posts, because there is no deeper pagination. Set it to 0 when you only want the page row and its follower counts.
Why is videoUrl null on video posts?
Facebook does not serve a direct video file to logged out requests. Video posts still carry a poster frame in imageUrls and a view count in videoViews, so you can identify and rank video content even without the file itself.
Are all comments on a post returned?
No. Only the comments the post page renders are available, and only when you pass a single post link in postUrls. There are no further comment pages. The post row's comments count comes from the page and can be higher than the number of comment rows delivered.
What happens when a page is login gated?
The row comes back with status not_found_or_login_wall and is free. On the default proxy the actor first retries on fresh sessions and then once through a residential proxy, because facebook.com sometimes refuses datacenter IPs for real public pages. The error column says which case applied.
Can I read a page whose language is not English?
The page, post and comment rows work in any language. The follower, talking-about and were-here counts are parsed from the English page description, so on pages served in another language those three counts stay null rather than being guessed.
Need a data source that is not here?
We build and run scrapers for sites that have no public API. Tell us the site, the fields and how often you need them.