Operated by Sourcelane✓ verified
Search Facebook by keyword and location to find business Pages, Groups and posts, with optional email, phone, address, website and member counts.
A keyword-and-location Facebook web search scraper that finds and extracts matching Pages (businesses, brands, creators), Groups, and Posts for given keywords and places; it can optionally fetch enriched details for Pages (business contact information, category, ratings, follower/like counts, ad status, media links, creation date) and for Groups (full description, member counts, privacy/visibility, activity metrics, admin count, categories, creation date). The connector performs public web-index searches on Facebook, supports country-level localization and time-range filtering for posts, deduplicates results across multiple keywords, and returns structured records describing entity identity, URLs, identifiers, short descriptions, enrichment data (contact details and metrics), and post metadata (title, date, snippet, and source).
Verified Sep 28, 3:55 AM
$0.003
per search
Up to 100 per call. Only pay for results returned; failed calls are refunded.
Local lead generation
Find local businesses by keyword and city and extract contact information for outreach.
Sales prospecting
Build niche business lists by keyword and location for targeted outreach.
Community research
Discover and evaluate the most active Facebook Groups in a niche for engagement or advertising.
Market and competitor research
Identify businesses in a category and check which are running Facebook ads and their review/ratings metrics.
Social listening
Track public Page and Group posts that mention a brand, product, or keyword with optional recent-time filtering.
Keywords to search Facebook for, one per line (e.g.
Optional city, region or country to narrow results (e.g.
Optional 2-letter country code (e.g.
Optional settings
| Window | Uptime | Success rate | p50 | p95 | Calls |
|---|---|---|---|---|---|
| 24h | — | — | — | — | 0 |
| 7d | — | — | — | — | 0 |
| 30d | — | — | — | — | 0 |
Call it through Sourcelane's gateway or MCP server. We run the connector, apply your agent's spend guardrails, and bill only the results returned.
Call it via Sourcelane
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"facebook-search-scraper","params":{"searchQueries":["dentist"],"maxResultsPerQuery":5},"maxResults":10}'Request params
| Field | Type | Required | Description |
|---|---|---|---|
searchQueries | array | required | Keywords to search Facebook for, one per line (e.g. 'dentist', 'vintage cars', 'coffee roaster'). Each keyword is searched separately. |
searchType | string | optional | Pages: business and brand Pages matching the keyword, ideal for local lead generation. Groups: public and visible Groups about the keyword. Posts: public Page and Group posts that mention the keyword. |
location | string | optional | Optional city, region or country to narrow results (e.g. 'Austin TX', 'Manchester', 'Sydney'). Added to every keyword search. |
maxResultsPerQuery | integer | optional | Stop after this many unique results for each keyword. Search depth is limited to roughly 100 results per keyword; add more specific keywords or locations to go wider. Capped at 100 per call. |
includeDetails | boolean | optional | Pages: add email, phone, address, website, category, rating, followers and ad status. Groups: add description, member count, privacy, activity (posts per day/month) and creation date. Charged as a separate details event only when details are found. Not used for Posts. |
country | string | optional | Optional 2-letter country code (e.g. US, GB, CA, AU) to localise the search results. Leave empty for the default. |
datePosted | string | optional | Posts only: limit results to posts indexed within this time window. |
Each result contains
| Field | Type | Description |
|---|---|---|
type | string | Type |
searchQuery | string | Keyword |
searchLocation | string | — |
url | string | URL |
facebookId | string | — |
name | string | Name |
snippet | string | Snippet |
listedLocation | string | Location |
followersFromSearch | null | — |
likesFromSearch | null | — |
postedAt | null | Posted |
postedAtText | null | — |
authorUrl | null | — |
groupUrl | null | — |
detailsFetched | boolean | — |
category | string | — |
email | string | — |
phone | string | — |
address | string | — |
website | string | — |
links | array | — |
intro | string | — |
priceRange | string | — |
rating | string | — |
followerCount | integer | — |
likeCount | integer | — |
creationDate | string | — |
isRunningAds | boolean | — |
adLibraryPageId | string | — |
profilePicUrl | string | — |
coverPhotoUrl | string | — |
description | null | — |
privacy | null | — |
visibility | null | — |
memberCount | null | — |
postsLastDay | null | — |
postsLastMonth | null | — |
adminCount | null | — |
groupCategories | array | — |
scrapedAt | string | — |
Pick your tool and connect in under a minute. Then just ask — for example: “Pull the last 30 posts from the Nike page and chart engagement by post type.”
Connect Claude
Web, desktop and mobile. One click, then confirm.
Adds the Sourcelane MCP server with your key as a header.
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
--header "Authorization: Bearer sl_live_your_agent_key"Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.
{
"mcpServers": {
"sourcelane": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.usesourcelane.com/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer sl_live_your_agent_key"
}
}
}
}Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).
{
"mcpServers": {
"sourcelane": {
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer sl_live_your_agent_key"
}
}
}
}Save as .vscode/mcp.json. VS Code prompts for your key once.
{
"servers": {
"sourcelane": {
"type": "http",
"url": "https://api.usesourcelane.com/mcp",
"headers": {
"Authorization": "Bearer ${input:sourcelane-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "sourcelane-key",
"description": "Sourcelane agent key",
"password": true
}
]
}Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.
https://usesourcelane.com/openapi.jsonOne POST. Pass maxResults to cap cost.
curl -X POST https://api.usesourcelane.com/v1/call \
-H "Authorization: Bearer sl_live_your_agent_key" \
-H "Content-Type: application/json" \
-d '{"listing":"facebook-search-scraper","params":{"searchQueries":["dentist"],"maxResultsPerQuery":5},"maxResults":10}'Wrap the REST call as a tool, or point an MCP client at the endpoint.
import requests
res = requests.post(
"https://api.usesourcelane.com/v1/call",
headers={"Authorization": "Bearer sl_live_your_agent_key"},
json={
"listing": "facebook-search-scraper",
"params": {"searchQueries":["dentist"],"maxResultsPerQuery":5},
"maxResults": 10,
},
timeout=300,
)
body = res.json()
print(body["receipt"]["chargedMicros"], "micro-USD for", body["receipt"]["results"], "results")
print(body["data"])—
0 reviews
Leave a review
Loading reviews…