# Google Maps Email & Contact Extractor: Places Enricher (`kizukidata/google-maps-contact-enricher`) Actor

Pass Google Maps results (datasetId or places) to extract emails, phones, socials, forms, booking links, DNS and ad pixels, keeping name, address, Maps phone, category and placeId. Pay only when a contact is found. No reviews, staff names, job titles or guessed emails. Not affiliated with Google.

- **URL**: https://apify.com/kizukidata/google-maps-contact-enricher.md
- **Developed by:** [Kizuki](https://apify.com/kizukidata) (community)
- **Categories:** Lead generation, Business, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.45 / 1,000 domain with a contacts

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?

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

### What does Google Maps Email & Contact Extractor do?

**Google Maps Email & Contact Extractor** takes Google Maps scraper results (`datasetId` or a `places` array) and checks each business website's public pages and public DNS records. It returns **one row per domain** keeping place name, address, Maps phone, category, `placeId`, coordinates and Google Maps URL alongside extracted emails, website phones, company social links, contact forms, booking links, live chat widgets, DNS mail setup (MX, SPF, DMARC), ad pixels, e-commerce platforms, ATS job boards and Organization JSON-LD. It is an independent tool, not affiliated with, endorsed by or sponsored by Google; it reads the place fields you pass in and does not query Google Maps.

- **Keep your Google Maps columns.** Preserves place name, address, street, city, state, postal code, country code, Maps phone, primary category, category list, `placeId`, `cid`, Google Maps URL, rating, review count, coordinates and closed flags. Customer reviews and reviewer names are never copied to the output (from `datasetId` they are not even read).
- **One row per website domain.** Multiple pages on one site and multiple branches sharing one website merge into a single row (`places` lists every matching branch).
- **Pay only when a contact is found.** You are charged only for domains where at least one email address, website phone number, contact form or booking link is found (`charged: true`). Places without a website, or blocked, unreachable, parked and social-only domains, are never charged.
- **Addresses as visitors see them.** With `decodeProtectedEmails` on (default), email protection scripts and spelled-out addresses (`name [at] example [dot] com`) are returned in plain form with `sourceUrl`, `sourcePageType`, `method`, `sameDomain`, `addressType` and `optOutNotice`.
- **Forms, booking links and mail setup.** Detects HTML forms, embedded builders (such as HubSpot, Typeform and Tally), meeting scheduling links (such as Calendly and Cal.com), MX mail providers, SPF services and DMARC policies.
- **Speed.** In a 2026-11-16 staging run, a 30-place dataset finished in 16 seconds. In a 2026-11-13 test of the underlying engine at 4 GB memory, 100 domains finished in about 60 seconds and 1,000 domains in about 220 seconds.

Try it with an empty input `{}`: it enriches three sample places (`Apify`, `Cal.com` and `Stripe`) in about 8 seconds, charged like any other domain.

### Switching from another Google Maps contact scraper

Pass your existing Google Maps results (`datasetId` or `places`) or website URLs (`domains` or `startUrls`) directly. Common field names from other Google Maps and contact scrapers work without renaming keys in your JSON payload. If you pass both a field and its alias, the alias wins over a field left at its default.

This Actor enriches websites from places or URLs you pass in and does not run Google Maps keyword searches on its own. If you pass only search-query fields (`searchStringsArray`, `searchQueries`, `locationQuery`) without a `datasetId`, `places`, `domains` or `startUrls`, the run stops with an input guidance message and charges $0.

| Your existing field | Accepted as | Notes |
|---|---|---|
| `placesDatasetId`, `inputDatasetId`, `dataset_id`, `googleMapsDatasetId` | `datasetId` | Reads safe business listing fields only (never reviews). |
| `placesData`, `items`, `businesses`, `results` | `places` | Array of place objects with a `website` (or `url`) field. |
| `urls`, `websites`, `websiteUrls`, `companyDomains`, `domain`, `url` | `domains` | Domains or HTTP(S) URLs, merged and deduplicated by domain. |
| `startUrls`, `start_urls` | `startUrls` | Standard `{"url": "https://..."}` list or plain URL strings. |
| `maxDomains`, `maxLeads`, `maxResults`, `limit` | `maxItems` | 1 to 5,000 domains per run (default `20`). |
| `maxRequestsPerStartUrl`, `maxPagesPerSite`, `maxPages`, `maxDepth` | `maxPagesPerDomain` | 1 to 10 pages per domain (default `8`). |
| `euRoleOnly`, `roleEmails`, `includePersonalData` (`false`) | `roleEmailsOnly` | Keeps only role mailboxes (`info@`, `sales@`, etc.). |
| `decodeEmails`, `decodeObfuscatedEmails` | `decodeProtectedEmails` | Decodes script-protected and `[at]` addresses (default `true`). |
| `ignoreRobotsTxt`, `obeyRobotsTxt` | `respectRobotsTxt` | Optional `robots.txt` check (default `false`). |
| `proxyConfig`, `proxy`, `useProxy` | `proxyConfiguration` | Direct + datacenter retry by default; datacenter proxy optional. |

Example passing a Google Maps `datasetId` or `startUrls` / `urls`:

```json
{
    "placesDatasetId": "aBcD1234eFgH5678",
    "maxResults": 100,
    "maxRequestsPerStartUrl": 8
}
```

```json
{
    "urls": ["https://example-dental.com/", "https://stripe.com/"],
    "maxLeads": 20,
    "euRoleOnly": false
}
```

You are charged only for domains where at least one email address, website phone number, contact form or booking link is found (`charged: true`). Places without a website, failed, blocked, unreachable or parked sites, and domains with no contact found cost **$0**. Launch pricing is **Starter (Bronze) $0.60 / 1,000 domains with a contact** (Free tier **$0.75 / 1,000**); Apify's Free plan includes **USD 5** of monthly usage, covering about **6,666** domains with a contact at the Free tier price, run start fees aside.

### What data can you get?

Every row contains all 56 fields below (`null` or empty array when a place or site provides no value):

| Group | Field | Description |
|---|---|---|
| Google Maps place fields | `placeId`, `cid`, `placeName` | Google Maps `placeId`, `cid` and business name (`title` or `name`) of the first matching place |
| | `address`, `street`, `city`, `postalCode`, `state`, `countryCode` | Postal address fields carried over from the Google Maps input |
| | `mapsPhone` | Phone number carried over from the Google Maps input |
| | `categoryName`, `categories` | Primary category and category list from the Google Maps input |
| | `googleMapsUrl` | Google Maps place URL from the input |
| | `totalScore`, `reviewsCount`, `location` | Star rating (0 to 5), review count and GPS coordinates `{lat, lng}` from the input |
| | `permanentlyClosed`, `temporarilyClosed` | Closure flags from the Google Maps input |
| | `places` | Array of all input places sharing this domain (`placeId`, `cid`, `placeName`, `address`, `mapsPhone`, `categoryName`, `googleMapsUrl`, `inputField`, `inputIndex`) |
| Input & crawl status | `source` | Always `"google-maps-contact"` |
| | `domain` | Checked domain in lowercase without scheme or path |
| | `inputUrl`, `inputField`, `inputIndex` | Cleaned input URL, input field (`datasetId`, `places`, `domains` or `startUrls`) and zero-based position |
| | `url`, `finalUrl`, `httpStatus` | Requested home page URL (`https://<domain>/`), final URL after redirects and HTTP status code |
| | `fetchedVia`, `redirectedToOtherSite` | Connection route (`direct`, `input_proxy`, `input_proxy_retry`, `datacenter_proxy`) and cross-site redirect flag |
| | `status`, `statusReason` | Row outcome (`complete`, `partial`, `blocked`, `unreachable`, `not_contacted`, `not_html`, `parked`) and fixed reason string |
| Company & pages | `companyName`, `pageTitle` | Company name from Organization JSON-LD or `og:site_name`, and home page `<title>` |
| | `contactPageUrl`, `careersPageUrl` | Contact page URL and careers page URL linked from the home page |
| | `organization` | Company Organization JSON-LD (`name`, `legalName`, `url`, `address`, `sameAs`, `telephone`, `email`, `contactPoints`) |
| Contacts & messaging | `emails` | Up to 30 found addresses with `email`, `sourceUrl`, `sourcePageType`, `method` (`mailto`, `cfemail`, `json-ld`, `text`, `html-entities`, `deobfuscated`), `sameDomain`, `addressType` (`role`, `personal`, `unknown`) and `optOutNotice` (`null` does not mean the site accepts sales mail) |
| | `emailAddresses` | Plain string list of found email addresses |
| | `phones` | Up to 30 labelled website phone numbers (`tel:`, JSON-LD or labelled text) with `phone`, `normalized`, `sourceUrl`, `sourcePageType` and `method` |
| | `phoneNumbers` | Plain string list of normalized website phone numbers |
| | `socialProfiles` | Company profile URLs by network (`linkedin`, `x`, `facebook`, `instagram`, `youtube`, `tiktok`, `pinterest`, `github`, `threads`, `line`), up to 3 per network |
| | `contactForms`, `hasContactForm` | Detected forms (`html`, `hubspot`, `typeform`, `tally`, `jotform`, `google_forms`, `contact_form_7`, `linked_form`, etc.) and boolean flag (`null` when the site could not be read) |
| | `bookingLinks` | Linked or embedded scheduling pages (`calendly`, `cal_com`, `hubspot_meetings`, `savvycal`, etc.) |
| | `chatWidgets` | Live chat widgets found on the pages (`intercom`, `drift`, `crisp`, `zendesk`, `hubspot_chat`, `tawk_to`, etc.) |
| Mail & site setup | `mailInfrastructure` | Public DNS mail setup: `checked`, `hasMx`, `mxHosts`, `mailProvider`, `hasSpf`, `spfServices`, `spfOtherIncludes`, `hasDmarc`, `dmarcPolicy` |
| | `adPixels`, `hasPaidAds` | Detected ad pixels (`meta`, `google_ads`, `tiktok`, `linkedin`, `x`, `pinterest`, `snapchat`, `microsoft_ads`, `reddit`) and boolean flag |
| | `tagManagerIds` | Google Tag Manager container IDs (`GTM-...`) |
| | `ecommercePlatforms` | Detected store platforms (`shopify`, `woocommerce`, `magento`, `bigcommerce`, `base`, `stores_jp`, etc.) |
| | `jobBoards`, `isHiring` | Linked ATS career portals (`greenhouse`, `lever`, `ashby`, `workable`, etc.) and boolean flag |
| Crawl log & billing | `pagesRead`, `pagesFailed` | Pages read (`url`, `kind`, `httpStatus`) and chosen pages that could not be read |
| | `charged`, `checkedAt` | `true` when at least one email, website phone, contact form or booking link was found (`complete` or `partial`), and ISO 8601 UTC timestamp |

**What is NOT returned:** customer reviews or reviewer names from Google Maps, fields with people's names or job titles read from websites, LinkedIn profiles of people, guessed email addresses not published on a page, email deliverability checks, email addresses from DNS records, or pages outside the input domain and its subdomains (except the single landing page when the home page redirects elsewhere). A place name you pass in is kept as written, even when the business is listed under a person's name.

### How to use Google Maps Email & Contact Extractor

1. Run your Google Maps scraper first, or prepare an array of place objects that include a `website` field.
2. Pass the dataset in **Google Maps dataset ID** (`datasetId`) or paste objects into **Google Maps places array** (`places`). You can also add standalone URLs in `domains` or `startUrls`.
3. Set **Maximum domains** (`maxItems`, default `20`, up to `5,000`) and **Pages per domain** (`maxPagesPerDomain`, default `8`, up to `10`).
4. Optionally enable **Role addresses only** (`roleEmailsOnly`) or turn off **Read protected email addresses** (`decodeProtectedEmails`).
5. Run the Actor and export the dataset as JSON, CSV, Excel or HTML, or read `OUTPUT` in the default key-value store for skipped places (such as places without a website).

#### Input

| Field | Default | Meaning |
|---|---|---|
| `datasetId` | empty | ID of an Apify dataset in your account from a Google Maps scraper. Reads only the business listing fields kept in the output and does not read reviews. |
| `places` | empty | Array of Google Maps place objects (`website`, `title`, `address`, `phone`, `categoryName`, `placeId`, `url`, etc.). |
| `domains` | empty | Optional list of company domains or website URLs (up to 5,000). |
| `startUrls` | empty | Optional URLs in `{"url": "..."}` format. |
| `maxItems` | `20` | Maximum unique website domains to check per run (1 to 5,000). Excess entries go to `OUTPUT` `uncheckedInputs` and are not charged. |
| `maxPagesPerDomain` | `8` | Pages read per website including the home page (1 to 10). |
| `roleEmailsOnly` | `false` | When `true`, keeps only role mailboxes (`info@`, `sales@`, `support@`, etc.). |
| `decodeProtectedEmails` | `true` | Decodes script-protected and spelled-out (`[at]`) email addresses into plain form. |
| `respectRobotsTxt` | `false` | When `true`, skips paths disallowed by `robots.txt`. `false` does not read it. |
| `proxyConfiguration` | `{"useApifyProxy": false}` | Requests pages directly by default, and retries a refused or unanswered home page once via the Apify datacenter proxy. |

#### Input example

```json
{
    "places": [
        {
            "title": "Example Dental",
            "categoryName": "Dentist",
            "address": "123 Main St, Austin, TX 78701",
            "phone": "+1 512-555-0100",
            "placeId": "ChIJ...",
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJ...",
            "website": "https://example-dental.com/"
        }
    ],
    "maxItems": 20,
    "maxPagesPerDomain": 8,
    "roleEmailsOnly": false,
    "decodeProtectedEmails": true
}
```

#### Output example (one row, shortened)

```json
{
    "source": "google-maps-contact",
    "domain": "stripe.com",
    "placeId": null,
    "placeName": "Stripe",
    "address": null,
    "mapsPhone": null,
    "categoryName": "Software company",
    "countryCode": "US",
    "googleMapsUrl": null,
    "url": "https://stripe.com/",
    "finalUrl": "https://stripe.com/",
    "httpStatus": 200,
    "status": "complete",
    "companyName": "Stripe, LLC",
    "emailAddresses": [
        "sales@stripe.com",
        "notices@stripe.com",
        "priority-support-in@stripe.com"
    ],
    "phoneNumbers": [],
    "socialProfiles": {
        "linkedin": ["https://www.linkedin.com/company/stripe"],
        "x": ["https://x.com/stripe"]
    },
    "contactPageUrl": "https://stripe.com/contact/sales",
    "hasContactForm": true,
    "bookingLinks": [],
    "mailInfrastructure": {
        "checked": true,
        "hasMx": true,
        "mailProvider": "Google Workspace",
        "hasSpf": true,
        "hasDmarc": true,
        "dmarcPolicy": "reject"
    },
    "charged": true,
    "checkedAt": "2026-11-16T13:53:36.720Z"
}
```

### Row status and what is charged

Every checked website produces one row with a `status` value. You are charged only when `charged` is `true`, meaning `status` is `complete` or `partial` **and** at least one email address, website phone number, contact form or booking link was found.

| `status` | Meaning | Charged (`charged: true`)? |
|---|---|---|
| `complete` | Home page and chosen subpages that exist were read (404 or 410 on a subpage does not fail the row). | Only if an email, website phone, contact form or booking link was found. |
| `partial` | Home page was read; one or more subpages failed (listed in `pagesFailed`). | Only if an email, website phone, contact form or booking link was found. |
| `blocked` | Site refused the home page (for example HTTP 401, 403, 429 or 503). | No (free). |
| `unreachable` | Domain could not be reached (no DNS record, timeout, connection error or other HTTP error). | No (free). |
| `not_contacted` | Private/local address, excluded by settings, or redirected to a shared platform such as a social network or link page. | No (free). |
| `not_html` | Home page did not return an HTML document. | No (free). |
| `parked` | Domain shows a domain marketplace or parking page; nothing is extracted. | No (free). |

### How much does it cost?

Launch pricing. Google Maps Email & Contact Extractor uses **pay-per-event** pricing (`domain-enriched`): you pay only for domains where at least one email address, website phone number, contact form or booking link is found, not for places without a website or run time.

| Apify plan (discount tier) | Price per 1,000 domains with a contact | Price per domain |
|---|---|---|
| **Free** | $0.75 | $0.00075 |
| **Starter (Bronze)** | $0.60 | $0.00060 |
| **Scale (Silver)** | $0.50 | $0.00050 |
| **Business (Gold)** | $0.45 | $0.00045 |

Apify's Free plan includes USD 5 of monthly usage, which covers about 6,666 domains with a contact at the Free tier price, run start fees aside.

- **Run start fee**: USD 0.00005 per GB of memory per run (default memory is 4 GB).
- **Recommended memory**: keep the default 4 GB. In a 100-domain test of the underlying engine (2026-11-13), 2 GB took about twice as long as 4 GB and 1 GB about four times as long, while 1 GB saves only USD 0.00015 of start fee per run.
- **What is not charged**: Google Maps rows without a website or whose website points to a social network, link page or listing site; domains with only social links, DNS mail data, ad pixels or shop/job signals; `blocked`, `unreachable`, `parked`, `not_html` and `not_contacted` rows; duplicate domains (`www.` and bare domain merge into one row); and inputs past `maxItems`.

### Limits

- **Domains per run**: up to 5,000 unique website domains (`maxItems`, default 20). Duplicate domains merge into one row, and local or private IP addresses are refused.
- **Dataset read cap**: reads the first 10 × `maxItems` rows of a dataset (at least 500, at most 5,000).
- **Pages per domain**: up to `maxPagesPerDomain` pages including the home page (default `8`, max 10).
- **Input domain boundary**: reads only pages on the input domain and its subdomains. External form services, booking pages and ATS job boards are recorded by URL only.
- **Static HTML only**: pages are read over plain HTTP without running JavaScript, so contacts rendered solely by client-side scripts may not appear.
- **Empty contact fields**: a `complete` row with no emails, website phones, forms or booking links is not charged. Website phone numbers without a label such as "Tel" or "Phone" are not returned (the Maps phone from your input remains in `mapsPhone`).

### Can the output contain personal data?

Yes. The Actor keeps the business place fields you pass in and reads public pages on each business website and public DNS records; it does not log in, send emails or submit forms. A published email address or phone number, or a place's name, address, phone or coordinates from your input, can still relate to a person, for example an address built from someone's name or the contact details of a sole trader, and such data is protected by the GDPR and other privacy laws. You choose the input places and decide how the results are used, so collect and use them only if you have a legitimate reason and a legal basis to do so. `addressType`, `sourcePageType` and `optOutNotice` are labels read from the page to help you filter rows; they are not a legal assessment. If you're unsure, consult your lawyers.

### Integrations and API

Run the Actor from code or an automation workflow. Replace `<APIFY_TOKEN>` with your Apify API token.

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/kizukidata~google-maps-contact-enricher/runs" \
  -H "Authorization: Bearer <APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"datasetId":"aBcD1234eFgH5678","maxItems":20}'
