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

0

Bookmarked

8

Total users

5

Monthly active users

5 days 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.