# Website Contact Scraper — Emails, Phones, Socials & Pricing (`spiky_closet/website-contacts-pricing-intel`) Actor

Single-call B2B website enrichment: verified emails, phones, 12+ socials, SaaS /pricing tiers & PLG flags, DNS MX/SPF & /llms.txt Markdown briefs. Live Top-100 /llms.txt & Pricing Index: https://yun87457-web.github.io/website-contacts-pricing-mcp/

- **URL**: https://apify.com/spiky_closet/website-contacts-pricing-intel.md
- **Developed by:** [AdPulse Labs](https://apify.com/spiky_closet) (community)
- **Categories:** Lead generation, Marketing, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 1,000 domain enrichment 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

## Website Contacts Scraper, Email & Social Links Extractor, SaaS Pricing Page Parser & MCP Server

Extract verified contact emails, phone numbers, 12+ social profile links, SaaS `/pricing` tiers and PLG signals, live DNS MX/SPF email provider metadata, and `/llms.txt` or clean Markdown company briefs from any company domain, URL, or work email.

Built as a stateless Go binary with zero headless browser overhead (`128–256 MB` RAM). Runs in Apify Batch mode, Apify Standby REST API mode, or as a Streamable HTTP **MCP Server** (`POST /mcp`).

***

### Core Capabilities

#### Website Contacts Scraper & Email & Social Links Extractor

- Crawls the homepage plus key internal pages (`/contact`, `/about`, `/pricing`) up to `maxPagesPerDomain` (1–8, default 4).
- Extracts deduplicated email addresses with role classification (`sales`, `support`, `press`, `hr`, `security`, `founder`, `general`) and source page provenance, filtering out asset filenames and placeholder addresses.
- Extracts normalized phone numbers and 12+ canonical social links (`linkedin`, `x`, `github`, `youtube`, `instagram`, `facebook`, `tiktok`, `discord`, `slack`, `medium`, `substack`, `crunchbase`).

#### SaaS Pricing Page Parser

- Discovers and fetches `/pricing` (or linked pricing pages).
- Extracts detected price points (`pricesFound`), tier names (`tierNames`), and boolean PLG signals: `hasFreeTier`, `hasFreeTrial`, `hasEnterpriseTier`, `hasUsageBased`, `hasSelfServeSignup`.
- Emits a flat `pricingSummary` string for spreadsheet, CRM, and Clay workflows.

#### /llms.txt & Markdown Brief

- Checks `/llms.txt` first; when present, uses it as the structured `companyBrief` (`briefSource: "llms.txt"`).
- Falls back to clean HTML-to-Markdown conversion (`briefSource: "html"`) stripped of navigation, scripts, and boilerplate, capped at ~4,000 characters for direct LLM context injection.
- Also exposes standalone single-page Markdown extraction via `GET /markdown?url=...` and the `extract_page_markdown` MCP tool.

#### DNS MX/SPF Email Provider Signals

- Resolves live DNS MX and TXT/SPF records for each domain.
- Identifies `emailProvider` (`Google Workspace`, `Microsoft 365`, `Proton`, `Zoho`, `Fastmail`, `Custom`, `Unknown`), `hasMx`, `hasSpf`, `mxHosts`, and `isDisposable`.

***

### Pricing (Pay-Per-Event, $0 Start Fee)

- **Event**: `domain-enriched`
- **Rate**: `$0.0005` per enriched domain (**`$0.50` per 1,000 domains**)
- **Start fee**: `$0`
- **Apify Free tier**: Up to **10,000 free domains per month** using the included `$5.00/mo` Apify Free credit (batch runs on non-paying accounts are capped at 100 domains per run).
- **Empty input protection**: Explicit empty requests (`{"domains": []}`) emit 0 items and incur `$0`.

***

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `domains` | `string[]` | `["stripe.com", "linear.app", "vercel.com"]` (prefill) | Company domains, URLs, or work emails (`ops@stripe.com`). |
| `domain` | `string` | `""` | Single domain/URL/email shorthand (merged with `domains`). |
| `urls` | `string[]` | `[]` | Alias for `domains`. |
| `includePricing` | `boolean` | `true` | Parse `/pricing` tiers and PLG signals. |
| `includeLlmsTxt` | `boolean` | `true` | Fetch `/llms.txt` when available. |
| `includeMarkdown` | `boolean` | `true` | Include clean Markdown excerpt and `companyBrief`. |
| `includeDns` | `boolean` | `true` | Resolve DNS MX/SPF records and email provider. |
| `maxPagesPerDomain` | `integer` | `4` | Max pages fetched per domain (`1`–`8`). |
| `maxResults` | `integer` | `0` | Hard cap on total domains processed (`0` = all inputs). |
| `maxItems` | `integer` | `0` | Alias for `maxResults`. |
| `concurrency` | `integer` | `8` | Parallel domain workers (`1`–`25`). |

***

### Sample JSON Output

```json
{
  "domain": "linear.app",
  "canonicalUrl": "https://linear.app",
  "statusCode": 200,
  "companyName": "Linear",
  "tagline": "Plan and build products",
  "description": "Linear streamlines issues, projects, and product roadmaps.",
  "primaryEmails": "sales@linear.app, support@linear.app, security@linear.app",
  "emails": [
    {
      "email": "sales@linear.app",
      "role": "sales",
      "sourcePage": "https://linear.app/contact"
    },
    {
      "email": "support@linear.app",
      "role": "support",
      "sourcePage": "https://linear.app/contact"
    },
    {
      "email": "security@linear.app",
      "role": "security",
      "sourcePage": "https://linear.app/about"
    }
  ],
  "phones": [],
  "socialLinks": {
    "github": "https://github.com/linear",
    "linkedin": "https://www.linkedin.com/company/linearapp",
    "x": "https://x.com/linear"
  },
  "socialLinksSummary": "github, linkedin, x",
  "pricing": {
    "pricingUrl": "https://linear.app/pricing",
    "pricesFound": ["$0", "$8", "$14"],
    "tierNames": ["Free", "Basic", "Business", "Enterprise"],
    "hasFreeTier": true,
    "hasFreeTrial": false,
    "hasEnterpriseTier": true,
    "hasUsageBased": false,
    "hasSelfServeSignup": true
  },
  "pricingSummary": "Free, Basic, Business, Enterprise ($0, $8, $14)",
  "dns": {
    "hasMx": true,
    "mxHosts": ["aspmx.l.google.com", "alt1.aspmx.l.google.com"],
    "hasSpf": true,
    "emailProvider": "Google Workspace",
    "isDisposable": false
  },
  "briefSource": "llms.txt",
  "llmsTxtUrl": "https://linear.app/llms.txt",
  "companyBrief": "# Linear\n\nLinear is a purpose-built tool for planning and building software products...",
  "pagesCrawled": [
    "https://linear.app",
    "https://linear.app/contact",
    "https://linear.app/pricing",
    "https://linear.app/llms.txt"
  ],
  "latencyMs": 642
}
```

***

### Standby REST API & Integration Recipes

Apify Standby mode exposes a persistent HTTP server with zero cold starts:

| Endpoint | Method | Description |
| :--- | :--- | :--- |
| `/` | `GET` | Service metadata and endpoint list |
| `/healthz` | `GET` | Health check (`{"ok":true}`) |
| `/enrich?domain=stripe.com` | `GET` | Enrich a single domain, URL, or work email |
| `/enrich` | `POST` | Batch-enrich multiple domains (`{"domains":[...]}`) |
| `/markdown?url=https://stripe.com/pricing` | `GET` | Convert any public URL to clean Markdown |
| `/mcp` | `POST` | Streamable HTTP MCP JSON-RPC 2.0 endpoint (`GET /mcp` returns `405`) |

#### cURL (Single Domain & Batch)

```bash
## Single domain enrichment
curl -s "https://<YOUR_STANDBY_URL>/enrich?domain=linear.app" \
  -H "Authorization: Bearer $APIFY_TOKEN"

## Batch domain enrichment
curl -s -X POST "https://<YOUR_STANDBY_URL>/enrich" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": ["stripe.com", "linear.app", "vercel.com"],
    "includePricing": true,
    "includeLlmsTxt": true,
    "includeDns": true
  }'

## Clean Markdown extraction from any URL
curl -s "https://<YOUR_STANDBY_URL>/markdown?url=https://stripe.com/pricing" \
  -H "Authorization: Bearer $APIFY_TOKEN"
```

#### Python (`requests`)

```python
import os
import requests

STANDBY_URL = "https://<YOUR_STANDBY_URL>"
TOKEN = os.environ["APIFY_TOKEN"]

resp = requests.post(
    f"{STANDBY_URL}/enrich",
    headers={"Authorization": f"Bearer {TOKEN}"},
    json={
        "domains": ["stripe.com", "linear.app", "vercel.com"],
        "includePricing": True,
        "includeLlmsTxt": True,
        "includeDns": True,
    },
    timeout=60,
)
resp.raise_for_status()
data = resp.json()
for item in data["items"]:
    print(item["domain"], item.get("primaryEmails"), item.get("pricingSummary"))
```

#### Clay (HTTP API Enrichment Column)

1. Add an **HTTP API** enrichment column in Clay.
2. Set Method to `GET` and Endpoint to:
   `https://<YOUR_STANDBY_URL>/enrich?domain={{Company Domain}}`
3. Add header `Authorization: Bearer <APIFY_TOKEN>`.
4. Map flat fields directly to columns: `companyName`, `primaryEmails`, `socialLinksSummary`, `pricingSummary`, `pricing.hasFreeTier`, `pricing.hasEnterpriseTier`, `dns.emailProvider`, `companyBrief`.

#### n8n (HTTP Request Node)

1. Add an **HTTP Request** node (`POST https://<YOUR_STANDBY_URL>/enrich`).
2. Authentication: **Header Auth** (`Authorization: Bearer <APIFY_TOKEN>`).
3. Body Content Type: `JSON`:
   ```json
   {
     "domains": ["{{ $json.domain }}"],
     "includePricing": true,
     "includeLlmsTxt": true,
     "includeDns": true
   }
   ```

***

### MCP Server Configuration

Connect any MCP client (Claude Desktop, Cursor, Windsurf, LangChain, CrewAI, or OpenAI Agents SDK) to the Streamable HTTP endpoint at `POST /mcp`.

#### Client Configuration (`mcp.json`)

```json
{
  "mcpServers": {
    "website-contacts-pricing-intel": {
      "type": "streamable-http",
      "url": "https://<YOUR_STANDBY_URL>/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

#### Exposed MCP Tools

| Tool | Required Arguments | Description |
| :--- | :--- | :--- |
| `enrich_company_website` | `domain` (`string`) | Enrich one domain, URL, or work email with contacts, socials, `/pricing`, DNS MX/SPF, and `/llms.txt` or Markdown brief. |
| `batch_enrich_domains` | `domains` (`string[]`) | Concurrently enrich up to 50 domains in a single synchronous tool call. |
| `extract_page_markdown` | `url` (`string`) | Fetch any public URL and return clean LLM-ready Markdown, title, description, and word count. |

***

### Frequently Asked Questions

**What input formats are accepted?**
Bare domains (`stripe.com`), full URLs (`https://www.linear.app/pricing`), or work emails (`ops@vercel.com`). All inputs are normalized to a canonical domain and deduplicated before any HTTP or DNS request is made.

**Does this Actor use a headless browser?**
No. It uses a native Go HTTP/2 client, streaming HTML parser, and native DNS resolver. Typical enrichment takes 300–900 ms per domain at 128–256 MB RAM.

**What happens if a site does not have `/llms.txt`?**
When `/llms.txt` returns non-200 or is unavailable, the Actor automatically generates `companyBrief` from clean HTML-to-Markdown conversion of the site and sets `briefSource` to `"html"`.

**How is SSRF handled?**
All target URLs and redirects are validated to block private, loopback, link-local, and cloud metadata IP ranges.

**Why does `GET /mcp` return HTTP `405`?**
This server implements stateless Streamable HTTP MCP over `POST /mcp` and does not open server-initiated SSE streams on `GET /mcp`, returning `405 Method Not Allowed` per the MCP Streamable HTTP specification.

# Actor input Schema

## `domains` (type: `array`):

List of company domains (e.g. 'stripe.com'), full URLs ('https://linear.app'), or work emails ('ops@vercel.com'). Click Start right away to run with the 3 prefilled domains.

## `domain` (type: `string`):

Optional single domain, URL, or work email shorthand (merged with 'domains').

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

Alias for 'domains' — accepts domains, URLs, or work emails.

## `includePricing` (type: `boolean`):

Fetch and parse the company's /pricing page for tier names, prices, free tier, free trial, enterprise tier, and billing cadence signals.

## `includeLlmsTxt` (type: `boolean`):

Check /llms.txt (and /llms-full.txt) for a structured LLM-ready company brief before falling back to HTML-to-Markdown.

## `includeMarkdown` (type: `boolean`):

Convert homepage and key subpages to clean Markdown and populate the 'companyBrief' field.

## `includeDns` (type: `boolean`):

Resolve live DNS MX and TXT/SPF records to identify the email host (Google Workspace, Microsoft 365, Fastmail, Proton, etc.) and SPF status.

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

Maximum number of internal pages fetched per domain (homepage + contact/about/pricing/llms.txt).

## `maxResults` (type: `integer`):

Hard cap on total domains enriched in a single run (0 = process all provided domains).

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

Alias for 'maxResults' (0 = process all provided domains).

## `concurrency` (type: `integer`):

Number of domains enriched concurrently.

## Actor input object example

```json
{
  "domains": [
    "stripe.com",
    "linear.app",
    "vercel.com"
  ],
  "includePricing": true,
  "includeLlmsTxt": true,
  "includeMarkdown": true,
  "includeDns": true,
  "maxPagesPerDomain": 4,
  "maxResults": 0,
  "maxItems": 0,
  "concurrency": 8
}
```

# Actor output Schema

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

No description

## `pricingPlg` (type: `string`):

No description

## `dnsBrief` (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 = {
    "domains": [
        "stripe.com",
        "linear.app",
        "vercel.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("spiky_closet/website-contacts-pricing-intel").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 = { "domains": [
        "stripe.com",
        "linear.app",
        "vercel.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("spiky_closet/website-contacts-pricing-intel").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 '{
  "domains": [
    "stripe.com",
    "linear.app",
    "vercel.com"
  ]
}' |
apify call spiky_closet/website-contacts-pricing-intel --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,spiky_closet/website-contacts-pricing-intel"
        }
    }
}
```

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/b2jccx83WVLXNighK/builds/W6X5foTah9JaJEMia/openapi.json
