Facebook Search Scraper avatar

Facebook Search Scraper

Pricing

from $0.50 / 1,000 results

Go to Apify Store
Facebook Search Scraper

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

Scrape Smith

Maintained by Community

Actor stats

1

Bookmarked

67

Total users

34

Monthly active users

a month ago

Last modified

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?

FieldDescription
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:

FieldDescription
postIdπŸ”– Unique post/story ID
authorName✍️ Post author name
timestampπŸ• Post creation timestamp

πŸ”€ 6 Search Modes

ModeWhat it findsExample query
πŸ“„ PagesBusiness pages, brands, organizations"coffee shop new york"
πŸ“ PostsPublic posts matching keyword"product launch 2026"
πŸ‘₯ GroupsFacebook groups"python programming"
πŸŽ‰ EventsUpcoming and past events"music festival summer"
πŸ‘€ PeoplePublic profiles"john smith developer"
🌐 AllMixed results across all types"artificial intelligence"

βš™οΈ Input parameters

ParameterTypeDescription
queriesArray of stringsπŸ” Keywords to search for on Facebook
searchTypeStringπŸ”€ Result type: pages, posts, groups, events, people, all
maxResultsPerQueryIntegerπŸ”’ 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?

FeatureUsCompetitors
πŸ’° PriceCheapest2-10x more expensive
⚑ Speed600+ results/minUnknown
πŸ”€ Search modes6 modes1-4 modes
πŸ“ Snippet dataβœ… Category + followers + location❌
πŸ“„ Descriptionβœ… Full page description❌
πŸ” Query trackingβœ… Each result tagged with source query❌
πŸ†“ Free tier10 results5 results
πŸ”§ Memory128 MB256-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 ApifyWrapper
apify = 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 ApifyClient
client = 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.

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.