ParseForge Scrapers

Facebook Search Scraper - Posts by Keyword

parseforge/facebook-search-scraper

Social mediaLead generation

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.

Run this scraper See the API call
Total users
94
Monthly active
13
Total runs
1.6K
Bookmarked
0
Last modified
29 days ago

This scraper was last updated on .

What does the Facebook Search Scraper - Posts by Keyword return?

ParseForge

Facebook Search Scraper

Scrape Facebook pages, groups, events, posts and videos by keyword, or read any public Facebook event in full from its URL. Get structured data 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. Already have the events you care about? Paste their links in Event URLs and get each event in full: date and timezone, venue with street address, city and map pin, every host, category, ticket link, cover image, recurring dates and the public responded count. Each result comes back as a flat row, ready for analysis.

Who uses it What they scrape Facebook for
Market researchers Which brands and communities dominate a niche on Facebook
Lead generation teams Find Facebook pages and groups that match an ideal customer profile
Community managers Find the Facebook groups and events around a topic or place
Event promoters and ticketing teams Track competing Facebook events: dates, venues, hosts, ticket links and how many people responded
OSINT analysts Map 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, events, posts or videos, one type per run.
  • ๐Ÿ“ Posts and videos: each public post or video comes back with its text, author, publish time, reactions, comments and shares, plus views and length for videos.
  • ๐Ÿ“‹ 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. Facebook shows group pages only to residential connections, so when the proxy is left on its default the Actor opens groups through Apify's residential pool by itself.
  • ๐ŸŽซ Event details by URL: paste Facebook event links and get 33 fields per event: name, start and end in ISO 8601, timezone, date sentence, duration, venue, venue page, street address, city, latitude and longitude, organizer, every co-host with verified flag, categories, ticket link, cover image, online or in person, cancelled and past flags, recurrence with the other dates, and the public responded count. No search needed.
  • ๐Ÿ“… Events from search get the same detail: start and end time, timezone, venue, address, city, map pin, hosts, categories and the responded count, all read from the event itself and never from the "suggested events" Facebook shows next to it.
  • โš™๏ธ 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.

๐ŸŽŸ Monitor events.

A ticketing team pastes the Facebook links of competing shows every morning and tracks each one's date, venue, co-hosts, ticket link and how many people responded, all in one sheet.

Why choose this scraper

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

How it compares

For Facebook events, here is how it stands next to the most used events scraper on the Store and the in-house options.

This Actor apify/facebook-events-scraper
Event by URL Yes Yes
Search by keyword Yes Yes
Pages and groups too Yes No, events only
Street address, city, map pin Yes Yes
Attendance Public "responded" total Going, interested and responded
Price per 1,000 events by URL (free plan) $12 $13

Logged out, Facebook publishes only the total number of people who responded to an event. It does not publish the going and interested split or who they are, and this Actor never logs in, so it reports the true total instead of guessing a split.

Facebook Search Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When Facebook changes Maintained for you You fix it You re-learn the page
Proxies, retries, anti-bot Built in Your problem Browser only
Output Fixed JSON schema, CSV/Excel export Whatever you build Copy-paste
Cost Pay per result Engineering time Analyst hours

What a Facebook event looks like

One row from Event URLs, from a real run on 2026-09-24 (cover link shortened). Text Facebook does not publish comes back as Not Disclosed, so a spreadsheet column never mixes blanks with values.

{
  "imageUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-6/799848949_1035875932822286_n.jpg",
  "name": "OTE Jazz Festival Finale",
  "url": "https://www.facebook.com/events/263-carpenter-street-columbus-oh-43206/ote-jazz-festival-finale/1599117765338763/",
  "eventId": "1599117765338763",
  "type": "event",
  "startTime": "2026-09-20T17:00:00.000Z",
  "endTime": "2026-09-21T01:30:00.000Z",
  "timezone": "EDT",
  "dateText": "Sunday, September 20, 2026 at 1:00 PM โ€“ 9:30 PM EDT",
  "duration": "8 hr 30 min",
  "isPast": true,
  "isCanceled": false,
  "isOnline": false,
  "frequency": "SINGLE",
  "description": "Due to the rain we are working on an alternative location. Look out for updates.\n\n1:30pm Island & Soul Picnic w/TNatty!\n3:30pm Copacetic\n5:00pm Selina & Friends\n6:30pm FEWXION\n8:00pm Jazmin Ghent\nGet your free tickets at our website",
  "venue": "263 Carpenter Street, Columbus, OH 43206",
  "venueUrl": "Not Disclosed",
  "address": "263 Carpenter St, Columbus, OH 43205-1805, United States",
  "city": "Columbus, Ohio",
  "latitude": 39.95927,
  "longitude": -82.97486,
  "organizer": "Olde Towne East Jazz Festival",
  "organizerId": "100091996662274",
  "organizerUrl": "https://www.facebook.com/otejazzfest",
  "respondedCount": 75,
  "ticketUrl": "Not Disclosed",
  "privacy": "PUBLIC",
  "parentEventId": "Not Disclosed",
  "hosts": [
    {
      "id": "100091996662274",
      "name": "Olde Towne East Jazz Festival",
      "url": "https://www.facebook.com/otejazzfest",
      "verified": true
    }
  ],
  "categories": [],
  "otherDates": [],
  "inputUrl": "https://www.facebook.com/events/1599117765338763/",
  "scrapedAt": "2026-09-24T15:42:33.828Z",
  "error": null
}

