Facebook Search Scraper
Pricing
from $0.50 / 1,000 results
Facebook Search Scraper
Search Facebook by keyword and extract structured results. Find pages, posts, groups, events, and people. Get names, Facebook IDs, profile URLs, images, verification status, categories, follower counts, and descriptions. 6 search modes, 600+ results/min, no login required.
Pricing
from $0.50 / 1,000 results
Rating
0.0
(0)
Developer
Scrape Smith
Maintained by CommunityActor stats
0
Bookmarked
8
Total users
5
Monthly active users
5 days ago
Last modified
Categories
Share
๐ Facebook Search Scraper โ Pages, Posts, Groups, Events & People
Search Facebook by keyword and extract structured results at scale. Find business pages, posts, groups, events, and people โ get names, Facebook IDs, profile URLs, images, verification badges, categories, follower counts, and descriptions. Export as JSON, CSV, or Excel.
๐ What does Facebook Search Scraper do?
Paste your search keywords, pick a result type, and the scraper returns structured data for every Facebook search result. Supports 6 search modes at 600+ results per minute โ the fastest and cheapest Facebook search scraper on Apify.
Use it for ๐ข lead generation, ๐ต๏ธ competitor research, ๐ market analysis, ๐ local business discovery, ๐ฏ audience research, and ๐ brand monitoring.
๐ฆ What data can you extract?
| Field | Description |
|---|---|
type | ๐ Result type: page, post, group, event, person |
name | ๐ค Page, profile, or group name |
facebookId | ๐ Unique Facebook entity ID |
url | ๐ Direct Facebook URL |
profileUrl | ๐ Full profile URL |
isVerified | โ Verification badge status |
image | ๐ธ Profile picture with uri, width, height, scale |
snippet | ๐ Category, location, follower count (e.g. "Restaurant ยท New York ยท 5K followers") |
description | ๐ Full page/profile description |
query | ๐ Original search keyword |
๐ Posts mode adds:
| Field | Description |
|---|---|
postId | ๐ Unique post/story ID |
authorName | โ๏ธ Post author name |
timestamp | ๐ Post creation timestamp |
๐ 6 Search Modes
| Mode | What it finds | Example query |
|---|---|---|
| ๐ Pages | Business pages, brands, organizations | "coffee shop new york" |
| ๐ Posts | Public posts matching keyword | "product launch 2026" |
| ๐ฅ Groups | Facebook groups | "python programming" |
| ๐ Events | Upcoming and past events | "music festival summer" |
| ๐ค People | Public profiles | "john smith developer" |
| ๐ All | Mixed results across all types | "artificial intelligence" |
โ๏ธ Input parameters
| Parameter | Type | Description |
|---|---|---|
queries | Array of strings | ๐ Keywords to search for on Facebook |
searchType | String | ๐ Result type: pages, posts, groups, events, people, all |
maxResultsPerQuery | Integer | ๐ข Max results per query (default: 100, max: 5,000) |
๐ฅ Example input
{"queries": ["coffee shop new york"],"searchType": "pages","maxResultsPerQuery": 200}
๐ค Example output
{"type": "page","name": "Blue Bottle Coffee","facebookId": "100064792144187","url": "https://www.facebook.com/bluebottlecoffee","profileUrl": "https://www.facebook.com/bluebottlecoffee","isVerified": true,"image": {"uri": "https://scontent.fbcdn.net/...","width": 60,"height": 60,"scale": 1},"snippet": "Coffee shop ยท New York, NY ยท 250K followers","description": "Every cup of Blue Bottle coffee is made with care...","query": "coffee shop new york"}
๐ฐ How much does it cost?
- ๐ Free tier: 10 results per run โ test before you buy, no credit card needed
- โก Speed: 600+ results per minute
- ๐ชถ Memory: Runs on just 128 MB โ minimal compute cost
- ๐ธ 5x cheaper than the leading competitor
Check the Pricing tab for current per-result rates.
๐ Why choose this scraper?
| Feature | Us | Competitors |
|---|---|---|
| ๐ฐ Price | Cheapest | 2-10x more expensive |
| โก Speed | 600+ results/min | Unknown |
| ๐ Search modes | 6 modes | 1-4 modes |
| ๐ Snippet data | โ Category + followers + location | โ |
| ๐ Description | โ Full page description | โ |
| ๐ Query tracking | โ Each result tagged with source query | โ |
| ๐ Free tier | 10 results | 5 results |
| ๐ง Memory | 128 MB | 256-2048 MB |
๐ก Use cases
๐ข Lead generation & prospecting
Search for businesses by keyword and location. Build targeted prospect lists of restaurants, shops, gyms, salons, or any business category. Export to your CRM or outreach tool.
๐ต๏ธ Competitor research & monitoring
Find all competitors in your niche across Facebook. Track how many businesses operate in your category, who's verified, and who has the most followers.
๐ Market analysis & sizing
Quantify market density by searching for businesses in specific categories and locations. Identify underserved markets and geographic gaps.
๐ Local business intelligence
Build location-based datasets for market entry decisions. Find every business of a type in a city, state, or country.
๐ฏ Event discovery & marketing
Search for events in your industry or location. Find conferences, festivals, meetups, and networking events to sponsor or attend.
๐ฅ Community & group research
Discover Facebook groups in any niche. Find communities for outreach, partnership, or research.
๐ Academic & social research
Collect structured data about Facebook entities for research purposes. Study social network patterns, business presence, and community formation.
๐ Integrations
Connect Facebook Search Scraper to your workflow:
- ๐ Google Sheets โ auto-export results to a spreadsheet
- ๐ฌ Slack / Discord โ get notified when scraping completes
- โก Zapier / Make โ trigger downstream CRM workflows
- ๐ช Webhooks โ POST results to your own API or CRM
- โ๏ธ Amazon S3 / Google Cloud โ store datasets in cloud storage
- ๐ n8n โ build automated lead generation pipelines
Use the Apify API or official Apify client libraries (JavaScript, Python) to integrate programmatically.
๐ค MCP Server Integration (AI Agents & LLMs)
This actor works as a tool for AI agents via the Apify MCP server. Connect it to Claude, ChatGPT, Cursor, Windsurf, or any MCP-compatible AI assistant to let your agent search Facebook on demand.
๐ฃ Use with Claude Desktop / Claude Code
Add the Apify MCP server to your Claude config:
{"mcpServers": {"apify": {"command": "npx","args": ["-y", "@anthropic-ai/apify-mcp-server"],"env": {"APIFY_API_TOKEN": "YOUR_APIFY_TOKEN"}}}}
Then ask Claude: "Search Facebook for coffee shops in New York" or "Find Python programming groups on Facebook"
๐ข Use with OpenAI / GPT Agents
Apify actors are available as OpenAI tools via the Apify platform. Build AI-powered lead generation agents that search Facebook autonomously.
See Apify + OpenAI integration docs.
๐ฆ Use with LangChain / LlamaIndex
from langchain_community.utilities import ApifyWrapperapify = ApifyWrapper()loader = apify.call_actor(actor_id="YOUR_ACTOR_ID",run_input={"queries": ["coffee shop new york"],"searchType": "pages","maxResultsPerQuery": 100,},dataset_mapping_function=lambda item: f"{item['name']} - {item.get('snippet', '')}",)
๐งฉ Why use this with AI agents?
- ๐ฌ Automated lead gen: Agent searches Facebook โ enriches contacts โ loads into CRM
- ๐ RAG pipelines: Feed real-time Facebook search data into retrieval-augmented generation
- ๐ Market research: Agent runs multiple queries โ aggregates โ generates market report
- ๐ต๏ธ Competitive intel: Agent monitors competitor presence across Facebook categories
- ๐ฏ Ad targeting research: Agent discovers audience segments and interest groups
๐ง API Access
Python
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("YOUR_ACTOR_ID").call(run_input={"queries": ["coffee shop new york"],"searchType": "pages","maxResultsPerQuery": 100,})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(f"{item['name']} | {item.get('snippet', '')} | {item['url']}")
JavaScript
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });const run = await client.actor('YOUR_ACTOR_ID').call({queries: ['coffee shop new york'],searchType: 'pages',maxResultsPerQuery: 100,});const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach(item => console.log(`${item.name} | ${item.snippet} | ${item.url}`));
cURL
curl "https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs" \-X POST \-H "Content-Type: application/json" \-H "Authorization: Bearer YOUR_API_TOKEN" \-d '{"queries": ["coffee shop"], "searchType": "pages", "maxResultsPerQuery": 100}'
โ FAQ
๐ Does this scraper need my Facebook login?
No. The scraper works without your Facebook credentials. No cookies or login required from users.
๐ข How many results can I get per query?
Up to 5,000 results per search query. Most queries return 100-500 unique results.
โก How fast is it?
600+ results per minute on average. A search returning 1,000 results takes under 2 minutes.
๐ What search types are supported?
Six types: Pages, Posts, Groups, Events, People, and All (mixed results from all categories).
๐ What is the "snippet" field?
The snippet contains the page's category, location, and follower count as shown in Facebook search results (e.g. "Restaurant ยท New York, NY ยท 5K followers").
๐ Can I search by location?
The search query itself supports location keywords (e.g. "restaurant new york"). Dedicated location filters are coming soon.
๐ Can I filter by date?
Date filtering for posts search is planned for a future update.
๐ฐ How does pricing work?
You pay per result โ only for the data you actually get. Free users get 10 results per run to test. Paid users pay per result with no minimum.
๐ Can I schedule recurring searches?
Yes. Use Apify's built-in scheduler to run searches daily, weekly, or at any interval. Monitor new pages or posts automatically.
โ๏ธ Is scraping Facebook search results legal?
This scraper only accesses publicly visible search results. Always review Facebook's Terms of Service and applicable data protection regulations (GDPR, CCPA) before using scraped data.
๐ค Can AI agents use this scraper?
Yes. Connect via the Apify MCP server to let Claude, ChatGPT, or any MCP-compatible AI assistant search Facebook programmatically. Perfect for automated lead generation, market research, and competitive intelligence workflows.