# Maps Business Contact Enricher — Emails from Place Sites (`gary_sells/maps-business-contact-enricher`) Actor

Enrich Maps place websites with emails, phones & socials. Paste places\[{title,website}] from any Maps scraper. PPE $0.002/contact-found + $0.0005/website-processed. Companions: gary\_sells/domain-contact-finder · gary\_sells/domain-emails-fast · gary\_sells/local-business-leads.

- **URL**: https://apify.com/gary\_sells/maps-business-contact-enricher.md
- **Developed by:** [Industrial AI](https://apify.com/gary_sells) (community)
- **Categories:** Lead generation, Automation, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 contact founds

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

## Maps Business Contact Enricher — Emails from Place Websites

**Keywords:** Google Maps email enricher · maps business contact · local lead enrichment · website contact from Maps places · AI agent lead enrichment

Enrich **Google Maps / local business** leads with public emails, phones, and socials by crawling each place's **website** (not the Maps page itself).

### When to call this Actor

- After a Google Maps scraper: you have `title` + `website` (+ optional phone/address) and need emails for outreach
- "Enrich these Maps places with emails from their websites"
- "Get contact emails for local businesses that have websites"

**Do not use** for: scraping Google Maps HTML directly, LinkedIn login scrape, inbox access, or CAPTCHA bypass.

### Pipeline

```
Google Maps Scraper (any) → places[{title, website, phone}] → THIS ACTOR → emails/phones/socials
```

Companion Actors (same publisher):

- Full domain enrichment: https://apify.com/gary\_sells/domain-contact-finder
- Emails-only speed lane: https://apify.com/gary\_sells/domain-emails-fast

### Agent quickstart

**Input (prefer):**

```json
{
  "places": [
    { "title": "Acme Plumbing", "website": "https://acmeplumbing.example", "phone": "+1…" }
  ],
  "maxPagesPerWebsite": 5
}
```

**Also accepted:** `{ "websites": ["acme.com", "globex.io"] }`

**Output:** one dataset row per place → `emails`, `phones`, `socials`, Maps metadata preserved.

### Pricing (PPE)

| Event | When | Suggested |
| --- | --- | --- |
| `contact-found` | Website returns ≥1 public email or phone | **$0.002** (~$2/1k) |
| `website-processed` | Each finished website | **$0.0005** (~$0.50/1k) |

Do **not** enable pay-per-event + usage pass-through. Limited permissions. Standby OFF.

### What it does

1. Takes `places[]` (website required) or `websites[]`
2. Skips Google Maps URLs mistaken for websites
3. Crawls `/`, `/contact`, `/about`, … with Cheerio (no browser)
4. Extracts emails (incl. obfuscated), phones, socials
5. Emits PPE charges and structured dataset rows

### Next steps (publish)

1. `cd /workspace/apify-money/maps-business-contact-enricher && apify push`
2. Console → Monetization → PPE events `contact-found` / `website-processed` (prices above)
3. Set categories **LEAD\_GENERATION** + **AI**, publish public
4. Optional dry-run: `npm run dry-run` with INPUT in storage

Public HTML only. Not affiliated with Google.

# Actor input Schema

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

Array of place objects. Required fields per item: website (or url/domain). Optional: title/name, phone, category, mapsUrl, placeId, address, city. Typical pipeline: run a Google Maps scraper → feed items here.

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

Bare website URLs/domains if you do not have full place objects. Prefer places\[] when available so output keeps Maps metadata.

## `maxPagesPerWebsite` (type: `integer`):

Contact-ish paths to fetch per business website (/, /contact, /about, …). Default 5 for speed.

## `maxPlaces` (type: `integer`):

Hard cap.

## `includeEmailVerification` (type: `boolean`):

Attach format + DNS MX/A checks (no SMTP). Default false.

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

Apify Proxy recommended for batches.

## Actor input object example

```json
{
  "places": [
    {
      "title": "Apify",
      "website": "https://apify.com",
      "phone": "",
      "mapsUrl": "https://maps.google.com/",
      "category": "Software company"
    },
    {
      "title": "Crawlee",
      "website": "https://crawlee.dev"
    }
  ],
  "websites": [],
  "maxPagesPerWebsite": 3,
  "maxPlaces": 2,
  "includeEmailVerification": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `enrichedPlaces` (type: `string`):

One dataset item per Maps place/website with emails, phones, socials, and Maps metadata.

# 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": [
        {
            "title": "Apify",
            "website": "https://apify.com",
            "phone": "",
            "mapsUrl": "https://maps.google.com/",
            "category": "Software company"
        },
        {
            "title": "Crawlee",
            "website": "https://crawlee.dev"
        }
    ],
    "websites": [],
    "maxPagesPerWebsite": 3,
    "maxPlaces": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("gary_sells/maps-business-contact-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 = {
    "places": [
        {
            "title": "Apify",
            "website": "https://apify.com",
            "phone": "",
            "mapsUrl": "https://maps.google.com/",
            "category": "Software company",
        },
        {
            "title": "Crawlee",
            "website": "https://crawlee.dev",
        },
    ],
    "websites": [],
    "maxPagesPerWebsite": 3,
    "maxPlaces": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("gary_sells/maps-business-contact-enricher").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": [
    {
      "title": "Apify",
      "website": "https://apify.com",
      "phone": "",
      "mapsUrl": "https://maps.google.com/",
      "category": "Software company"
    },
    {
      "title": "Crawlee",
      "website": "https://crawlee.dev"
    }
  ],
  "websites": [],
  "maxPagesPerWebsite": 3,
  "maxPlaces": 2
}' |
apify call gary_sells/maps-business-contact-enricher --silent --output-dataset

```

## MCP server setup

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

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/MkYUxIZ0GlNfchb5r/builds/1BRHSNpIjwOVh2ar4/openapi.json