Configure the run

Drive the Actor with a list of search queries and pick one search type: pages, groups, events, posts or videos. 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
}

Full details for events you already have, straight from their links:

{
  "eventUrls": [
    "https://www.facebook.com/events/1599117765338763/",
    "https://www.facebook.com/events/moore-theatre/alok-live-in-seattle-wa/1152235360242574"
  ]
}

Events near a city, with times and venues:

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

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 sends datacenter IPs to its login page for every group. With the proxy on its default, the Actor retries each group through Apify's residential pool, which is what made group runs deliver again. If you picked your own proxy group or proxy URLs, it keeps your choice: switch it to RESIDENTIAL, or set enrichPages: false to keep the listing data (name, URL and snippet) without opening each group.

A posts or videos run returned fewer rows than I asked for.

Posts and videos are found through the public search engines, which index only part of Facebook. For a narrow topic they may know a handful of posts, and the Actor returns what exists instead of padding the dataset with pages. A post from a private group or one Facebook does not show logged out comes back with an error and is not charged.

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.

An event URL came back with an error.

The event was removed, made private or age-restricted, or Facebook kept serving its page without the event details after three tries on fresh IPs. The row keeps the event ID and the link you gave and is not charged. Run it again later, or switch the proxy to a residential group.

Why do events show a responded count and not going and interested?

Logged out, Facebook shows only the total number of people who responded. The split and the guest list need a Facebook login, which this Actor never uses.

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

Question Answer
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, events, posts and videos. 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, timezone, the date sentence, duration, venue and venue page, street address, city, coordinates, organizer, every co-host, categories, privacy, online, cancelled and past flags, recurring dates, the public responded count, ticket link and cover image. 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 get the details of a Facebook event I already have? Yes. Put its link in Event URLs. Any public event link works, including the long form with the venue and title in it and one date of a recurring event.
Can I get the guest list of an event? No. Logged out, Facebook shows only how many people responded, not who they are. The Actor reports that total in respondedCount.
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.

๐Ÿ†˜ 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.

What input does the Facebook Search Scraper - Posts by Keyword accept?

FieldTypeWhat it doesDefault
queries array One search term per line. Terms are de-duplicated, and a single line holding a comma- or newline-separated list is split for you. Leave empty if you only want the event details from Event URLs below. ["nike","apple"]
eventUrls array Facebook event links to read in full, one per line: date and timezone, venue with address, city and map pin, every host, category, cover image, recurring dates and the public responded count. Any public event URL works, including the long /events/venue/title/ID form and one date of a recurring event. No search needed. ["https://www.facebook.com/events/159911
searchType string (5 options) What to search for, one type per run. Posts and videos return the public post or video: text, author, publish time, reactions, comments, shares, and views and duration for videos. pages
resultsPerQuery integer How many results to collect for each query, before the overall maximum applies. 10
maxItems integer Maximum number of results for the whole run, event URLs included. Left empty, it is every event URL plus queries x results per query. 10
enrichPages boolean Open each search result on Facebook for contact details, counters, category and business information. For events it reads the full event: timezone, address, city, hosts, categories and the responded count. Turn it off for a faster, cheaper run that returns only what the search listing shows. true
proxyConfiguration object Facebook blocks datacenter traffic quickly. Apify Proxy is used by default. {"useApifyProxy":true}

How much does the Facebook Search Scraper - Posts by Keyword cost?

from $7.20 per 1,000 results

Charged forWhat it isPrice each
Result item Facebook page match with basic metadata. $0.0072 to $0.0135
Page enrichment Fires per result when enrichPages is enabled. Bundles contact info, verified status, business details and mission. $0.012 to $0.018
Actor Start Charged when the Actor starts running. Number of events charged depends on Actor memory (one event per GB, minimum one event). $0.00445 to $0.005

Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.

How do I call the Facebook Search Scraper - Posts by Keyword API?

One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~facebook-search-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "queries": [
      "nike",
      "apple"
    ],
    "eventUrls": [
      "https://www.facebook.com/events/1599117765338763/"
    ],
    "searchType": "pages",
    "resultsPerQuery": 10,
    "maxItems": 10
  }'

What example inputs can I use?

Use these inputs to see how a run is configured.

input.json
{
  "queries": [
    "nike",
    "apple"
  ],
  "eventUrls": [
    "https://www.facebook.com/events/1599117765338763/"
  ],
  "searchType": "pages",
  "resultsPerQuery": 10,
  "maxItems": 10
}

What do users say about the Facebook Search Scraper - Posts by Keyword?

No reviews yet. Be the first.

How do I report an issue with the Facebook Search Scraper - Posts by Keyword?

We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.

Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.

What related scrapers can I use?

Run Facebook Search Scraper - Posts by Keyword on Apify All scrapers