# Local Lead Enrichment | Emails Phones Socials VAT (`andok/local-lead-enrichment-mcp`) Actor

Turn business websites into enriched lead rows: emails, phones, social profiles, address, tech signals, and optional EU VAT validation via VIES. Agent-ready JSON. $0.005/lead + $0.02 start.

- **URL**: https://apify.com/andok/local-lead-enrichment-mcp.md
- **Developed by:** [Andok](https://apify.com/andok) (community)
- **Categories:** Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 lead 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/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

## Local Lead Enrichment | Emails, Phones, Socials and EU VAT

Turn a list of local business websites into **enriched, CRM-ready lead rows**. For each business the Actor fetches the homepage and the most relevant same-site contact, about, and impressum pages, then extracts emails, phone numbers, social profiles, structured address, category, and technology signals. If you provide an EU VAT number it also validates it against the official **VIES** service and attaches the registered company name and address.

It is designed for agencies, local-SEO and lead-generation teams, and AI agents that already have business names and websites (for example from a Google Maps export, a directory, or a spreadsheet) and need verified contact data in a consistent JSON format.

### What each lead contains

- **Identity:** business name (from your input, JSON-LD, Open Graph, or VIES), domain, final URL after redirects, page title, description (`site_description`), category.
- **Contacts:** deduplicated `emails` (addresses on the company's own domain first) and `phones`, from `mailto:` and `tel:` links, structured data, and page text.
- **Social profiles:** LinkedIn, X/Twitter, Facebook, Instagram, YouTube, and TikTok links; share buttons are filtered out.
- **Address:** street, locality, postal code, and country when published as schema.org structured data, or the address you supplied.
- **VAT:** `is_valid`, registered name, registered address, and any VIES error.
- **Signals:** detected technologies (WordPress, Shopify, Wix, booking widgets, analytics) and `pages_checked`.
- **Quality:** a 0 to 100 `completeness_score` and a `status` of `enriched`, `partial`, or `failed`.

### Input

```json
{
  "places": [
    { "name": "Apify", "website": "https://apify.com" },
    { "name": "Example Salon", "website": "example.com", "vat": "EE100931558" }
  ],
  "fetchContactPages": true,
  "validateVat": true
}
```

| Field | Description |
|---|---|
| `places` | Items with `name`, `website` (or `url`), `vat`, `countryCode`, `phone`, `address`. Website or VAT is required. |
| `fetchContactPages` | Crawl contact, about, and impressum pages on the same domain. Default on. |
| `maxContactPages` | Extra pages per business, 0 to 5. Default 2. |
| `validateVat` | Validate EU VAT numbers through VIES. Default on. |
| `concurrency` | Businesses processed in parallel. |

Version 1 is **website-in**: Google Maps place URLs are not scraped. Pass the business website instead; Maps URLs return a clear error row and are not charged.

### Pricing

Pay-per-event pricing:

- **Actor start:** $0.02 once per run.
- **Lead enriched:** $0.005 per lead with usable website or VAT data.

Enriching 100 leads costs $0.02 + 100 × $0.005 = **$0.52**. Enriching 1,000 leads costs **$5.02**, about $5 per 1,000 leads. Leads where the website cannot be reached and no VAT validation succeeded are returned with `status: "failed"` and an `error` message, and are **not charged**.

### Good to know

- Only publicly visible information is collected, from pages a visitor can open without logging in. You are responsible for complying with GDPR, e-privacy, and anti-spam rules when contacting the people and companies you find.
- Emails are collected as published; the Actor does not guess or verify mailboxes. Pair it with an email verifier if you plan to send campaigns.
- Heavily JavaScript-rendered sites may expose fewer contacts in static HTML.

### Use with AI agents

Each lead is one flat JSON object, ready for an LLM tool call through the Apify API or the MCP server for Apify Actors. Filter on `completeness_score` or `status` to decide which leads to pass to outreach.

# Actor input Schema

## `places` (type: `array`):

Businesses to enrich. Each item may contain name, website (or url), vat, countryCode, phone, and address. At least website or vat is required per item. Google Maps URLs are not scraped in v1; pass the business website.

## `fetchContactPages` (type: `boolean`):

Also fetch same-site contact, about, and impressum pages to find more emails and phones.

## `maxContactPages` (type: `integer`):

Maximum number of extra same-site pages fetched per business.

## `validateVat` (type: `boolean`):

Validate vat numbers against the official EU VIES service and attach the registered name and address.

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

Number of businesses processed in parallel.

## `timeoutSeconds` (type: `integer`):

HTTP timeout per request.

## Actor input object example

```json
{
  "places": [
    {
      "name": "Apify",
      "website": "https://apify.com"
    },
    {
      "name": "Example Salon",
      "website": "example.com",
      "vat": "EE100931558"
    }
  ],
  "fetchContactPages": true,
  "maxContactPages": 2,
  "validateVat": true,
  "concurrency": 3,
  "timeoutSeconds": 20
}
```

# Actor output Schema

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

No description

## `resultsCsv` (type: `string`):

No description

## `run` (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 = {
    "places": [
        {
            "name": "Apify",
            "website": "https://apify.com"
        },
        {
            "name": "Example Salon",
            "website": "example.com",
            "vat": "EE100931558"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("andok/local-lead-enrichment-mcp").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 = { "places": [
        {
            "name": "Apify",
            "website": "https://apify.com",
        },
        {
            "name": "Example Salon",
            "website": "example.com",
            "vat": "EE100931558",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("andok/local-lead-enrichment-mcp").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 '{
  "places": [
    {
      "name": "Apify",
      "website": "https://apify.com"
    },
    {
      "name": "Example Salon",
      "website": "example.com",
      "vat": "EE100931558"
    }
  ]
}' |
apify call andok/local-lead-enrichment-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,andok/local-lead-enrichment-mcp"
        }
    }
}
```

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/7Nsztdh93w4kd9I8f/builds/4zIcnlkfXK3Klhdmp/openapi.json
