Skip to content

Facebook Search Scraper

Try for free

Search public Facebook posts, pages, places, profiles, and reels by keyword. Returns authors, reactions, comments, and profile links, with optional page contact details.

🔎 Facebook Search Scraper

Search Facebook by keyword and get public results as structured data: posts with reactions and comment counts, pages, places, profiles, reels, or a global search across posts. Pages can also come with contact details. No login and no cookies.

✨ Why use Facebook Search Scraper?

  • 🔓 No login needed — works on public search results, so there is no account or cookie to manage.
  • 🗂️ Seven search types — posts, pages, places, global, profiles, reels, and pages with contact details.
  • 💬 Engagement included — reaction split (like, love, haha, ...), comment count, and share count on every post.
  • 🕒 Recent and dated — sort posts by most recent and cut them to a date window.
  • 📞 Contact details when you want them — pick Pages with contact details to get phone, email, website, address, rating, and followers from public pages.
  • 🔁 Several keywords per run — add more search terms; the result limit applies to the whole run and results are not repeated.

🎯 Use cases

  • 📈 Social listening — follow what people post about your brand, product, or topic.
  • 🧭 Trend research — compare engagement across posts for a keyword.
  • 🏪 Local lead lists — find pages for restaurants, salons, gyms, or any category in a city, with contact details.
  • 🎬 Reel research — pull reels for a keyword with captions and public counts.
  • 🎓 Academic and market research — collect public posts in a date window.

🚀 How to use

  1. Type a Search query, the same text you would put in Facebook search. Add More search terms if you want several keywords in one run.
  2. Choose a Search type: Posts, Pages, Places, Global, Profiles, Reels, or Pages with contact details.
  3. Set Maximum results (default 10).
  4. Optionally tick Recent posts, add a Location, or set a date window.
  5. Click Start and download the results as JSON, CSV, or Excel.

📥 Input

FieldKeyDescription
Search queryqueryKeyword to search for.
More search termsqueriesOptional extra keywords searched in the same run.
Search typesearch_typeposts, pages, places, global, profiles, reels, or pages-google (pages with contact details).
Maximum resultsmax_postsHow many results to save for the whole run. Default 10.
Recent postsrecent_postsSort posts by most recent. Applies to posts and global search; when a date is set, the date filter is used instead.
LocationlocationCity and country, such as Berlin, Germany. Passed as a search filter, or added to the Google search for pages with contact details.
Date from / tostart_date, end_dateYYYY-MM-DD window for posts and global search, sent to Facebook as its own date filter. Either one alone is fine.
Proxy configurationproxyConfigurationDatacenter by default. Switch to residential if a search only loads from a residential IP.
{
  "query": "Mausritter",
  "search_type": "posts",
  "max_posts": 10,
  "recent_posts": false,
  "proxyConfiguration": {
    "useScrapelyProxy": true,
    "scrapelyProxyGroups": ["DATACENTER"]
  }
}

Pages with contact details for dentists in Houston:

{
  "query": "Dentist",
  "search_type": "pages-google",
  "location": "Houston",
  "max_posts": 10
}

The keyword-list input also works through the API: categories (search terms), locations (each term runs once per place), searchType (pages, profiles, posts, reels, or pages-google) and resultsLimit. Rows then use the field names listed under "Pages, profiles, and reels" below.

{
  "categories": ["Restaurant"],
  "locations": ["Austin"],
  "searchType": "pages",
  "resultsLimit": 10
}

📤 Output

Post results (posts and global search) include:

FieldDescription
post_id, type, urlPost id, result type, and permalink
message, message_richPost text
timestampUnix time of the post
reactions_count, reactionsTotal reactions and the split by type
comments_count, reshare_countComment and share counts
authorAuthor id, name, profile URL, and picture
image, video, video_filesAttached media when present
external_url, attached_postLinked content when present

Page and place searches return a row per page or place with its name, link, id, picture, and verification flag. Example post (trimmed):

