# Business Website Contacts & Social Media Presence (`nextgensda/business-presence`) Actor

For each business website: public emails and phones, the team, and its Instagram, Facebook, TikTok and YouTube accounts with followers, last post and posting frequency, checked to be the business's own. No browser, no login.

- **URL**: https://apify.com/nextgensda/business-presence.md
- **Developed by:** [Tauqeer Abbas](https://apify.com/nextgensda) (community)
- **Categories:** Lead generation, Social media, AI
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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

## Business Website Contacts & Social Media Presence

![Business Website Contacts & Social Media Presence: business emails, the people who run it, and when each social account last posted](https://api.apify.com/v2/key-value-stores/zfUSgL20S2pAMmltl/records/banner-2026-12-03.png?signature=992DKu9rM7YRgYdWKpCv)

Give it business websites. Get back, for each business:

- **Public contact details**: business email inboxes (info@, office@, hello@…) and phone numbers the business publishes, from its homepage, contact page and its Facebook page.
- **The people who run it**: names on the team / about page with their role or credential (Owner, Managing Partner, Founder, DDS, Esq.).
- **Its social accounts, and whether they're alive**: Instagram, Facebook, TikTok and YouTube with followers, **last post date**, **posts in the last 90 days**, and whether each account is really the business's own.
- **LinkedIn company and X links** the site publishes.
- **Website health**: working, dead (DNS, server error, expired), parked, or unreadable, plus the site builder (WordPress, Wix, Squarespace…).

One row per business. No browser, no login, no API keys.

### Who it's for

| You are | You look for |
|---|---|
| A social media agency | businesses whose Instagram or Facebook went quiet months ago |
| A web design / SEO agency | businesses with a dead, parked or unreadable website, or no public email |
| A B2B sales team | the owner's name and role plus a business inbox, for every account on your list |
| A CRM / data team | verified social profiles and contact points to enrich existing accounts |

Pair it with the [Google Maps Full Suite](https://apify.com/nextgensda/google-maps-full-suite) actor: its `website` field is this actor's input.

### Input

```json
{
  "websites": ["https://mozartscoffee.com/", "forestfamily.com"],
  "platforms": ["instagram", "facebook", "tiktok", "youtube"]
}
```

Or with your own IDs (returned as `businessId`), and accounts you already know:

```json
{
  "businesses": [
    {"id": "crm-123", "name": "Acme Dental", "website": "acmedental.com",
     "socials": ["https://www.instagram.com/acmedental/"]}
  ]
}
```

| Option | Default | |
|---|---|---|
| `readContactPage` | on | many businesses publish their email only there |
| `readTeamPage` | on | names and roles of the people who run the business |
| `includePeople` | on | add those people to each row |
| `includePersonalEmails` | **off** | staff members' own addresses (marked `personal`) |
| `facebookCadence` | off | Facebook posts per month (the last post date is always included) |

### Output

```json
{
  "businessId": "crm-123",
  "name": "Example Dental",
  "website": {"url": "https://example-dental.com/", "status": "ok", "domain": "example-dental.com",
              "cms": "wordpress", "contactPage": "https://example-dental.com/contact/",
              "teamPage": "https://example-dental.com/meet-the-team/"},
  "emails": [
    {"address": "info@example-dental.com", "kind": "role", "source": "homepage", "onDomain": "own"},
    {"address": "office@example-dental.com", "kind": "role", "source": "facebook_intro", "onDomain": "own"}
  ],
  "personalEmailsWithheld": 1,
  "phones": ["+15125550142"],
  "people": [{"name": "Jane Roe", "role": "Owner", "credential": "DDS", "source": "team_page"}],
  "accounts": [
    {"platform": "instagram", "url": "https://www.instagram.com/exampledental/", "status": "ok",
     "tier": "mutual", "evidence": ["linked from example-dental.com", "links to example-dental.com"],
     "followers": 1548, "postsTotal": 459, "lastPostAt": "2026-12-02T15:10:00+00:00",
     "daysSinceLastPost": 0.8, "posts90d": 10, "postsPerMonth90d": 3.3, "linkedByBusinesses": 1},
    {"platform": "facebook", "url": "https://www.facebook.com/exampledental", "status": "ok",
     "tier": "mutual", "followers": 262, "category": "Cosmetic Dentist", "daysSinceLastPost": 541.0,
     "phone": "+1 512-555-0142", "address": "100 Example St, Austin, TX", "ratingText": "96% recommend (20 reviews)"}
  ],
  "presence": {"platformsLinked": ["facebook", "instagram"], "activeLast30Days": ["instagram"],
               "activeLast90Days": ["instagram"], "inactiveOver180Days": ["facebook"],
               "daysSinceAnyPost": 0.8, "totalFollowers": 1810},
  "linkedin": {"companies": ["https://www.linkedin.com/company/example-dental/"], "profiles": []},
  "x": [],
  "flags": ["facebook_inactive_90d"]
}
```

#### Is the account really theirs? (`tier`)

Websites link to all sorts of accounts: their web designer's, a brand they sell, a blogger they liked. Each account says how it was matched:

| `tier` | Meaning |
|---|---|
| `mutual` | the website links the account **and** the account links back to the website: certain |
| `website` | the website links it (the best-placed link: header, footer or structured data) |
| `profile` | only the account links to the website (accounts you passed in `socials`) |

Site builders' and platforms' own accounts in footers (Wix, Squarespace, GoDaddy…) are left out. When several of your businesses link the same account (a chain's locations), it is read once and `linkedByBusinesses` says how many share it.

#### Emails

`kind` is `role` (info@, office@, frontdesk@…), `brand` (named after the business) or `personal` (a staff member's own address). **Personal addresses are left out unless you turn on `includePersonalEmails`**; `personalEmailsWithheld` counts them. Placeholder and web-vendor addresses (you@domain.com, your web agency's support address) are dropped. `onDomain`: `own` (the business's domain), `free` (Gmail, Yahoo…) or `other` (often a parent group's domain).

#### Good to know

- **Last post dates** are exact for Instagram, Facebook and TikTok; YouTube shows uploads as "3 weeks ago", so its dates are approximate (the account's `evidence` says so).
- **Posts in 90 days** come from the newest 12 posts: `cadenceLowerBound: true` means all 12 were in the window (the real number is higher).
- **Facebook pages that can't be seen** without logging in (removed, renamed, age-restricted bars, or a personal profile the site links) come back `status: "unavailable"` with the flag `facebook_link_broken`: the site points visitors at a page they can't see.
- `website.status` values: `ok`, `parked`, `not_found`, `server_error`, `dns_failed`, `tls_broken`, `timeout`, `unreachable`, `refused` (the site blocks automated visitors), `challenge`, `social_profile` (the "website" was a Facebook/Instagram page).
- Only public pages are read. You're responsible for how you use the data, including contacting people (GDPR, CAN-SPAM, PECR).

### Pricing

Pay per result:

| Event | Price | When |
|---|---|---|
| `website-scanned` | $0.003 | each business whose website was checked (dead sites included: that's an answer too) |
| `social-profile` | $0.004 | each social account read (an account shared by several businesses is charged once; accounts that can't be read aren't charged) |
| Actor start | $0.001 | once per run |

100 businesses with about 140 accounts cost about $0.85.

# Actor input Schema

## `websites` (type: `array`):

Business websites, one per line (<code>https://example.com</code> or <code>example.com</code>). Each becomes one result row.

## `businesses` (type: `array`):

Instead of (or as well as) Websites: objects like <code>{"id": "crm-123", "name": "Acme Dental", "website": "acmedental.com", "socials": \["https://instagram.com/acmedental"]}</code>. <code>id</code> comes back as <code>businessId</code> so you can join the results to your list; <code>socials</code> are accounts you already know (read even if the site doesn't link them). A business with only <code>socials</code> works too.

## `platforms` (type: `array`):

Which accounts to read.

## `readContactPage` (type: `boolean`):

Also read the site's contact page: many businesses publish their email only there.

## `readTeamPage` (type: `boolean`):

Also read the team or about page for the people who run the business (names with their role or credential, e.g. Owner, Managing Partner, DDS).

## `includePeople` (type: `boolean`):

Add the people named on the site (name, role, credential) to each row.

## `includePersonalEmails` (type: `boolean`):

Off: only business inboxes are returned (info@, office@, hello@ and addresses named after the business). On: staff members' own addresses published on the site are included too, marked <code>personal</code>. Check the rules that apply to you (e.g. GDPR) before contacting individuals.

## `facebookCadence` (type: `boolean`):

The last post date is always included. On: also read the page's recent posts for posts per month (slower, and Facebook sometimes refuses it: the row then keeps the last post date).

## `maxBusinesses` (type: `integer`):

The run stops after this many businesses.

## `maxConcurrency` (type: `integer`):

How many websites are read in parallel.

## `proxyConfiguration` (type: `object`):

Apify's datacenter proxy is enough for websites, TikTok and YouTube. Instagram and Facebook always use US residential proxies (they refuse datacenter IPs).

## Actor input object example

```json
{
  "websites": [
    "https://mozartscoffee.com/",
    "https://www.forestfamily.com/"
  ],
  "platforms": [
    "instagram",
    "facebook",
    "tiktok",
    "youtube"
  ],
  "readContactPage": true,
  "readTeamPage": true,
  "includePeople": true,
  "includePersonalEmails": false,
  "facebookCadence": false,
  "maxBusinesses": 1000,
  "maxConcurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Per business: website status, business emails, phones, people, which platforms were active in the last 30 days, which went quiet, and flags.

## `accounts` (type: `string`):

One line per social account: platform, link, match to the business, followers, days since the last post, posts in 90 days.

## `allFields` (type: `string`):

Every field: website details and pages read, emails with source and kind, people with roles, accounts with evidence, LinkedIn and X links.

# 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 = {
    "websites": [
        "https://mozartscoffee.com/",
        "https://www.forestfamily.com/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("nextgensda/business-presence").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 = {
    "websites": [
        "https://mozartscoffee.com/",
        "https://www.forestfamily.com/",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("nextgensda/business-presence").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 '{
  "websites": [
    "https://mozartscoffee.com/",
    "https://www.forestfamily.com/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call nextgensda/business-presence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nextgensda/business-presence"
        }
    }
}
```

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/RMqr27GjVuU7khhTt/builds/9P2g6MxEpARJkavmA/openapi.json
