Facebook Search Scraper - Posts by Keyword avatar

Facebook Search Scraper - Posts by Keyword

Pricing

from $8.00 / 1,000 result items

Go to Apify Store
Facebook Search Scraper - Posts by Keyword

Facebook Search Scraper - Posts by Keyword

Searches Facebook by keyword for pages, groups, posts or videos, ranked as Facebook lists them. Page results carry 35 fields: name, URL, category, about and mission, likes, followers, rating and reviews, check-ins, hours, price range, address, phone, email, website and verification.

Pricing

from $8.00 / 1,000 result items

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

63

Total users

20

Monthly active users

9 days ago

Last modified

Share

ParseForge

Facebook Search Scraper

Scrape Facebook pages, groups and events by keyword, up to a million per run. Get structured data from public listings without login or API key. Export to CSV, JSON, Excel, or XML.

Low minimum charge: $0.005 to start a run, then you only pay for the results you get.

Facebook Search is locked behind a login wall and the official API only covers your own pages. This actor finds the public Facebook pages, groups and events that match your keywords, then opens each one to read its public profile: category, follower counts, contact details, business information. Each result comes back as a flat row, ready for analysis.

Who uses itWhat they scrape Facebook for
Market researchersWhich brands and communities dominate a niche on Facebook
Lead generation teamsFind Facebook pages and groups that match an ideal customer profile
Community managersFind the Facebook groups and events around a topic or place
OSINT analystsMap public Facebook entities around a person, brand, or event

What it does

This Actor finds Facebook pages, groups or events matching your keywords and returns each one as a flat row.

  • ๐Ÿ” Search types: pages, groups or events, one type per run.
  • ๐Ÿ“‹ Multiple queries: pass a list of search terms and get results for all of them in one dataset.
  • ๐Ÿงพ Page details: each result is opened on Facebook for category, followers, phone, email, website, verified status, map coordinates and business information. Turn it off with enrichPages: false for a faster, cheaper run.
  • ๐Ÿ‘ฅ Groups get group data: member count, privacy (public or private), group id and description.
  • ๐Ÿ“… Events get event data: start and end time in ISO 8601, the date sentence with its timezone, venue and map coordinates, organizer, cancelled flag, and the interested and going counts.
  • โš™๏ธ Result caps: resultsPerQuery per term and maxItems for the whole run, from 1 to 1,000,000.
  • ๐Ÿงฎ You pay for data, not for misses: a result Facebook shows no public data for is still written to your dataset, marked with error, and is not charged.
  • ๐Ÿ“ค Export ready: download as CSV, JSON, Excel, or XML from the Apify dataset.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with Facebook data

๐Ÿ“ˆ Track brand presence.

A market researcher runs weekly searches for a brand name across pages and groups to see which communities are growing and what competitors appear.

๐ŸŽฏ Build lead lists.

A sales team searches for industry keywords in pages and groups, then exports the results to enrich their CRM with Facebook company pages.

๐Ÿง  Map communities.

A community manager searches groups and events for a city or a topic to find where the audience already gathers.

๐Ÿ•ต๏ธ Investigate entities.

An OSINT analyst runs a person's name or an event keyword across all three search types to map the related public pages, groups and events.

Why choose this scraper

What you get
No login or API keyReads public search listings directly, so you skip OAuth and app registration
One fixed schemaEvery result, whether a page, group or event, lands in the same flat structure
Bulk queriesRun dozens or hundreds of search terms in a single actor run
Scale on demandCollect up to a million results per run on Apify's infrastructure

How it compares

No other Store actor targets Facebook the same way, so the honest comparison is with the alternatives teams actually weigh.

Facebook Search ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When Facebook changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor with a list of search queries and pick one search type: pages, groups or events. resultsPerQuery caps each term, maxItems caps the run. Turn enrichPages off if you only need what the listing shows. The Input tab lists every parameter.

A first run with the defaults:

{
"queries": [
"nike",
"apple"
],
"searchType": "pages",
"maxItems": 10
}

A larger pull:

