# Public Website Business Evidence (`sapph1re/public-website-business-evidence`) Actor

Extract source-grounded business contacts, addresses, and organization social profiles from public websites, with one explicit evidence card per domain.

- **URL**: https://apify.com/sapph1re/public-website-business-evidence.md
- **Developed by:** [Roman V](https://apify.com/sapph1re) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 domain evidence cards

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Public Website Business Evidence

Turn a list of public business websites into explicit, source-grounded evidence cards. Every valid requested domain gets one result, including domains with no supported contacts and domains that fail to load.

### Why this Actor

- Every email, phone, address, and organization social profile includes its source URL and a bounded evidence excerpt.
- Phone extraction requires a `tel:` link or an explicit phone label. Calendar dates, registration IDs, and loose digit sequences are not treated as phone numbers.
- Primary contacts are selected deterministically. The result explains why a value was chosen or why no eligible value exists.
- Duplicate domains and canonical-equivalent contacts collapse before billing.
- Empty, partial, and failed domains have explicit statuses instead of disappearing from a batch.
- The crawler is HTTP-first and bounded to likely public contact, about, legal, imprint, company, team, terms, and privacy pages.

### Input

Add one to 50 public HTTP or HTTPS websites to `urls`. Each entry is an object with `url` and an optional `label`.

The defaults visit up to eight pages per domain, include public addresses and organization social profiles, and process four domains concurrently. Lower `maxPagesPerDomain` for a faster home-page-only or shallow check.

### Output

Each dataset row includes:

- A stable evidence card ID, requested URL, final URL, label, domain, and timestamp.
- `SUCCESS_WITH_EVIDENCE`, `SUCCESS_NO_EVIDENCE`, partial, or failed status with a plain-language reason.
- Source-grounded emails, strict phones, public addresses, and organization social profiles.
- A deterministic primary email and phone plus the selection reason.
- Every visited page and any page-level errors.
- Counts for pages and every evidence type.

The default key-value-store `OUTPUT` record contains run totals, invalid inputs, duplicate-domain counts, and maximum-charge status.

### Evidence and confidence

An email found in a visible `mailto:` link has stronger evidence than a loose text match. A phone found in a `tel:` link has stronger evidence than a labeled text value. Social links must be supported profile URLs, and non-LinkedIn profiles found away from the home or contact page must match the organization identity.

The Actor does not verify mailbox deliverability, phone ownership, or whether an address is currently staffed. It reports what the public website supports and shows the evidence used.

### Safety and scope

This Actor reads public HTML and plain-text pages over HTTP or HTTPS. It rejects local, private, reserved, and non-public network destinations, including redirects. It limits redirects, pages, request time, response size, and concurrency. It does not log in, bypass access controls, submit forms, or collect contacts from private sources.

# Actor input Schema

## `urls` (type: `array`):

One object per business website, with a URL and optional label. Duplicate domains are collapsed before billing.

## `maxPagesPerDomain` (type: `integer`):

Bounded crawl depth across the home page and likely contact, about, legal, imprint, and privacy pages.

## `includeSocialProfiles` (type: `boolean`):

Return supported organization profiles and exclude post, video, sharing, and unrelated personal links.

## `includeAddresses` (type: `boolean`):

Return source-grounded addresses from structured data, address elements, and explicit address labels.

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

Number of domains processed at once.

## `timeoutSecs` (type: `integer`):

Maximum time in seconds for each public page request.

## `maxContentBytes` (type: `integer`):

Hard response-size ceiling for each page.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://www.apify.com/",
      "label": "Apify"
    },
    {
      "url": "https://www.python.org/",
      "label": "Python"
    }
  ],
  "maxPagesPerDomain": 8,
  "includeSocialProfiles": true,
  "includeAddresses": true,
  "maxConcurrency": 4,
  "timeoutSecs": 20,
  "maxContentBytes": 1000000
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("sapph1re/public-website-business-evidence").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("sapph1re/public-website-business-evidence").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 '{}' |
apify call sapph1re/public-website-business-evidence --silent --output-dataset

```

## MCP server setup

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

```

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/d4R0Yvf0E483oo0M4/builds/jiOn1fndArWQac0z1/openapi.json
