# Qualified Facebook B2B Leads — Contacts Only

**Use case:** 

Find active Facebook business pages by keyword and location. Keep only qualified pages with a public email, phone, or website.

## Input

```json
{
  "mode": "search",
  "profileUrls": [
    "https://www.facebook.com/NASA",
    "https://www.facebook.com/cocacola",
    "https://www.facebook.com/Microsoft",
    "https://www.facebook.com/nike",
    "https://www.facebook.com/starbucks",
    "https://www.facebook.com/redbull",
    "https://www.facebook.com/google",
    "https://www.facebook.com/amazon"
  ],
  "searchKeywords": [
    "marketing agency",
    "web design agency"
  ],
  "searchLocation": "Miami, Florida",
  "maxResultsPerKeyword": 25,
  "maxResults": 200,
  "outputPreset": "full",
  "maxPosts": 25,
  "maxPostPages": 5,
  "postsSince": "2026-08-01",
  "postsUntil": "2026-08-31",
  "postKeyword": "",
  "scrapePosts": false,
  "sinceDays": 0,
  "enrichEmailViaGoogle": true,
  "emailDomains": [],
  "minFollowers": 100,
  "maxFollowers": 0,
  "minActivityScore": 40,
  "verifiedOnly": false,
  "businessPagesOnly": true,
  "onlyWithContact": true,
  "trackChanges": false,
  "onlyChanged": false,
  "maxConcurrency": 15,
  "timeout": 20,
  "maxRetries": 2,
  "dedupe": true,
  "fastMode": false,
  "notifyWebhookUrl": ""
}
```

## Output

```json
{
  "fullName": {
    "label": "Name",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "primaryEmail": {
    "label": "Primary email",
    "format": "string"
  },
  "primaryPhone": {
    "label": "Primary phone",
    "format": "string"
  },
  "primaryWebsite": {
    "label": "Primary website",
    "format": "string"
  },
  "instagramUrl": {
    "label": "Instagram URL",
    "format": "string"
  },
  "messengerUrl": {
    "label": "Messenger URL",
    "format": "string"
  },
  "whatsappUrl": {
    "label": "WhatsApp URL",
    "format": "string"
  },
  "profileUrl": {
    "label": "Facebook profile URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Facebook Profile & Posts Scraper | No Login | Bulk](https://apify.com/apivault_labs/facebook-profile-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/apivault_labs/facebook-profile-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/apivault_labs/facebook-profile-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`).
