Skip to content
//Facebook Search Scraper example\\

Coffee shop places, 10 results

Search Facebook places by keyword.

Updated December 5, 2026

What this example returns

This example returns up to 10 results.

The dataset’s “Overview” view shows 8 columns: Type, URL, Name, Post text, Published, Reactions, Comments, and Shares. See every output field.

What each setting does

The input this example runs Facebook Search Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search query query

coffee shop

Keyword to search for, the same text you would type into Facebook search.

Search type search_type

Places

Which public results to return. Pages with contact details finds Facebook pages through Google and opens each public page for phone, email, website, address, rating, and followers; each of those pages is charged as a page with details instead of a result.

Default: Posts → this example uses Places

Maximum results max_posts

10

How many results to save for the whole run. The run stops when it reaches this number or when Facebook has no more results. Posts and global search without a date range go on month by month back in time after one search ends; pages, places and reels stop after a few hundred per keyword, profiles after about 10 to 13…

Recent posts recent_posts

No

Sort post results by most recent instead of relevance. Applies to posts and global search. When a date is set, Facebook's date filter is used instead.

.json
{
  "query": "coffee shop",
  "search_type": "places",
  "max_posts": 10,
  "recent_posts": false
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Resultfrom $0.00153One post, page, place, profile, or reel saved from a Facebook search.
  • Page with detailsfrom $0.00306One Facebook page found through Google and saved with its public page details (search type: pages with contact details). Charged instead of a result.
  • Actor start$0.00044Charged once per run.

Full pricing

When to use this example

From the Facebook Search Scraper readme:

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.

Known limit

Date filters and Recent posts apply to posts and global search, not to pages, places, profiles, or reels.

Other ways to run Facebook Search Scraper

All examples of Facebook Search Scraper

About Facebook Search Scraper

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

Price:
From $1.53 / 1,000 results
Developer:
Echofield

Facebook Search Scraper pageOutput fieldsPricing

Related actors

//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.