# Facebook Pages by Keyword: Find Local Businesses and Brands

**Use case:** 

Search Facebook for Pages by keyword and get a list with name, URL and Page ID, without a Facebook login. Try a business type plus a city, such as yoga studio in Austin, to build a list of local businesses or brands to follow up on. Pass the URLs to a posts or comments scraper. $2.4 per 1,000 results.

## Input

```json
{
  "queries": [
    "yoga studio austin",
    "pilates studio austin"
  ],
  "searchType": "pages",
  "maxResultsPerQuery": 30,
  "sortBy": "recent",
  "monitor": false,
  "monitorName": "default",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "status": {
    "label": "Status"
  },
  "query": {
    "label": "Keyword"
  },
  "searchType": {
    "label": "Type"
  },
  "authorName": {
    "label": "Author"
  },
  "name": {
    "label": "Name"
  },
  "createdAt": {
    "label": "Posted at",
    "format": "date"
  },
  "textContainsQuery": {
    "label": "Text has keyword"
  },
  "text": {
    "label": "Text"
  },
  "description": {
    "label": "Description"
  },
  "reactionCount": {
    "label": "Reactions",
    "format": "number"
  },
  "commentCount": {
    "label": "Comments",
    "format": "number"
  },
  "shareCount": {
    "label": "Shares",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "reason": {
    "label": "Why not returned"
  },
  "detail": {
    "label": "Detail"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Facebook Search Scraper 💰 $2.4/1K · No Login · Posts & Pages Actor is ready to run with the inputs already set for "Facebook Pages by Keyword: Find Local Businesses and Brands". [Sign up or log in](https://console.apify.com/create-task-from-example/5iSCe9vJbsHv2lo7x) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Facebook Pages by Keyword: Find Local Businesses and Brands" task

The Facebook Search Scraper 💰 $2.4/1K · No Login · Posts & Pages Actor will start running based on the input automatically. You can also change all the input fields, like search keywords, what to search, and more, to match your specific use case.

### 3. Receive the "Facebook Pages by Keyword: Find Local Businesses and Brands" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, keyword, type, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Facebook Pages by Keyword: Find Local Businesses and Brands" task via API](https://apify.com/first-penguin/facebook-search-scraper.md).

## FAQ

### How many Pages can I get per keyword?

It depends on the keyword. Without a login, Facebook stops returning results after roughly 50 to 200 for narrow terms. Use several specific keywords instead of one broad one.

### Can I limit results to one city?

Put the city in the keyword, for example yoga studio austin. The location filter is only a hint and is not strict.

### What can I do with the list?

Pass the Page URLs to a Facebook posts or comments scraper, or import the list into a spreadsheet or CRM.

## About this Actor

This example demonstrates how to use [Facebook Search Scraper 💰 $2.4/1K · No Login · Posts & Pages](https://apify.com/first-penguin/facebook-search-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/first-penguin/facebook-search-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/first-penguin/facebook-search-scraper.md

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`).
