Facebook Search Scraper avatar

Facebook Search Scraper

Pricing

from $5.00 / 1,000 results

Go to Apify Store
Facebook Search Scraper

Facebook Search Scraper

Search Facebook for pages and people by keyword. Extract structured data including page/profile details, engagement metrics, and contact information.

Pricing

from $5.00 / 1,000 results

Rating

5.0

(14)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

14

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Search Facebook by keyword and extract structured data from pages, posts, or people. Get page details, post content, engagement metrics, and profile information.

What does Facebook Search Scraper do?

Facebook Search Scraper performs keyword searches on Facebook and extracts structured data from the results. It supports three search types: Pages, Posts, and People.

Why use Facebook Search Scraper?

  • Lead generation — Find businesses and pages matching your target keywords
  • Market research — Discover competitors and industry players on Facebook
  • Content monitoring — Track posts mentioning specific topics or brands
  • People search — Find profiles matching specific criteria
  • Location-based discovery — Search for businesses in specific areas

Input

FieldTypeRequiredDefaultDescription
searchQueriesArrayYesSearch keywords (e.g., "coffee shop", "dentist")
searchTypeStringNo"pages"Type of results: "pages", "posts", or "people"
maxResultsIntegerNo50Maximum results per query (1-500)

Input example

{
"searchQueries": ["coffee shop", "restaurant"],
"searchType": "pages",
"maxResults": 20
}

Output

Pages search output

FieldTypeDescription
facebookUrlStringFacebook page URL
pageNameStringName of the page
pageIdStringFacebook page ID
categoryStringPage category
descriptionStringPage description
followerCountIntegerNumber of followers
likeCountIntegerNumber of likes
ratingValueStringPage rating (if available)
ratingCountIntegerNumber of ratings
phoneStringContact phone number
emailStringContact email
websiteStringExternal website URL
addressStringPhysical address
profileImageUrlStringProfile picture URL
searchQueryStringThe search query used
scrapedAtStringWhen data was collected

Posts search output

FieldTypeDescription
postUrlStringDirect link to the post
postTextStringPost content text
authorNameStringAuthor name
authorUrlStringAuthor profile URL
likesCountIntegerNumber of reactions
commentsCountIntegerNumber of comments
dateStringPost date (ISO 8601)
searchQueryStringThe search query used
scrapedAtStringWhen data was collected

People search output

FieldTypeDescription
profileUrlStringProfile URL
profileNameStringPerson's name
profileIdStringProfile ID
profilePictureStringProfile picture URL
subtitleStringProfile subtitle/description
searchQueryStringThe search query used
scrapedAtStringWhen data was collected

How many results can I get?

The scraper can extract up to 500 results per search query. The actual number depends on how many results Facebook returns for your search terms.

This scraper only accesses publicly available search results that anyone can view without logging in. Always review Facebook's Terms of Service for your use case.

Frequently Asked Questions

Do I need a Facebook account?

No. The scraper works without any login credentials and only accesses public data.

Can I search for specific locations?

Include the location in your search query (e.g., "coffee shop New York" or "dentist Berlin").

How long does it take?

Typically 1-3 minutes per query depending on the number of results requested.

Can I export the data?

Yes. Export in JSON, CSV, Excel, XML, HTML and other formats from the Apify platform.