All-in-One Facebook Scraper
Pricing
from $1.35 / 1,000 posts
All-in-One Facebook Scraper
Extract data from Facebook pages, posts, events, groups, search, reviews & comments. 40% cheaper than competitors. HTTP-only, no browser needed. 256MB memory. Export to JSON, CSV, Excel. No proxy costs. 7 scraping modes in one actor.
Pricing
from $1.35 / 1,000 posts
Rating
0.0
(0)
Developer
Japi Cricket
Actor stats
0
Bookmarked
5
Total users
4
Monthly active users
2 days ago
Last modified
Categories
Share
The most complete Facebook scraper and Facebook data extractor on Apify. Extract data from Facebook Pages, Posts, Events, Groups, Marketplace, Reviews, Comments, Search, Reels, and Ads — all in a single actor. No browser needed, zero proxy costs, runs on just 256 MB of memory.
Use it as a powerful Facebook API alternative to scrape Facebook posts, extract Facebook page data, scrape Facebook Marketplace listings, scrape Facebook Reels, extract Meta Ad Library data, and build lead lists — all without registering for API access or dealing with rate limits.
🚀 Key Features
- 10 scraping modes in one actor — pages, posts, events, groups, search, reviews, comments, marketplace, reels, ads
- HTTP-only architecture — no Playwright, no browser overhead, runs on just 256 MB
- Zero proxy costs — pages, posts, and events work without proxies
- Pay per result — only pay for data you actually receive
- Up to 500 results per input — configurable via
resultsPerPage - GraphQL pagination — authenticated modes tap into Facebook's internal API for deep extraction
- Cookie caching — login sessions persist across runs for seamless multi-run workflows
- Structured JSON output — clean, typed fields ready for spreadsheets, databases, or integrations
- 40% cheaper than competing Facebook scrapers on Apify Store
💰 Pricing
Pay-per-result pricing based on scrape mode. No platform fees beyond Apify compute.
| Mode | What you get | Free | Starter | Scale | Business |
|---|---|---|---|---|---|
| Pages Scraper | Page info, likes, category, verified status | $7.20/1K | $5.40/1K | $4.32/1K | $3.24/1K |
| Posts Scraper | Post text + engagement metrics | $3.00/1K | $2.25/1K | $1.80/1K | $1.35/1K |
| Events Scraper | Event name, date, location, RSVP counts | $7.80/1K | $5.85/1K | $4.68/1K | $3.51/1K |
| Groups Scraper | Group posts with engagement metrics | $3.00/1K | $2.25/1K | $1.80/1K | $1.35/1K |
| Search Scraper | Find pages by keyword | $7.20/1K | $5.40/1K | $4.32/1K | $3.24/1K |
| Reviews Scraper | Page reviews and ratings | $1.50/1K | $1.13/1K | $0.90/1K | $0.68/1K |
| Comments Scraper | Post comments with author info | $1.50/1K | $1.13/1K | $0.90/1K | $0.68/1K |
| Marketplace Scraper | Listings, prices, sellers, location | $3.00/1K | $2.25/1K | $1.80/1K | $1.35/1K |
| All-in-One | Combined modes in one run | $3.00/1K | $2.25/1K | $1.80/1K | $1.35/1K |
| Data Extractor | Lightweight all-in-one, cheaper billing | $2.00/1K | $1.50/1K | $1.20/1K | $0.90/1K |
Up to 40% cheaper than competing Facebook scrapers on Apify Store at every pricing tier.
📊 What Data Can You Extract?
📄 Facebook Page Scraper (no login needed)
- 🏷️ Page name, title, and Facebook ID
- 📂 Category (e.g., "Government organization", "Restaurant", "Software")
- 👍 Likes count, followers count, talking about count, check-ins
- ✅ Verified status and active ad status (isBusinessPageActive)
- 📍 Location, address, city
- 📝 About description
- 🖼️ Profile picture URL and cover photo URL
- 🔗 Ad Library ID and confirmed page owner
- 🌐 Direct page URL
📝 Facebook Posts Scraper (no login needed)
- 💬 Full post text content
- ❤️ Reaction count, comment count, share count
- 🕐 Publish timestamp
- 🆔 Feedback ID and Story ID
- 💭 Top comments (when available via GraphQL with cookies)
- 📄 Source page name and URL
📅 Facebook Events Scraper (no login needed)
- 🎪 Event name and full description
- 📆 Start/end timestamps and human-readable date/time
- 👤 Event organizer name
- 🌐 Online or in-person flag
- 📍 Venue name and city
- 🎟️ Ticket URL
- 👥 Going count and interested count
👥 Facebook Group Scraper (requires login cookies)
- 📌 Group title and URL
- 👤 Author name and author ID
- 💬 Full post text
- ❤️ Reactions, comments, shares
- 🕐 Publish timestamp
- 💭 Top comments array
🔎 Facebook Search Scraper (requires login cookies)
- 🏷️ Page name, category, about text
- 👍 Likes and followers count
- 📍 Location
- 🖼️ Profile picture URL
- 🔗 Direct page URL
⭐ Facebook Reviews Scraper (requires login cookies)
- 👤 Reviewer name
- 👍 Recommended (yes/no)
- 💬 Full review text
- 📊 Overall rating percentage and total rating count
💬 Facebook Comments Scraper (requires login cookies)
- 👤 Author name
- 💬 Full comment text
- 👍 Likes count
- 🕐 Created timestamp
- 🆔 Comment ID and source post
🛒 Facebook Marketplace Scraper (works best with cookies)
- 🏷️ Listing title and description
- 💲 Price information
- 📍 Seller location
- 🔗 Direct listing URL
- 🖼️ Listing images
🎬 Facebook Reels Scraper (requires login cookies)
- 🎥 Reel URL and shareable link
- 📝 Caption / text
- ⏱️ Duration (milliseconds)
- 📅 Publish time
- 🖼️ Thumbnail URL
- 👤 Owner name and ID
- 🆔 Reel ID
📢 Facebook Ads Scraper (requires login cookies)
- 🆔 Ad archive ID and page ID
- 🏢 Page name
- 📝 Ad creative body and title
- 🔗 CTA text and destination link URL
- 🖼️ Ad images and video URLs
- 📅 Start and end dates
- 📊 Active/inactive status
- 📱 Publisher platforms (Facebook, Instagram, Threads, etc.)
- 🌍 Country targeting
🏁 How to Use the Facebook Scraper
Step 1: Create an Apify account
Sign up at apify.com — free tier includes $5 in monthly credits.
Step 2: Open the actor
Go to the All-in-One Facebook Scraper on Apify Store and click Try for free.
Step 3: Configure your input
- Choose a scrape mode — select from Pages, Posts, Events, Groups, Search, Reviews, Comments, Marketplace, Reels, or Ads
- Add your targets — enter Facebook page names (e.g.,
NASA), full URLs (e.g.,https://facebook.com/cern), group URLs, or search keywords - Set limits — adjust
resultsPerPage(default: 50, max: 500) - Add login cookies (optional) — required for Groups, Search, Reviews, and Comments modes
Step 4: Run and download results
Click Start and wait for results. Export as JSON, CSV, Excel, or connect to your workflow via API.
Getting Login Cookies (for authenticated modes)
Some modes require Facebook login cookies (c_user and xs):
- Open facebook.com in Chrome and log in
- Press
F12(Windows) orCmd+Option+I(Mac) to open Developer Tools - Go to Application > Cookies >
https://www.facebook.com - Copy the values of
c_userandxs - Paste into the
loginCookiesfield as:c_user=XXXXX; xs=XXXXX
| Mode | Login Cookies Required? | Proxy Required? |
|---|---|---|
| Pages Scraper | No | No |
| Posts Scraper | No (but enables GraphQL pagination) | No |
| Events Scraper | No | No |
| Groups Scraper | Yes | Recommended |
| Search Scraper | Yes | Recommended |
| Reviews Scraper | Yes | Optional |
| Comments Scraper | Yes | Optional |
| Marketplace Scraper | No (but improves results) | Optional |
📥 Input Examples
Scrape Facebook Pages
{"scrapeMode": "facebook-pages-scraper","pages": ["NASA", "cern", "https://facebook.com/natgeo"]}
Scrape Facebook Posts
{"scrapeMode": "facebook-posts-scraper","pages": ["NASA", "SpaceX"],"resultsPerPage": 100}
Scrape Facebook Events
{"scrapeMode": "facebook-events-scraper","pages": ["NASA"],"eventSearchQueries": ["tech conference 2026", "music festival new york"]}
Scrape Facebook Groups
{"scrapeMode": "facebook-groups-scraper","groupUrls": ["https://facebook.com/groups/selftaughtprogrammers"],"loginCookies": "c_user=XXXXX; xs=XXXXX","resultsPerPage": 50}
Search Facebook Pages by Keyword
{"scrapeMode": "facebook-search-scraper","searchQueries": ["coffee shop new york", "web design agency london"],"loginCookies": "c_user=XXXXX; xs=XXXXX"}
Scrape Facebook Reviews
{"scrapeMode": "facebook-reviews-scraper","pages": ["starbucks"],"loginCookies": "c_user=XXXXX; xs=XXXXX","resultsPerPage": 100}
Scrape Facebook Comments
{"scrapeMode": "facebook-comments-scraper","pages": ["NASA"],"loginCookies": "c_user=XXXXX; xs=XXXXX","resultsPerPage": 50}
Scrape Facebook Marketplace
{"scrapeMode": "facebook-marketplace-scraper","marketplaceQueries": ["guitar", "laptop", "apartment"],"marketplaceLocation": "sanfrancisco","resultsPerPage": 100}
All-in-One Mode (everything at once)
{"scrapeMode": "facebook-scraper","pages": ["NASA"],"eventSearchQueries": ["space conference"],"groupUrls": ["https://facebook.com/groups/spacenews"],"searchQueries": ["space agency"],"marketplaceQueries": ["telescope"],"loginCookies": "c_user=XXXXX; xs=XXXXX","resultsPerPage": 50}
📤 Output Examples
Facebook Page Result
{"resultType": "page","facebookId": "54971236771","pageName": "NASA","pageUrl": "https://www.facebook.com/NASA/","pageTitle": "NASA - National Aeronautics and Space Administration","category": "Government organization","likesCount": 25400000,"followersCount": 28100000,"talkingAboutCount": 52667,"checkinsCount": 450000,"isVerified": true,"isBusinessPageActive": true,"about": "Explore the universe and discover our home planet with NASA.","location": "Washington, District of Columbia","address": "300 E Street SW","city": "Washington","confirmedOwner": "NATIONAL AERONAUTICS AND SPACE ADMINISTRATION","profilePicUrl": "https://scontent...","coverPhotoUrl": "https://scontent...","scrapedAt": "2026-03-27T12:00:00.000Z"}
Facebook Post Result
{"resultType": "post","pageName": "NASA","pageUrl": "https://www.facebook.com/NASA/","postText": "Artemis II crew members are preparing for humanity's return to the Moon...","reactionCount": 45200,"commentCount": 1830,"shareCount": 8400,"publishTime": "2026-03-25T14:30:00.000Z","feedbackId": "10158...","storyId": "S:_I54971236771:...","scrapedAt": "2026-03-27T12:00:00.000Z"}
Facebook Event Result
{"resultType": "event","eventId": "1234567890","eventName": "NASA Space Apps Challenge 2026","startTimestamp": "2026-10-05T09:00:00.000Z","endTimestamp": "2026-10-06T18:00:00.000Z","dayTimeSentence": "SAT, OCT 5 AT 9:00 AM – SUN, OCT 6 AT 6:00 PM","eventCreator": "NASA","isOnline": false,"eventDescription": "Join the global hackathon...","placeName": "NASA Headquarters","placeCity": "Washington, DC","ticketUrl": "https://www.spaceappschallenge.org","goingCount": 3200,"interestedCount": 15000,"scrapedAt": "2026-03-27T12:00:00.000Z"}
Facebook Group Post Result
{"resultType": "group-post","groupTitle": "Self-Taught Programmers","groupUrl": "https://www.facebook.com/groups/selftaughtprogrammers","authorName": "Jane Smith","authorId": "100012345678","postText": "Just landed my first developer job after 8 months of self-study!","reactionCount": 342,"commentCount": 89,"shareCount": 12,"publishTime": "2026-03-26T10:15:00.000Z","topComments": [{ "authorName": "Mike Chen", "commentText": "Congrats!", "likesCount": 15 }],"scrapedAt": "2026-03-27T12:00:00.000Z"}
Facebook Review Result
{"resultType": "review","pageName": "starbucks","reviewerName": "Paqui Marques","isRecommended": true,"reviewText": "Great coffee and friendly staff. Love the atmosphere!","scrapedAt": "2026-03-27T12:00:00.000Z"}
Facebook Marketplace Listing Result
{"resultType": "marketplace-listing","pageName": "Fender Stratocaster 2020","postText": "Excellent condition, barely played. Comes with hard case and extra strings.","location": "San Francisco, CA","scrapedAt": "2026-03-27T12:00:00.000Z"}
❓ Frequently Asked Questions
Do I need login cookies?
Not for most modes. The Facebook page scraper, Facebook posts scraper, and Facebook events scraper all work without any authentication. Login cookies (c_user + xs) are required for the Facebook group scraper, search scraper, reviews scraper, and comments scraper. The Facebook Marketplace scraper works without cookies but returns more results with them.
What's the difference between modes?
Each mode targets a specific type of Facebook data:
| Mode | Best for |
|---|---|
| Pages | Getting page metadata — likes, followers, category, about text |
| Posts | Extracting post content with engagement metrics |
| Events | Finding events from pages or by keyword search |
| Groups | Reading group discussions and member posts |
| Search | Discovering pages by keyword (lead generation) |
| Reviews | Collecting customer feedback and ratings |
| Comments | Analyzing post engagement and audience sentiment |
| Marketplace | Monitoring product listings and pricing |
| All-in-One | Running multiple modes in a single run |
How many results can I get?
Up to 500 results per input (per page, group, or search query). Set the resultsPerPage parameter to control this. There is no hard cap on total results — simply add more inputs to scale. For example, 10 pages x 500 posts each = 5,000 posts in one run.
Can I use the API?
Yes. Every Apify actor has a full REST API. You can trigger runs, pass input, and fetch results programmatically:
curl "https://api.apify.com/v2/acts/get-leads~all-in-one-facebook-scraper/runs" \-X POST \-H "Content-Type: application/json" \-H "Authorization: Bearer YOUR_API_TOKEN" \-d '{"scrapeMode": "facebook-posts-scraper","pages": ["NASA"],"resultsPerPage": 50}'
See the Apify API documentation for Python, Node.js, and other client libraries.
Is it legal to scrape Facebook?
This Facebook scraper accesses only publicly available data that anyone can view without logging in (for unauthenticated modes). Authenticated modes access data visible to logged-in users. Always ensure your use case complies with applicable laws and regulations. Apify provides the infrastructure; you are responsible for how you use the extracted data. Read more about web scraping legality.
Can I integrate with Make, Zapier, or Google Sheets?
Yes. Apify has native integrations with popular automation tools:
- Make (Integromat) — trigger scraping runs and process Facebook data in Make scenarios
- Zapier — connect Facebook data to 5,000+ apps
- Google Sheets — export results directly to a spreadsheet
- Slack — get notifications when scraping completes
- Airbyte — sync data to your warehouse
- Webhooks — send results to any HTTP endpoint in real time
Does it work with MCP (Model Context Protocol)?
Yes. This actor is fully compatible with the Apify MCP Server. Connect it to AI agents and LLM workflows so tools like Claude, ChatGPT, and custom AI assistants can trigger Facebook scraping runs, process results, and incorporate Facebook data into their responses.
Why is this scraper HTTP-only? Can it handle dynamic content?
Facebook serves most public data in server-rendered HTML and via internal GraphQL endpoints. This scraper parses both — no headless browser needed. This means:
- Faster execution — no browser startup or page rendering delays
- Lower memory — runs on 256 MB vs. 1-4 GB for browser-based scrapers
- Lower cost — no compute overhead from Playwright or Puppeteer
- Zero proxy costs — most modes don't need proxies at all
What if a mode isn't returning data?
Check the run logs for specific error messages. Common issues include:
- Login cookies expired — re-extract
c_userandxsfrom your browser - Page doesn't exist — verify the page name or URL is correct
- Rate limiting — reduce
resultsPerPageor add delays between runs - Missing input — ensure you've filled in the correct input field for your chosen mode
🆚 How It Compares to Other Facebook Scrapers
| Feature | All-in-One Facebook Scraper | Typical competitors |
|---|---|---|
| Scraping modes | 10 modes in one actor | 1-3 modes, separate actors |
| Architecture | HTTP-only (no browser) | Playwright / Puppeteer |
| Memory requirement | 256 MB | 1-4 GB |
| Proxy costs | Zero for most modes | Required |
| Price per 1K posts | $3.00 | $5.00-$8.00 |
| Price per 1K pages | $7.20 | $10.00-$15.00 |
| Marketplace support | Yes | Rare |
| Reviews + Comments | Yes | Rare |
| MCP server compatible | Yes | Varies |
| Integrations | Make, Zapier, Sheets, Slack | Varies |
Save up to 40% compared to other Facebook scrapers while getting more modes, lower memory usage, and faster results.
🔗 Related Scrapers by get-leads
Building a multi-platform data pipeline? Check out our other scrapers on Apify Store:
- LinkedIn Scraper — profiles, companies, and job postings
- Amazon Scraper — product listings, prices, reviews, and seller info
- Google Maps Scraper — business listings, reviews, and contact details
- TikTok Scraper — videos, profiles, hashtags, and engagement data
- Instagram Scraper — posts, reels, profiles, and follower data
🛠️ Technical Details
- Runtime: Node.js 20 with Impit (Chrome TLS fingerprinting)
- Default memory: 256 MB (max: 4,096 MB)
- Concurrency: Auto-managed based on available memory (scales down under pressure)
- Session management: Built-in session pool with cookie persistence across requests
- Error categories: DELETED, RATE_LIMITED, FORMAT_CHANGE, NETWORK, BLOCKED, LOGIN_REQUIRED
- Output formats: JSON, CSV, Excel, XML, HTML
- Proxy: Not required for pages/posts/events. Recommended for groups/search with login cookies
Built and maintained by get-leads on Apify. Found a bug or have a feature request? Open an issue on the Issues tab.