Facebook Page Scraper avatar

Facebook Page Scraper

Pricing

from $10.00 / 1,000 page scrapeds

Go to Apify Store
Facebook Page Scraper

Facebook Page Scraper

Scrape public Facebook page/profile URLs into clean page profile records plus optional recent post records. Extracts names, categories, contacts, websites, followers, likes, ratings, ad status, post text, timestamps, engagement counts, media, and links. No login required. MCP-ready.

Pricing

from $10.00 / 1,000 page scrapeds

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Scrape public Facebook page/profile URLs into clean JSON records. The actor returns one page record per source and, when enabled, recent post records from that page.

It is built for lead enrichment, brand monitoring, competitor tracking, social listening, and AI-agent workflows that need structured public Facebook page data without managing browser sessions or cookies.

What it extracts

Page records can include:

  • pageUrl, pageId, pageName, and username
  • category, intro, and about
  • website, email, phone, and address
  • rating, ratingCount, likeCount, and followerCount
  • priceRange, services, creationDate, and businessHours
  • profilePictureUrl, coverPhotoUrl, and ad-library status

Post records can include:

  • postUrl and postId
  • pageName, pageUrl, authorName, and authorUrl
  • text
  • timestamp and timestampText
  • reactionsCount, commentsCount, and sharesCount
  • media
  • externalLinks
  • scrapeSource
  • scrapedAt

Provider mode uses public-data APIs when owner API keys are configured. HTML fallback uses mobile/basic Facebook pages when provider data is unavailable. Facebook can still hide, delete, age-gate, or login-gate content; those sources are reported in the OUTPUT summary instead of hard-failing the run.

Input

{
"startUrls": [
{ "url": "https://www.facebook.com/NASA" },
{ "url": "https://www.facebook.com/meta" }
],
"resultsLimit": 100,
"includePosts": true,
"maxPostsPerPage": 25,
"getBusinessHours": false,
"fallbackProvider": "auto",
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": ["RESIDENTIAL"]
}
}

Output examples

Page record:

{
"recordType": "page",
"sourceUrl": "https://www.facebook.com/NASA",
"pageUrl": "https://www.facebook.com/NASA",
"pageId": "12345",
"pageName": "NASA",
"username": "NASA",
"category": "Government organization",
"website": "https://www.nasa.gov/",
"email": "public-info@nasa.gov",
"followerCount": 27000000,
"likeCount": 25000000,
"isRunningAds": false,
"scrapeSource": "scrapecreators",
"scrapedAt": "2026-06-10T00:00:00.000Z"
}

Post record:

{
"recordType": "post",
"sourceUrl": "https://www.facebook.com/NASA",
"pageUrl": "https://www.facebook.com/NASA",
"pageName": "NASA",
"postUrl": "https://www.facebook.com/NASA/posts/123456789",
"postId": "123456789",
"text": "A new image from space...",
"timestamp": "2026-06-01T00:00:00.000Z",
"reactionsCount": 1200,
"commentsCount": 34,
"sharesCount": 5,
"media": ["https://scontent.xx.fbcdn.net/image.jpg"],
"externalLinks": ["https://www.nasa.gov/"],
"scrapeSource": "scrapecreators",
"scrapedAt": "2026-06-10T00:00:00.000Z"
}

Notes

  • Public data only. Private pages, deleted pages, age-gated pages, and login-only posts may not return results.
  • Provider mode is optional. Set SCRAPECREATORS_API_KEY, SOCIAVAULT_API_KEY, or SOCIALVAULT_API_KEY in the actor environment and keep fallbackProvider as auto to use public-data APIs.
  • HTML fallback uses Residential Apify Proxy by default because Facebook often blocks datacenter IPs.
  • Date filters apply to post records only. Page records are always emitted when a page can be extracted.
  • includeRawHtml is for debugging only and increases dataset size.

Pricing

Pay-per-event configuration:

  • apify-actor-start: $0.00005
  • page-scraped: $0.01 per page/profile record
  • post-scraped: $0.0035 per post record

resultsLimit and maxPostsPerPage are the primary user-facing cost caps.

Local development

npm install
npm test
apify run --input='{"startUrls":[{"url":"https://www.facebook.com/NASA"}],"resultsLimit":10,"includePosts":true,"maxPostsPerPage":3}'