# Website Contact & Company Enricher (`enemjay/website-contact-company-enricher`) Actor

Enrich domains into structured company contact data — emails, phone numbers, social profiles, and addresses. One clean JSON record per domain, pay per result. Built for AI agents and lead-gen pipelines.

- **URL**: https://apify.com/enemjay/website-contact-company-enricher.md
- **Developed by:** [Neal Johnson](https://apify.com/enemjay) (community)
- **Categories:** Lead generation, Agents, E-commerce
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 domain enricheds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Website Contact & Company Enricher

**Turn a list of domains into clean, structured company contact data — business emails, phone numbers, social profiles, and postal addresses. One tidy JSON record per domain, and you only pay for domains where data is actually found.**

Give it `apify.com` and get back the company name, description, emails, E.164-formatted phone numbers, LinkedIn / X / Facebook / Instagram / YouTube / GitHub / TikTok links, and any postal address published on the site. It's a focused, single-purpose enrichment tool built to be hammered repeatedly — by sales teams, lead-generation pipelines, and autonomous AI agents.

### What it does

This Actor takes one or more company domains, crawls each site's homepage plus its contact and about pages, and returns a normalized company contact record. It's designed for **B2B lead enrichment, domain-to-contact lookup, sales prospecting, CRM data cleaning, and agent-driven research** — anywhere you have a website and need the people-and-contact data behind it.

Because it crawls each company's *own* public website rather than fighting a third-party platform's bot defenses, it's fast, cheap, and reliable — and it composes cleanly with map and directory scrapers: pipe their output URLs straight into this Actor to enrich them.

### Output

One record per input domain:

```json
{
  "domain": "apify.com",
  "url": "https://apify.com",
  "companyName": "Apify",
  "description": "Full-stack web scraping and browser automation platform.",
  "emails": ["hello@apify.com", "support@apify.com"],
  "phones": ["+14158000000"],
  "socialProfiles": {
    "linkedin": "https://linkedin.com/company/apify",
    "twitter": "https://x.com/apify",
    "github": "https://github.com/apify"
  },
  "addresses": ["Vodičkova 704/36, Prague, Czechia"],
  "pagesCrawled": 3,
  "enrichedAt": "2026-07-06T02:10:00.000Z"
}
````

Every field is documented in the output schema, so the Console renders a clean table and AI agents know exactly what they'll receive before they call.

### Input

```json
{
  "domains": ["apify.com", "https://stripe.com", "github.com"],
  "maxPagesPerDomain": 3,
  "includePhones": true,
  "defaultCountry": "US"
}
```

| Field | Description |
| --- | --- |
| `domains` | List of domains or URLs to enrich. `apify.com` and `https://apify.com` both work. |
| `maxPagesPerDomain` | Homepage plus this many contact/about pages. Higher = more coverage, slightly higher cost. Default 3. |
| `includePhones` | Validate and return phone numbers in E.164 format. Default true. |
| `defaultCountry` | ISO country code used to parse local numbers without a country prefix. Default `US`. |

### Pricing

**Pay per result.** You're charged only for domains where contact data is actually found — empty lookups are free. No monthly fee, no platform usage costs passed through; the per-result price is the whole price.

That model is built for automation: predictable unit economics whether a human runs a hundred domains or an agent runs a hundred thousand.

### Built for AI agents

This Actor is agent-ready. It uses **pay-per-event pricing with limited permissions**, so it's discoverable and callable by autonomous agents through Apify's MCP integration and agentic (x402) payments — no account or API key setup required on the agent's side.

Agents get everything they need to buy confidently: a single clear purpose, a documented output schema, per-result pricing, and structured JSON returned straight from the synchronous run endpoint. Feed it a domain, get back a contact record, pay for what you got.

Typical agent jobs:

- Enrich a lead list a CRM or research agent just assembled.
- Resolve a company website into contactable emails and socials for outreach.
- Add a contact-data step to a multi-tool prospecting or market-research workflow.

### How it works

For each domain it visits the homepage and up to a few contact/about pages, then extracts and cleans:

- **Emails** — from `mailto:` links and page text, with image sprites, trackers, and placeholder addresses filtered out.
- **Phones** — from `tel:` links and page text, validated and normalized to E.164 with libphonenumber.
- **Social profiles** — LinkedIn, X/Twitter, Facebook, Instagram, YouTube, GitHub, and TikTok, de-duplicated to one canonical link each.
- **Company name & description** — from OpenGraph, meta tags, and JSON-LD `Organization` / `LocalBusiness` data.
- **Postal address** — parsed from JSON-LD structured data when the site publishes it.

### Tips

- For the widest coverage on a single company, raise `maxPagesPerDomain` to 5–6.
- Set `defaultCountry` to match the region of the companies you're enriching for cleaner phone parsing.
- Running large batches? Split them into runs of a few hundred domains for easy monitoring and predictable billing.

### Limitations

- Uses a fast HTTP crawler, so contact details rendered only by client-side JavaScript may be missed on some sites. The vast majority of businesses publish contact data in plain HTML.
- Only returns data a company publishes on its own public website — it doesn't guess or infer addresses.
- Use responsibly: respect each site's terms and robots directives, and handle any personal data in line with applicable privacy law (GDPR, CCPA, and similar).

***

#### For developers

Run the health/iteration monitor locally against your published Actor:

```bash
APIFY_TOKEN=xxx ACTOR_ID=your-username~website-contact-enricher npm run monitor
```

It reports success rate, latency, and week-over-week usage trend, with concrete next actions.

# Actor input Schema

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

List of company domains or URLs to enrich (e.g. "apify.com" or "https://apify.com").

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

Homepage plus this many contact/about pages. Higher = more coverage, higher platform cost.

## `includePhones` (type: `boolean`):

Validate and return phone numbers in E.164 format.

## `defaultCountry` (type: `string`):

Used to parse local phone numbers that lack a country code.

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "maxPagesPerDomain": 3,
  "includePhones": true,
  "defaultCountry": "US"
}
```

# Actor output Schema

## `results` (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": [
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("enemjay/website-contact-company-enricher").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": ["apify.com"] }

# Run the Actor and wait for it to finish
run = client.actor("enemjay/website-contact-company-enricher").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "apify.com"
  ]
}' |
apify call enemjay/website-contact-company-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=enemjay/website-contact-company-enricher",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Website Contact & Company Enricher",
        "description": "Enrich domains into structured company contact data — emails, phone numbers, social profiles, and addresses. One clean JSON record per domain, pay per result. Built for AI agents and lead-gen pipelines.",
        "version": "0.0",
        "x-build-id": "QbhwjZsP4mgbywimL"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/enemjay~website-contact-company-enricher/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-enemjay-website-contact-company-enricher",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/enemjay~website-contact-company-enricher/runs": {
            "post": {
                "operationId": "runs-sync-enemjay-website-contact-company-enricher",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/enemjay~website-contact-company-enricher/run-sync": {
            "post": {
                "operationId": "run-sync-enemjay-website-contact-company-enricher",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "domains"
                ],
                "properties": {
                    "domains": {
                        "title": "Domains or URLs",
                        "type": "array",
                        "description": "List of company domains or URLs to enrich (e.g. \"apify.com\" or \"https://apify.com\").",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxPagesPerDomain": {
                        "title": "Max pages per domain",
                        "minimum": 1,
                        "maximum": 8,
                        "type": "integer",
                        "description": "Homepage plus this many contact/about pages. Higher = more coverage, higher platform cost.",
                        "default": 3
                    },
                    "includePhones": {
                        "title": "Extract phone numbers",
                        "type": "boolean",
                        "description": "Validate and return phone numbers in E.164 format.",
                        "default": true
                    },
                    "defaultCountry": {
                        "title": "Default country (ISO 2-letter)",
                        "type": "string",
                        "description": "Used to parse local phone numbers that lack a country code.",
                        "default": "US"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