```

Poll `GET https://api.apify.com/v2/actor-runs/<RUN_ID>` for status, read `defaultDatasetId`, then fetch `GET https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json`.

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("kizukidata/google-maps-contact-enricher").call(run_input={
    "datasetId": "aBcD1234eFgH5678",
    "maxItems": 20,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["placeName"], item["domain"], item["emailAddresses"], item["hasContactForm"])
```

#### JavaScript

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<APIFY_TOKEN>' });
const run = await client.actor('kizukidata/google-maps-contact-enricher').call({
    datasetId: 'aBcD1234eFgH5678',
    maxItems: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((item) => ({ place: item.placeName, domain: item.domain, emails: item.emailAddresses })));
```

#### Zapier, Make and n8n

Run your Google Maps scraper first, pass its `defaultDatasetId` into `datasetId` in **Run Actor**, then call **Get dataset items**. In Zapier, Make or n8n, route rows where `charged` is `true` into your CRM, Airtable or Google Sheets.

#### LangChain

Load rows with `ApifyDatasetLoader` using the run's `defaultDatasetId`, keeping `placeName`, `address`, `categoryName`, `domain`, `emailAddresses`, `contactPageUrl`, `mailInfrastructure` and `isHiring` as document text or metadata.

#### Use it from an MCP client

The Actor is available as a tool on the hosted Apify MCP server:

```text
https://mcp.apify.com?tools=kizukidata/google-maps-contact-enricher
```

- **Claude Code**: `claude mcp add --transport http apify "https://mcp.apify.com?tools=kizukidata/google-maps-contact-enricher"`
- **Claude Desktop / claude.ai**: Settings → Connectors → Add custom connector, and paste the URL above.
- **Cursor** (`~/.cursor/mcp.json`) and other clients reading `mcpServers`:

```json
{
    "mcpServers": {
        "apify": {
            "url": "https://mcp.apify.com?tools=kizukidata/google-maps-contact-enricher"
        }
    }
}
```

- **n8n**: add an **MCP Client Tool** node to an AI Agent, set the endpoint to the URL above (HTTP Streamable), and send your Apify API token as Bearer authentication.

Clients without OAuth can pass `Authorization: Bearer <APIFY_TOKEN>`. Keep `maxItems` small (default `20`) so calls finish within the MCP timeout. Example requests:

- "Enrich the Google Maps results in dataset aBcD1234eFgH5678 with emails, contact forms and mail setup" → `{"datasetId": "aBcD1234eFgH5678", "maxItems": 20}`
- "Find role emails for these Google Maps places" → `{"places": [{"title": "Example Dental", "website": "https://example-dental.com/"}], "roleEmailsOnly": true, "maxItems": 20}`

### Related Kizuki Actors

Other Kizuki Actors that pair well with this extractor:

- [Website Contact Details Scraper](https://apify.com/kizukidata/website-contact-intelligence) — the domain-first contact, form, DNS and ad-pixel scraper for CRM lists, domain batches and non-Maps URLs.
- [URL to Markdown](https://apify.com/kizukidata/url-to-markdown) — clean Markdown of the company pages you found (`contactPageUrl`, `careersPageUrl` or `finalUrl`) for LLMs.
- [LinkedIn Company Scraper & Change Monitor](https://apify.com/kizukidata/linkedin-company-monitor) — company profile data and headcount/about changes for the `socialProfiles.linkedin` URLs found.
- [Google News Scraper](https://apify.com/kizukidata/google-news-feed) — recent news articles and publisher URLs for the businesses you enrich.
- [LinkedIn Jobs Scraper](https://apify.com/kizukidata/linkedin-jobs-feed) — open job listings when `isHiring` is `true` and you want active role details.
- [Website Tech Stack Detector](https://apify.com/kizukidata/website-tech-stack-detector) — the CMS, shop platform, analytics, ad pixels, hosting and mail host a website runs, from its headers and DNS.

# Actor input Schema

## `datasetId` (type: `string`):

ID of an Apify dataset in your account from a Google Maps scraper (for example compass/crawler-google-places). Reads only these place fields (website, placeId, name, address, phone, category, Maps URL, rating, review count, coordinates, closed flags) and never reads reviews. Places without a website go to OUTPUT uncharged. ⚠️ Output may contain personal data (such as a sole trader's name, address, phone or email). You're responsible for having a legal basis under privacy laws.

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

Google Maps result objects passed directly as JSON. Keeps place name, address, phone, category, placeId, cid, Maps URL, rating, review count and coordinates, and checks each website for emails, phones, forms and DNS setup. Branches sharing a domain merge into one row. ⚠️ Output may contain personal data (such as a sole trader's name, address, phone or email). You're responsible for having a legal basis under privacy laws.

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

Optional list of company domains or website URLs (for example apify.com or https://www.example.co.jp/), up to 5,000. Duplicate domains are checked once. Local and private addresses are refused.

## `startUrls` (type: `array`):

Optional website URLs in Apify request-list format (for example {"url": "https://apify.com"}). Each domain is checked once.

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

Maximum number of unique business websites to enrich in one run, from 1 to 5,000 (default 20; for example 100 for batch runs). Domains beyond this cap are listed in OUTPUT uncheckedInputs and not charged.

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

Pages read per business website including the home page, from 1 to 10 (default 8). Higher values check more subpages such as contact, legal notice, about, locations, FAQ and careers.

## `roleEmailsOnly` (type: `boolean`):

true returns only role mailboxes such as info@, sales@ or support@ based on how the address is written. false (default) returns all published emails found on the pages, including person-named addresses. ⚠️ With either setting, the output can contain personal data, such as a person's email address or phone number. You're responsible for having a legal basis to collect and use it under privacy laws.

## `decodeProtectedEmails` (type: `boolean`):

true (default) returns addresses that a page hides behind an email protection script, or spells out in words such as name \[at] example \[dot] com, as the plain address a visitor reads. false leaves those out.

## `respectRobotsTxt` (type: `boolean`):

true skips paths disallowed by a site's robots.txt; a domain whose home page is disallowed returns a status row and is not charged. false (default) does not read robots.txt.

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

Proxy settings. Default {"useApifyProxy": false} requests pages directly and retries a refused or unanswered home page once through the Apify datacenter proxy. Set {"useApifyProxy": true} to send all requests through it. Residential proxies are not available.

## Actor input object example

```json
{
  "datasetId": "aBcD1234eFgH5678",
  "places": [
    {
      "title": "Example Dental",
      "categoryName": "Dentist",
      "address": "123 Main St, Austin, TX 78701",
      "phone": "+1 512-555-0100",
      "placeId": "ChIJ...",
      "url": "https://www.google.com/maps/place/?q=place_id:ChIJ...",
      "website": "https://example-dental.com/"
    }
  ],
  "maxItems": 20,
  "maxPagesPerDomain": 8,
  "roleEmailsOnly": false,
  "decodeProtectedEmails": true,
  "respectRobotsTxt": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per business domain: Google Maps place fields plus emails, phones, social profiles, contact forms, booking links, mail setup, ad pixels and pages read.

## `runSummary` (type: `string`):

Status code, counters, and the skipped and unchecked inputs of this run with their reasons.

# 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 = {
    "maxItems": 20,
    "maxPagesPerDomain": 8,
    "roleEmailsOnly": false,
    "decodeProtectedEmails": true,
    "respectRobotsTxt": false,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("kizukidata/google-maps-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 = {
    "maxItems": 20,
    "maxPagesPerDomain": 8,
    "roleEmailsOnly": False,
    "decodeProtectedEmails": True,
    "respectRobotsTxt": False,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("kizukidata/google-maps-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 '{
  "maxItems": 20,
  "maxPagesPerDomain": 8,
  "roleEmailsOnly": false,
  "decodeProtectedEmails": true,
  "respectRobotsTxt": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call kizukidata/google-maps-contact-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kizukidata/google-maps-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/gpNZZRE6ZacrCPcGd/builds/cNYlEmY4e66d97Xj8/openapi.json
