Sourcelane

Facebook Search Scraper

Facebook

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.

Read full description

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.

What people use it for

You give it

  • Search keywordsrequired

    Keywords to search Facebook for, one per line (e.g.

  • Location

    Optional city, region or country to narrow results (e.g.

  • Search country

    Optional 2-letter country code (e.g.

Optional settings

What to findMax results per keywordInclude full detailsPosted within (Posts only)

You get back

Text & content
Description
People & accounts
NameEmailPhone
Numbers & stats
Followers from searchLikes from searchPrice rangeRatingFollower countLike countMember countAdmin count
Location
Search locationListed locationAddress
Dates
Posted atPosted at text
Links & media
URLAuthor URLGroup URLLinksProfile pic URLCover photo URL
Other details
TypeSearch queryFacebook IDSnippetDetails fetchedCategoryWebsiteIntro+8 more

Trust & reliability

7d uptime trend
WindowUptimeSuccess ratep50p95Calls
24h————0
7d————0
30d————0

Calling contract

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

FieldTypeRequiredDescription
searchQueriesarrayrequiredKeywords to search Facebook for, one per line (e.g. 'dentist', 'vintage cars', 'coffee roaster'). Each keyword is searched separately.
searchTypestringoptionalPages: 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.
locationstringoptionalOptional city, region or country to narrow results (e.g. 'Austin TX', 'Manchester', 'Sydney'). Added to every keyword search.
maxResultsPerQueryintegeroptionalStop 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.
includeDetailsbooleanoptionalPages: 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.
countrystringoptionalOptional 2-letter country code (e.g. US, GB, CA, AU) to localise the search results. Leave empty for the default.
datePostedstringoptionalPosts only: limit results to posts indexed within this time window.

Each result contains

FieldTypeDescription
typestringType
searchQuerystringKeyword
searchLocationstring—
urlstringURL
facebookIdstring—
namestringName
snippetstringSnippet
listedLocationstringLocation
followersFromSearchnull—
likesFromSearchnull—
postedAtnullPosted
postedAtTextnull—
authorUrlnull—
groupUrlnull—
detailsFetchedboolean—
categorystring—
emailstring—
phonestring—
addressstring—
websitestring—
linksarray—
introstring—
priceRangestring—
ratingstring—
followerCountinteger—
likeCountinteger—
creationDatestring—
isRunningAdsboolean—
adLibraryPageIdstring—
profilePicUrlstring—
coverPhotoUrlstring—
descriptionnull—
privacynull—
visibilitynull—
memberCountnull—
postsLastDaynull—
postsLastMonthnull—
adminCountnull—
groupCategoriesarray—
scrapedAtstring—

Use Facebook Search Scraper from Claude, ChatGPT or Cursor

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.

  1. 1Click Add to Claude — claude.ai opens with Sourcelane filled in
  2. 2Click Continue to confirm — it then works in Claude desktop and mobile too
Manual setup (config files, REST, Python) +

Claude Code

Adds the Sourcelane MCP server with your key as a header.

terminal
claude mcp add --transport http sourcelane https://api.usesourcelane.com/mcp \
  --header "Authorization: Bearer sl_live_your_agent_key"

Claude Desktop (config file)

Alternative to the connector URL: add to claude_desktop_config.json, then restart Claude.

claude_desktop_config.json
{
  "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"
      }
    }
  }
}

Cursor & Windsurf

Add to ~/.cursor/mcp.json (or Windsurf's mcp_config.json).

mcp.json
{
  "mcpServers": {
    "sourcelane": {
      "url": "https://api.usesourcelane.com/mcp",
      "headers": {
        "Authorization": "Bearer sl_live_your_agent_key"
      }
    }
  }
}

VS Code

Save as .vscode/mcp.json. VS Code prompts for your key once.

.vscode/mcp.json
{
  "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
    }
  ]
}

ChatGPT Custom GPT (Actions)

Create a GPT → Actions → Import from URL, then Authentication: API Key, Bearer.

OpenAPI schema URL
https://usesourcelane.com/openapi.json

REST

One POST. Pass maxResults to cap cost.

curl
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}'

Python, LangChain, CrewAI, OpenAI Agents SDK…

Wrap the REST call as a tool, or point an MCP client at the endpoint.

python
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"])

Reviews

—

0 reviews

5
0
4
0
3
0
2
0
1
0

Leave a review

Loading reviews…

Related Facebook connectors

See all Facebook data connectors →