{
  "post_id": "122121471735295264",
  "type": "post",
  "url": "https://www.facebook.com/permalink.php?story_fbid=pfbid0o43JUZ...&id=61588857940219",
  "message": "Hey everyone! We are opening our mobile coffee trailer next month. Stay tuned for updates. ...",
  "timestamp": 1791414785,
  "comments_count": 56,
  "reactions_count": 1974,
  "reshare_count": 52,
  "reactions": { "angry": 2, "care": 11, "haha": 1, "like": 1429, "love": 531, "sad": 0, "wow": 0 },
  "author": {
    "id": "100000000000001",
    "name": "Example Coffee Co.",
    "url": "https://www.facebook.com/people/Example-Coffee-Co/100000000000001/"
  },
  "image": { "height": 1440, "width": 1080, "id": "122121471507295264" },
  "video": null
}

Pages, profiles, and reels

Profiles, reels, pages with contact details, and the keyword-list input return one row per result with these fields (the dataset's "Pages, profiles, and reels" view):

FieldDescription
facebookUrl, searchTypeThe search the row came from and its type
id, name, urlPage or profile id, name, and public URL
profilePictureUrl, isVerifiedPicture (a CDN link that expires) and verification flag
descriptionText shown under a page in search
bioThe profile's public intro (work, school, places) where Facebook shows one to logged-out visitors; null when it shows none
postId, text, time, likes, comments, shares, user, mediaPost fields from the keyword-list posts search
postId, caption, authorName, createdAt, durationMs, viewCount, reactionCount, commentCount, shareCountReel fields
title, pageName, pageId, pageUrl, categories, intro, followers, likesPages with contact details: page record
phone, email, website, address, rating, business_hours, ad_statusPages with contact details: public contact fields

❓ FAQ

Is it legal to scrape Facebook search?

The actor only reads results that Facebook shows to logged-out visitors. Check Facebook's terms and privacy laws such as GDPR for your use case, especially for personal data in posts.

Do I need a login or a proxy?

No login. Datacenter proxies are used by default. Residential is optional.

How many results can I get?

As many as you set, until Facebook has no more results. One logged-out search ends after a few hundred results; for posts and global search without a date range the run goes past that, so one keyword can return far more posts, and duplicates are dropped within the keyword. Pages, places, profiles and reels have no date filter, so they stop at what one search returns.

Which search type includes phone and email?

Pages with contact details. Pages and profile search return the fields shown on the search result, not the full about section.

What if a field is empty?

Fields such as video or external_url are null when the post has no such attachment. Facebook does not show every field for every page or profile.

Can I schedule it or call it from the API?

Yes. Use Schedules for recurring runs, or start it and read the dataset as JSON, CSV, or Excel through the Scrape.ly API, CLI, or from AI agents through the Scrape.ly MCP server.

⚠️ Limits

  • Public results only. It does not scrape a specific page's post feed or a post's comments.
  • Date filters and Recent posts apply to posts and global search, not to pages, places, profiles, or reels.
  • Location is passed to Facebook as a filter string, not resolved to a city id, so matching depends on Facebook.
  • Media and picture links point to Facebook's CDN, expire, and their hosts can differ between runs.
  • Facebook ends one logged-out search after a few hundred results. Posts and global search (without your own date range) continue month by month back in time until Maximum results, four empty months in a row, or shortly before the run timeout. Pages, places, profiles and reels stop at one search: in tests about 620 to 820 pages, 160 places, about 100 reels, and about 10 to 13 profiles per keyword (the first page of Facebook's public people directory for the keyword, the only profile list it shows to logged-out visitors; its next pages ask for a login). The run stops cleanly and its status says Facebook returned no more results.
  • Reels are filled from each reel's page, which adds about 1 MB of proxy traffic per reel.
  • Pages with contact details depends on a Google search service. If it is unavailable the run falls back to a single browser session and can stop when throttled.
//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.