# Facebook Local Business & Places Search Scraper (`alpha-scraper/facebook-local-business-places-search-scraper`) Actor

\[ 1k/1.49$ ] Facebook Local Business & Places Search Scraper finds local business Pages and places for a location, with optional category and keyword filters, from Facebook's public Places directory. Optional enrichment adds followers, address, phone, website, email, hours and reviews.

- **URL**: https://apify.com/alpha-scraper/facebook-local-business-places-search-scraper.md
- **Developed by:** [Alpha Scraper](https://apify.com/alpha-scraper) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Facebook Local Business & Places Search Scraper

**Facebook Local Business & Places Search Scraper** finds local business Pages and places for a city and returns them as structured data. Give Facebook Local Business & Places Search Scraper a location such as Austin, Texas, with an optional category and keyword filter, and it collects the places that Facebook lists publicly for that city, including restaurants, cafes, bars, hotels, museums and shops.

Each place can be enriched with followers, likes, address, coordinates, phone, website, e-mail, opening hours, price range and review data. Facebook Local Business & Places Search Scraper reads only public, logged-out Facebook content, so you need no Facebook account or login.

> **📌 At a glance**
>
> - **Input:** a city name, a list of cities or direct Facebook Places city URLs
> - **Output:** one record per local business or place, with optional contact and review details
> - **Filters:** category, keyword, event venues and a radius around a map point
> - **Coverage:** the curated top places Facebook shows for each city, not every business in the city

Marketers, sales teams, local SEO agencies and travel researchers use Facebook Local Business & Places Search Scraper for local lead lists, market mapping and place research. Every Facebook place comes back in the same JSON structure, ready for a spreadsheet or CRM.

### 🔹 Facebook Local Business & Places Search Scraper – Key Features

Facebook Local Business & Places Search Scraper is built around the public Facebook Places directory.

- **City-based discovery:** enter `City, Region` or `City, Country`, or use direct Facebook Places city URLs.
- **Nine Facebook place categories:** restaurants, bars, cafe, hotels, museum, nightlife, outdoor, shopping and sightseeing.
- **Flexible filters:** keep whole Facebook categories, match free text such as pizza or dentist, or require keywords.
- **Enrichment levels:** choose full Facebook Page details, a basic profile or the listing data only.
- **Radius filter:** keep only Facebook places within a distance of a latitude and longitude.
- **Event venues:** optionally add the Facebook venues of events the city page recommends.
- **More cities:** crawl extra cities of the same country after the first one.
- **Deep enrichment:** add the Facebook About description, creation date, ad status and owner.
- **Stable fields:** Facebook Local Business & Places Search Scraper keeps enrichable fields present as `null` when a value is missing.

> **✅ Why use this Actor**
>
> Copying places from Facebook city pages by hand is slow. Facebook Local Business & Places Search Scraper walks the public Facebook Places directory, applies your filters and returns clean records you can export as JSON, CSV or Excel.

### 🔍 What Data Does Facebook Local Business & Places Search Scraper Extract?

Each dataset item from Facebook Local Business & Places Search Scraper describes one Facebook place. The table groups the fields.

| Group | Fields | What you get |
|---|---|---|
| Identity | `pageId`, `name`, `title`, `url`, `username`, `pageKind`, `type` | Page id, names and link |
| Listing | `placeType`, `category`, `categories`, `listing` | Category and position in the city list |
| Location | `city`, `cityId`, `cityUrl`, `country`, `countryId`, `address`, `latitude`, `longitude`, `distanceKm` | City, address and map position |
| Contact | `phone`, `email`, `website`, `websites`, `messenger`, `socialMedia` | Ways to reach the business |
| Business | `hours`, `priceRange`, `services`, `serviceArea`, `intro` | Opening hours, price and services |
| Reviews | `rating`, `ratingScale`, `ratingText`, `recommendPercent`, `reviewCount`, `reviewsUrl` | Public review data |
| Audience | `followers`, `likes`, `talkingAboutCount`, `wereHereCount`, `verified` | Public Facebook reach numbers |
| Media | `profilePictureUrl`, `coverPhotoUrl` | Links to the Facebook images |
| Meta | `enriched`, `number`, `scrapedAt` | Enrichment status, position and time |

Fields such as `address` or `phone` are `null` when the Facebook Page does not show them. Many Facebook places are listed without full contact data.

### 🚀 How to Use Facebook Local Business & Places Search Scraper

Running Facebook Local Business & Places Search Scraper takes a few steps in Apify Console.

- **Step 1 – Open the Actor:** start Facebook Local Business & Places Search Scraper from the Apify Store and open the Input tab.
- **Step 2 – Enter a location:** type a city in `location`, or add more cities in `locations` or `cityUrls`.
- **Step 3 – Filter Facebook places:** pick `category` values and an optional `keyword`.
- **Step 4 – Choose the detail level:** set `enrich` to full, basic or off.
- **Step 5 – Set a limit:** use `maxItems` to cap the total number of places.
- **Step 6 – Run and export:** start the run, then download JSON, CSV or Excel.

> **💡 Tip:** the input is prefilled with Austin, Texas. Replace `location` with your own city before you run Facebook Local Business & Places Search Scraper.

### 📥 Facebook Local Business & Places Search Scraper Input

Facebook Local Business & Places Search Scraper has 15 input fields. All are optional, but at least one of `location`, `locations` or `cityUrls` is needed.

| Field | Type | Description |
|---|---|---|
| `location` | string | City and region or country, such as `Austin, Texas`. A country name uses its cities. |
| `locations` | array | More locations in the same format. Default is empty. |
| `country` | string | Optional country hint, such as `United States`, that speeds up the lookup. |
| `cityUrls` | array | Direct Facebook Places city URLs. |
| `category` | array | Keep only these categories: `restaurants`, `bars`, `cafe`, `hotels`, `museum`, `nightlife`, `outdoor`, `shopping`, `sightseeing`. Synonyms like coffee or pub work. Other text is matched against name and categories. Empty keeps all. |
| `keyword` | string | Every word must occur in the place name or its categories. |
| `includeEventVenues` | boolean | Add venues of recommended events. Default true. |
| `nearLatitude` | number | Center latitude of the radius filter, from -90 to 90. |
| `nearLongitude` | number | Center longitude, from -180 to 180. |
| `radiusKm` | number | Radius in kilometers. Empty or 0 turns the filter off. |
| `enrich` | string | `full` (Facebook home page and About), `ids` (page id, followers, likes) or `none` (listing only). Default `full`. |
| `deepEnrich` | boolean | With `full` only: adds About description, creation date, ad status and owner. Default false. |
| `moreCities` | integer | Extra cities of the same country, in popularity order. Default 0. |
| `maxItems` | integer | Maximum places in total across all cities. Default 30, minimum 1. |
| `workers` | integer | Parallel enrichment workers, 1 to 4. Default 2. |

In Facebook Local Business & Places Search Scraper the radius filter needs `nearLatitude`, `nearLongitude` and `radiusKm` together. Places without coordinates are dropped, and enrichment switches on automatically when it was off.

Here is a sample input for Facebook Local Business & Places Search Scraper:

```json
{
  "location": "Berlin, Germany",
  "locations": ["Hamburg, Germany"],
  "country": "Germany",
  "cityUrls": [],
  "category": ["cafe", "bakery"],
  "keyword": "coffee",
  "includeEventVenues": false,
  "nearLatitude": 52.52,
  "nearLongitude": 13.405,
  "radiusKm": 10,
  "enrich": "full",
  "deepEnrich": false,
  "moreCities": 0,
  "maxItems": 50,
  "workers": 2
}
```

### 📤 Facebook Local Business & Places Search Scraper Output

Facebook Local Business & Places Search Scraper writes one record per place to the default dataset. Here is a fully enriched record with synthetic values:

```json
{
  "pageId": "100000000000001",
  "name": "Sample Coffee Roasters",
  "title": "Sample Coffee Roasters",
  "url": "https://www.facebook.com/samplecoffeeroasters",
  "username": "samplecoffeeroasters",
  "pageKind": "business_page",
  "type": "page",
  "category": "Coffee Shop",
  "categories": ["Coffee Shop"],
  "pageCategories": ["Coffee Shop"],
  "placeType": "cafe",
  "rating": 4.6,
  "ratingScale": 5,
  "ratingText": "94% recommend (120 reviews)",
  "recommendPercent": 94,
  "reviewCount": 120,
  "reviewsUrl": "https://www.facebook.com/samplecoffeeroasters/reviews",
  "profilePictureUrl": "https://example.com/profile.jpg",
  "coverPhotoUrl": "https://example.com/cover.jpg",
  "city": "Berlin, Germany",
  "cityId": "100000000000002",
  "cityUrl": "https://www.facebook.com/places/Things-to-do-in-Berlin-Germany/100000000000002/",
  "country": "Germany",
  "countryId": "100000000000003",
  "listing": { "source": "city_page", "tab": "cafe", "tabLabel": "Cafe", "position": 4 },
  "verified": false,
  "followers": 5400,
  "likes": 5200,
  "address": "1 Example Street, Berlin, Germany",
  "latitude": 52.521,
  "longitude": 13.41,
  "distanceKm": 0.4,
  "phone": "+49 30 0000000",
  "email": "hello@example.com",
  "website": "example.com",
  "websites": ["https://example.com"],
  "hours": "Mon-Fri 08:00-18:00",
  "priceRange": "$$",
  "enriched": true,
  "number": 1,
  "scrapedAt": "2026-11-06T15:20:00.000Z"
}
```

With `enrich` set to `none`, Facebook Local Business & Places Search Scraper leaves the enrichable fields as `null` and fills only the listing data.

#### 🧾 Output field guide

- `name`, `url` and `username` identify the Facebook Page, and `pageId` is filled once the Page is read.
- `placeType` is the Facebook list the place came from, such as `restaurants`, `cafe`, `hotels` or `event_venue`.
- `listing` shows the source, the tab and the position of the place in the city list.
- `city`, `country` and their ids tell you which Facebook Places city produced the record.
- `address`, `latitude`, `longitude` and `distanceKm` describe where the place is. `distanceKm` appears with the radius filter.
- `phone`, `email`, `website` and `websites` list the public Facebook contact details.
- `rating`, `ratingText`, `recommendPercent` and `reviewCount` summarise public Facebook reviews.
- `pageKind` is `business_page` or `unclaimed_place`.
- `enriched` is false when enrichment was off or failed, and `enrichError` then explains why.
- With `deepEnrich`, extra fields such as `about_me`, `creation_date`, `ad_status` and `confirmed_owner` are added.

### 🏙️ How to Find Local Businesses on Facebook by City with Facebook Local Business & Places Search Scraper

Facebook has no public free-text business search for logged-out visitors. Facebook Local Business & Places Search Scraper therefore matches your location by name against the public Places directory and reads the curated lists of that city.

Expect roughly 25 to 35 places per city across nine categories. Use `category` and `keyword` to narrow those lists, add `moreCities` for neighboring cities of the same country, and use `maxItems` to stop early.

For a map-based list, combine `nearLatitude`, `nearLongitude` and `radiusKm`. Facebook Local Business & Places Search Scraper then keeps only places inside the radius.

### 🎯 Facebook Local Business & Places Search Scraper Use Cases

Facebook Local Business & Places Search Scraper supports many local data workflows.

- **Local lead generation:** build lists of cafes, hotels or shops with Facebook Local Business & Places Search Scraper, including phone, e-mail and website.
- **Market mapping:** use Facebook Local Business & Places Search Scraper to compare how many Facebook places exist per category in each city.
- **Competitor research:** find similar businesses near a location and compare Facebook followers and ratings.
- **Local SEO audits:** check whether Facebook Page details are complete for a business group.
- **Travel and tourism:** collect restaurants, hotels and sights from Facebook for a destination guide.
- **Event venue research:** include Facebook venues that host recommended events.
- **Territory planning:** use the radius filter to cover the area of one sales team.

### 💰 Pricing

Facebook Local Business & Places Search Scraper runs on the Apify platform. The current pricing is shown on the Actor page in the Apify Store, and your cost depends on the number of results and the resources used by the run.

> **💡 Cost tip:** `full` enrichment loads more pages per place than `ids`, and `deepEnrich` loads more again. Start with a small `maxItems` and `enrich` set to `ids` or `none` to preview the places.

### 💡 Tips and Best Practices

- **Start small:** a first run of Facebook Local Business & Places Search Scraper with 10 places shows the fields and the coverage.
- **Use the exact city name:** write `City, Region` or `City, Country`, or paste the Facebook Places city URL.
- **Add a country hint:** `country` speeds up the lookup of your locations.
- **Pick categories first:** tab names such as `cafe` select a whole Facebook list.
- **Use the radius with coordinates:** places without coordinates cannot pass the radius filter.
- **Remember the total limit:** `maxItems` counts places across all cities.
- **Check nulls:** a `null` field means Facebook does not show that value.

> **⚠️ Important:** only collect data you are allowed to use. Business pages can include phone numbers and e-mails that are personal data in some cases, so follow Facebook's terms and rules such as GDPR. This Actor is not affiliated with or endorsed by Meta.

### ❓ Frequently Asked Questions

#### 🔎 What is Facebook Local Business & Places Search Scraper?

Facebook Local Business & Places Search Scraper is an Apify Actor that collects local business Pages and places from the public Facebook Places directory for a city and returns them with optional contact and review details.

#### 🧭 How do I find businesses in a city on Facebook with Facebook Local Business & Places Search Scraper?

Enter the city in `location`, choose a `category` if you like and start Facebook Local Business & Places Search Scraper. The places of that city appear in the dataset.

#### 🔐 Does Facebook Local Business & Places Search Scraper need a Facebook login?

No. Facebook Local Business & Places Search Scraper reads publicly visible Facebook content, so no account or API key is required.

#### 🔤 Can Facebook Local Business & Places Search Scraper search Facebook for any business name?

No. There is no free-text search. Results are the curated top places that Facebook shows for each city, so a specific business may not be included.

#### 📍 Can I search near a map point with Facebook Local Business & Places Search Scraper?

Yes. Set `nearLatitude`, `nearLongitude` and `radiusKm`. Only places inside the radius are returned.

#### 📞 Can I get phone numbers, websites and e-mails from Facebook Pages?

Yes, with `enrich` set to `full`. Facebook Local Business & Places Search Scraper returns them when the Page shows them publicly.

#### 🏷️ Which categories does Facebook Local Business & Places Search Scraper support?

The nine lists are restaurants, bars, cafe, hotels, museum, nightlife, outdoor, shopping and sightseeing. Other text is matched against place names and categories.

#### 🌍 Can Facebook Local Business & Places Search Scraper scrape several Facebook cities in one run?

Yes. Use `locations`, `cityUrls` or `moreCities`. The `maxItems` limit applies to the whole run.

#### 📊 Can I export Facebook Local Business & Places Search Scraper results to CSV or Excel?

Yes. Any Apify dataset can be downloaded as JSON, CSV, Excel, XML or HTML, or read through the Apify API.

#### 🧐 Why are some fields empty in Facebook Local Business & Places Search Scraper results?

Places show different details. When Facebook does not show a value, Facebook Local Business & Places Search Scraper returns `null`.

#### ⏰ Can I refresh a Facebook place list regularly?

Yes. Schedule Facebook Local Business & Places Search Scraper in Apify and compare each dataset with the last one.

### 📞 Support

If you have questions, ideas for new fields or a city that does not resolve, send the location and the input you used.

- Contact me by email: alphascraper69@gmail.com

# Actor input Schema

## `location` (type: `string`):

City and region or country, e.g. Austin, Texas or Paris, France. A country name uses its cities (see 'More cities'). It is matched by name against Facebook's public Places directory.

## `locations` (type: `array`):

More locations, in the same format as 'Location'.

## `country` (type: `string`):

Optional country, e.g. United States. Speeds up the lookup of the locations.

## `cityUrls` (type: `array`):

Direct Facebook Places city URLs, e.g. https://www.facebook.com/places/Things-to-do-in-Austin-Texas/106224666074625/.

## `category` (type: `array`):

Keep only places of these categories. Tab names select a whole list: restaurants, bars, cafe, hotels, museum, nightlife, outdoor, shopping, sightseeing (synonyms such as coffee, pub, hotel or park also work). Any other text, e.g. pizza or dentist, is matched against the place name and categories. A place matches if it fits any entry. Empty keeps all places.

## `keyword` (type: `string`):

Extra filter: every word must occur in the place name or its categories, e.g. coffee roasters.

## `includeEventVenues` (type: `boolean`):

Also include the Page venues of the events that the city page recommends.

## `nearLatitude` (type: `number`):

Radius filter, together with 'Near longitude' and 'Radius': keep only places within the radius of this point. Places without coordinates are dropped, and enrichment is switched on automatically if it was off.

## `nearLongitude` (type: `number`):

Longitude of the radius filter centre (needs 'Near latitude' and 'Radius').

## `radiusKm` (type: `number`):

Radius of the filter around 'Near latitude' / 'Near longitude'. Empty or 0 disables the radius filter.

## `enrich` (type: `string`):

How much is fetched for every place. Full adds 2 requests per place (followers, likes, address, coordinates, phone, website, email, hours, price range, recommend percentage and review count). Basic adds 1 request (page id, followers, likes). Off returns the listing data only.

## `deepEnrich` (type: `boolean`):

Only with 'Enrichment level' set to Full: 2 more requests per place for the About description, creation date, ad status and owner.

## `moreCities` (type: `integer`):

Extra cities of the same country to crawl after each resolved city. The country list is in popularity order, not geographic. If 'Location' is only a country name, this many of its cities are used (5 when 0).

## `maxItems` (type: `integer`):

Maximum number of places in total, across all cities.

## `workers` (type: `integer`):

Number of parallel clients used for enrichment (1 to 4). Only used when enrichment is on.

## Actor input object example

```json
{
  "location": "Austin, Texas",
  "locations": [],
  "cityUrls": [],
  "category": [
    "cafe",
    "shopping",
    "restaurants"
  ],
  "includeEventVenues": true,
  "enrich": "full",
  "deepEnrich": false,
  "moreCities": 0,
  "maxItems": 15,
  "workers": 2
}
```

# Actor output Schema

## `results` (type: `string`):

Structured records extracted by Facebook Local Business & Places Search Scraper and stored in the run's default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "location": "Austin, Texas",
    "category": [
        "cafe",
        "shopping",
        "restaurants"
    ],
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/facebook-local-business-places-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "location": "Austin, Texas",
    "category": [
        "cafe",
        "shopping",
        "restaurants",
    ],
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/facebook-local-business-places-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "location": "Austin, Texas",
  "category": [
    "cafe",
    "shopping",
    "restaurants"
  ],
  "maxItems": 15
}' |
apify call alpha-scraper/facebook-local-business-places-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alpha-scraper/facebook-local-business-places-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/VbU5PzG5Khmo39gMf/builds/Wogg4vOTx9Awqs1ig/openapi.json