{
"queries": [
"nike",
"apple"
],
"searchType": "pages",
"resultsPerQuery": 50,
"maxItems": 200
}

Listings only, no page visits, at a third of the price:

{
"queries": [
"running club madrid"
],
"searchType": "groups",
"enrichPages": false,
"maxItems": 100
}

Events near a city, with times and venues:

{
"queries": [
"concert madrid",
"food festival madrid"
],
"searchType": "events",
"resultsPerQuery": 20,
"maxItems": 40
}

Pricing

Pay per result. Two events, so you only pay for the page visits you asked for:

EventPriceWhen it fires
Result item$0.012Per Facebook page, group or event written to your dataset
Page enrichment$0.018Per result, only when enrichPages is on (the default)
Results collectedWith page detailsListings only
100 results$3.00$1.20
1,000 results$30.00$12.00
10,000 results$300.00$120.00

A result that Facebook shows no public data for is written to your dataset with an error field and is not charged.

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the Facebook Search Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to Facebook through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/facebook-search-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that your search query is not too specific. Try a broader term, or switch to a different search type. A run that finds nothing ends as a success with an empty dataset and charges you nothing beyond the Actor start, and the run's status message says which of your queries came back empty.

Why did the run stop before reaching my max results?

Facebook may not have more results for that query and search type. The actor stops when the public listing is exhausted.

Can I search for groups and pages in the same run?

No. Each run uses one search type. Run the actor multiple times with different search types if you need more than one.

Why do some rows have an error field?

Facebook serves a login wall instead of a public profile for some results. Those rows are still written so you can see what was found, they carry the URL and the listing title, and they are not charged.

A groups run returned rows with error and nothing else.

Facebook refuses group pages from datacenter IPs more aggressively than it refuses business pages. Switch the proxy to a residential group, or set enrichPages: false to keep the listing data (name, URL and snippet) without opening each group.

The run stopped early and said so. Why?

The Actor watches its own run timeout and stops starting new queries when there is not enough time left to finish one, so the results it already collected are written rather than lost. Raise the run timeout to collect the rest.

Why are some fields empty in my results?

Facebook does not always show the same metadata for every result. Empty fields mean that information was not present in the public listing.

FAQ

QuestionAnswer
Do I need a Facebook account or API key?No. This actor reads public Facebook Search listings without login or API credentials.
What search types can I scrape?Pages, groups and events. You choose one type per run.
Can I search for multiple queries at once?Yes. Pass a list of search queries and the actor will collect results for each one in a single run.
How many results can I get?You can set a maximum from 1 to 1,000,000 results per run. The actor stops when it reaches that cap or when no more results are available.
What data does each result include?Pages: name, URL, slug, page ID, category and categories, description, follower and talking-about counts, verified status, phone, email, website, mission and about text, address, city, country, latitude and longitude, rating and review counts, founding date, opening hours, price range, Messenger link, profile and cover photos. Groups: group ID, name, description, member count and privacy. Events: event ID, name, description, start and end time, the date sentence with its timezone, venue, coordinates, organizer and organizer ID, privacy, cancelled flag, interested and going counts, ticket link. Facebook does not publish every field for every result, so a field it does not show comes back null.
Can I export the data?Yes. Download your dataset as CSV, JSON, Excel, or XML directly from Apify.
Is this legal?You are responsible for complying with Facebook's terms of service and applicable laws. This actor only accesses publicly available search listings.
Can I schedule recurring runs?Yes. Use Apify's scheduler to run this actor daily, weekly, or on any custom interval.
What if I get no results for a query?Facebook may return no results for very specific or uncommon queries. Try a broader term or a different search type. The run still succeeds and charges nothing for the empty queries.
Can I scrape Facebook profiles or private content?No. This actor reads public listings and public page profiles only. It does not log in, and it does not access personal profiles, private groups, or any content behind a login.

Browse the full ParseForge collection for more scrapers.

โญ Found this Actor useful? Leave a review. It takes a minute and helps us keep it maintained.

๐Ÿ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

โš ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Meta Platforms, Inc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.