# Google Maps Email Extractor — Business & Branch Contacts (`zinin/google-maps-email-extractor`) Actor

Extract Google Maps business emails with branch or organization scope, source URLs and reasons. Search category and city, exclude previous places, export unique business rows to CSV.

- **URL**: https://apify.com/zinin/google-maps-email-extractor.md
- **Developed by:** [Tim Zinin](https://apify.com/zinin) (community)
- **Categories:** Lead generation, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.04 / 1,000 completed unique places

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

## Google Maps Email Extractor — Business & Branch Contacts

Google Maps Email Extractor finds businesses by category and city, checks their public websites, and returns business emails with the page that published them. Each unique place keeps its own row: branch contacts are distinguished from organization, general and uncertain contacts using address, phone and page context. Export Google Maps leads to CSV or JSON with evidence you can inspect before adding them to a CRM.

### What you get

- Place ID, business name, address, phone, website, coordinates and Google Maps link.
- A preferred email plus all observed candidates, contact types, source URLs and reasons.
- Separate branches on shared domains; exclusions for completed places before new website work or charges.
- Clear no-website, no-email, blocked and partial outcomes. Mailbox delivery is not tested.
- One global place limit and a charge cap; no full-city coverage promise.
- Runs on Apify: schedule it, monitor it, call it from the API and export JSON, CSV or Excel into your workflow.

### How to run it

1. Open **Input** and keep the example: category `dentist`, location `Cambridge, England, United Kingdom`, country code `GB`.
2. Keep **Maximum unique places** at `10` for a small first run. Review the charge cap and pricing below.
3. Click **Start**. Open the **CRM contacts** dataset view, inspect contact types and sources, then select **Export → CSV**. Use JSON for all candidates and evidence.

### Pricing

**$0.0072 per completed unique place on the FREE plan — $7.20 per 1,000. No start fee.**

The single paid event is `result-found`. A completed check is charged even when the business has no website or no email appears within the selected page limit. This is a price per completed place check, not per found or deliverable email. **100 completed places cost $0.72; the default 10-place run costs at most $0.072** at the FREE rate.

Duplicate and excluded places are free. Transport errors, robots denials or failures, challenges, truncated pages and unfinished checks produce free partial rows, even if an email was observed. Compute, proxy and storage for the Actor run are included in the event price.

| Apify plan | Per completed place | Per 1,000 completed places |
|---|---:|---:|
| FREE | $0.0072 | $7.20 |
| BRONZE | $0.00648 | $6.48 |
| SILVER | $0.00576 | $5.76 |
| GOLD | $0.00504 | $5.04 |
| PLATINUM | $0.00504 | $5.04 |
| DIAMOND | $0.00504 | $5.04 |

Active prices checked November 15, 2026. Apify account credits, plan eligibility and separate downstream services follow their own terms.

### Input: category and city, or known Google Maps places

<p>
<img src="https://raw.githubusercontent.com/TimmyZinin/apify-actor-assets/main/actors/google-maps-email-extractor/v1/input-to-output.png" alt="Category and city become unique business rows with contact sources" width="420">
<img src="https://raw.githubusercontent.com/TimmyZinin/apify-actor-assets/main/actors/google-maps-email-extractor/v1/branch-evidence.png" alt="Illustrative branch matching with two local contact blocks and a separate organization contact" width="420">
</p>

Use search mode or known-place mode. Search needs a category and location, or a category and coordinates. Include the country in a location name; the resolved geography is checked against `countryCode` and shown in the summary. A city name resolves to a center, not an administrative boundary.

| Field | Default | Meaning |
|---|---|---|
| `category` | `dentist` | Business category; clear for known places. |
| `location` | `Cambridge, England, United Kingdom` | City/region and country separated by commas. Clear for coordinates or known places. |
| `countryCode` | `GB` | Two-letter country code for geographic validation and Maps requests. |
| `language` | `en` | Maps result language, such as `de`, `fr` or `es`. |
| `searchArea` | `{}` | Optional `{"latitude":52.2,"longitude":0.12}` center. Clear location when using it. |
| `radiusKm` | `3` | Circular search radius, 0.2–20 km; results are distance-filtered. |
| `placeIds` | `[]` | Known Google place IDs. Clear category, location and searchArea. |
| `startUrls` | `[]` | Google Maps place URLs; links containing query_place_id are preferred. |
| `excludePlaceIds` | `[]` | Up to 10,000 place IDs excluded before website work and billing. |
| `previousDatasetId` | None | Select this Actor's previous dataset to grant read-only access. Completed rows are excluded; partial rows remain retryable. At most 10,000 rows are read; larger datasets cause an explicit stop. |
| `maxPlaces` | `10` | Global unique-place cap, 1–500, including free partial rows. |
| `maxPagesPerPlace` | `4` | 1–6 public HTML pages per place, beginning at the Maps website path. Robots requests are separate. |
| `maxRunSeconds` | `300` | Work deadline, 30–900 seconds. Set Apify's run timeout above it. |
| `maxSearchRequests` | `12` | 1–30 Maps requests, including location resolution, details, retries and redirects. |
| `maxConcurrency` | `4` | 1–8 simultaneous website checks; Maps requests stay serial. |
| `maxChargeUsd` | `1` | Actor event budget, $0–$15; also respects the Apify run cap. Zero does no paid work. |

The default input used for the platform test is:

```json
{
  "category": "dentist",
  "location": "Cambridge, England, United Kingdom",
  "countryCode": "GB",
  "language": "en",
  "searchArea": {},
  "radiusKm": 3,
  "placeIds": [],
  "startUrls": [],
  "excludePlaceIds": [],
  "maxPlaces": 10,
  "maxPagesPerPlace": 4,
  "maxRunSeconds": 300,
  "maxSearchRequests": 12,
  "maxConcurrency": 4,
  "maxChargeUsd": 1
}
```

#### Refresh known places and avoid repeat charges

This example uses a real Cambridge branch. Clear the search fields as shown; leaving the form's default city or category creates a mode conflict.

```json
{
  "category": "",
  "location": "",
  "searchArea": {},
  "countryCode": "GB",
  "language": "en",
  "placeIds": ["ChIJeybmYutw2EcRpZXjxBpf-Fg"],
  "startUrls": [],
  "excludePlaceIds": [],
  "maxPlaces": 1,
  "maxPagesPerPlace": 4,
  "maxSearchRequests": 12,
  "maxChargeUsd": 1
}
```

Select **Previous dataset ID** or supply `excludePlaceIds` to skip earlier work. Only `checkComplete=true` dataset rows are excluded. Exclusions use place IDs, so branches sharing a domain remain separate.

Search uses a bounded center-and-neighbor grid. Increasing maxPlaces does not remove request, time or byte limits; the requested count may not be reached. Known places usually need at least one Maps request each. The summary provides a resume input for remaining discovered places, without promising discovery of every business in an area.

### Output: Google Maps business emails with evidence

These fields are copied unchanged from a successful cloud run on November 15, 2026. This abbreviated real row describes mydentist on Chesterton Road; full JSON also contains organization contacts and per-page evidence.

```json
{
  "placeId": "ChIJeybmYutw2EcRpZXjxBpf-Fg",
  "name": "mydentist, Chesterton Road, Cambridge",
  "address": "36 Chesterton Rd, Cambridge CB4 1EN",
  "phone": "01223 319787",
  "website": "https://www.mydentist.co.uk/dentists/practices/chesterton-road-cambridge?pid=20137",
  "mapsUrl": "https://www.google.com/maps/search/?api=1&query=mydentist%2C%20Chesterton%20Road%2C%20Cambridge&query_place_id=ChIJeybmYutw2EcRpZXjxBpf-Fg",
  "email": "cambridge-rec@mydentist.co.uk",
  "emailType": "branch",
  "emailSourceUrl": "https://www.mydentist.co.uk/dentists/practices/chesterton-road-cambridge?pid=20137",
  "emailReason": "Matching street/number in the local contact block. Matching published place phone. Matching place name context. Matching postcode.",
  "websiteStatus": "completed",
  "checkComplete": true,
  "chargeEligible": true,
  "partial": false,
  "observedAt": "2026-11-15T14:38:16.725Z",
  "mailboxChecked": false
}
```

| Fields | Meaning |
|---|---|
| `placeId`, `dataId`, `name`, `address`, `phone`, `website`, `mapsUrl` | Place identity and observed business details. Missing source fields stay empty. |
| `latitude`, `longitude`, `category`, `categories` | Location and source categories. |
| `email`, `emailType`, `emailSourceUrl`, `emailReason` | Preferred candidate and attribution; preference order: branch, organization, general, uncertain. |
| `emails[]` | All candidates with type, confidence, original spelling, extraction method, context, signals and source observations. |
| `websiteStatus`, `noContactReason` | Completed/no-website/partial status and why no branch contact was established. |
| `checkComplete`, `partial`, `chargeEligible` | Completion and eligibility for the paid event. Eligibility is not a charge receipt. |
| `pagesChecked`, `pagesAttempted`, `pageLimitReached`, `pages[]` | Scope of the bounded check, including failed attempts. |
| `observedAt`, `mailboxChecked` | Observation time; mailboxChecked is false because delivery is not tested. |

Dataset views: **CRM contacts**, **Contact evidence**, **Diagnostics**. CSV suits preferred flat fields; JSON preserves nested evidence. Key-value store `OUTPUT` contains counts, resolved geography, limits and resumeInput. `UNPROCESSED` contains retryable work; `BILLING` records receipts and charge reconciliation.

<p>
<img src="https://raw.githubusercontent.com/TimmyZinin/apify-actor-assets/main/actors/google-maps-email-extractor/v1/result-example.png" alt="Real Cambridge branch email and Wiesbaden no-website result" width="420">
<img src="https://raw.githubusercontent.com/TimmyZinin/apify-actor-assets/main/actors/google-maps-email-extractor/v1/workflow.png" alt="Actor workflow to dataset, CSV CRM export, n8n and MCP" width="420">
</p>

### Other tools we built

Need the next step, or already have website URLs?

| Actor | What it does |
|---|---|
| [Website Contact Extractor](https://apify.com/zinin/website-contact-extractor) | Extract public contacts from websites you already have. |
| [Google Maps Chain Location Grouper](https://apify.com/zinin/google-maps-chain-location-grouper) | Organize locations into chain groups. |
| [Google Maps Service Opportunity Scorer](https://apify.com/zinin/google-maps-service-opportunity-scorer) | Prioritize service opportunities from business data. |
| [Google Reviews Response Backlog](https://apify.com/zinin/google-reviews-response-backlog) | Turn review data into a response backlog. |

### FAQ / Limitations

**Does every business return an email?** No. Sites may publish none, provide only a central contact, block requests or require JavaScript. `no_contact_observed` means no email appeared in the pages checked, not proof the entire site has none. `no_website`, `organization_only` and `branch_unconfirmed` explain other outcomes.

**Why is a result with no email charged?** You buy a completed, bounded place check. No-website and successfully checked no-email outcomes are paid at the stated rate. Failed or incomplete checks are free. Review checkComplete and final billing together.

**Is a branch email verified?** The label describes evidence connecting an address to the location. It does not establish deliverability, permission to contact or current ownership. SMTP, mailbox verification, email guessing and personal-contact enrichment are not performed.

**Can I collect every business in a city?** No completeness guarantee is made. Google ranking, radius, bounded search grid and request/time limits restrict coverage. A run can succeed with partial rows; inspect OUTPUT and diagnostics.

**What happens when a source blocks the run?** The affected route stops with a reported limitation. The Actor respects robots rules and follows public website links; it does not solve CAPTCHAs, sign in or render JavaScript. Ordinary robots.txt HTTP 4xx responses mean no available rules, as permitted by RFC 9309; server errors, network failures and detected challenges stop the check. Temporary website failures receive at most one paused retry; detected challenges are not retried. Limits: 750 KB per HTML response, 40 seconds per place, 25 MB of website responses and 12 MB of Maps responses per run.

**How do I resume?** Use OUTPUT.resumeInput for remaining discovered places. It retains prior exclusions and adds completed places. A new run has a new budget. Ambiguous delivery or billing outcomes are quarantined instead of automatically retried; inspect them before manual reuse. More than 10,000 exclusions requires manual batching, explicitly reported in the summary. Reconciliation can be `unknown` if platform counters have not confirmed receipts; eventual Apify run billing is authoritative.

**How may I use the data?** Review source terms and privacy/outreach requirements for your use. Public availability does not grant unrestricted reuse rights. [Google Maps terms](https://www.google.com/help/terms_maps/) apply to the source. This Actor is independent of Google and does not send messages.

Open an **Issue** on this Actor for a reproducible bug, including the run URL, input geography and expected result. Keep tokens and private contact lists out of public issues.

### How branch contact matching works

A branch label needs local evidence: a matching street and number, or matching published phone with relevant place context, without a conflicting address. A shared domain or footer occurrence alone is insufficient. Explicit head-office contacts are organization; unlocalized site contacts are general; ambiguous relationships remain uncertain.

Published emails on another domain are retained when the source supports them. The extractor reads mailto links, visible text and explicit `(at)`/`(dot)` forms, preserving original spelling and source.

This diagram uses labeled example addresses to explain the rule; it is not an additional live result.

### Measured email coverage and comparison

Validation on **November 15, 2026** used 48 manually labeled real places and saved public pages: independent businesses, shared-domain branches, external-domain emails, obfuscation, central contacts and negative cases. Labels were frozen before tuning; 12 places were held out.

| Saved-page metric | Observed result |
|---|---:|
| Correct branch associations / all branch predictions | 19 / 19 (100% on this sample) |
| Branch-positive places with a correct branch prediction | 19 / 24 (79.2%) |
| Places with any observed email | 29 / 48 (60.4%) |
| Places with an uncertain candidate | 8 / 48 (16.7%) |
| Held-out branch associations | 4 / 4 correct |

These are saved-page classification results, not 48 end-to-end cloud runs or a guarantee of future precision. Conservative labels reduce branch coverage.

One live run per Actor on the same ten Cambridge dentist place IDs produced:

| Actor | Places | Places with email | Run time | BRONZE customer event cost / competitor bill |
|---|---:|---:|---:|---:|
| This Actor | 10 | 7 | 56.7 s | $0.04536 |
| [Lukas Google Maps with Contact Details](https://apify.com/lukaskrivka/google-maps-with-contact-details) | 10 | 9 | 74.0 s | $0.08005 |
| [Vortex Google Maps](https://apify.com/vortex_data/google-maps) | 10 | 6 | 18.9 s | $0.01745 |

Our run returned seven completed event-eligible checks and three free partial rows. Our $0.04536 is the calculated customer event cost (7 × $0.00648); because this was an owner test, the actual owner infrastructure cost was $0.0032335, not customer revenue. The two competitor amounts are actual test-account bills. Lukas's direct-URL mode also charged place-details events; Vortex charged base rows, contact results and a start event. Settings requested contacts and disabled optional reviews, photos and people enrichment. Billing models differ, so these are bounded test costs under the stated models, not universal price rankings. Competitors do not expose the same branch label; their emails were not scored as incorrect branches. Separate ten-place tests in Wiesbaden childcare and Boston bookstores returned four and five places with email respectively.

A later independent default-input run on the same day returned ten business rows but only three completed checks with branch emails: four website requests and three robots checks were unavailable, leaving seven free partial results. After correcting robots 4xx handling, adding a bounded retry for ordinary HTTP 202 responses and preserving transport diagnostics, one final run of the unchanged Cambridge default returned seven branch-email rows and three free partial rows. Those remaining failures were one TLS hostname mismatch and two website HTTP 403 responses. The two emails found only by Lukas belonged to sites we could not access; they were not rejected by the branch classifier. Availability varied between runs, so this observation does not isolate the effect of the code change or guarantee future email coverage.

### API, n8n, MCP and CRM workflows

**API:** send the default JSON to `POST https://api.apify.com/v2/acts/zinin~google-maps-email-extractor/runs?maxTotalChargeUsd=1` with your Apify token in the Authorization header. Save the run ID, wait for terminal status, then read defaultDatasetId. Export with `GET /v2/datasets/{datasetId}/items?format=csv&clean=true`. Use asynchronous runs for larger inputs; a client timeout is not a reason to start another run.

**n8n:** use Apify's Run Actor action, pass the input, wait for completion and retrieve dataset items. Map placeId to your CRM's external identifier and review emailType and emailSourceUrl before use. This is a setup guide; no CRM connection is created automatically.

**MCP:** connect the official [Apify MCP server](https://docs.apify.com/platform/integrations/mcp), load this Actor's current input schema and request a bounded run of `zinin/google-maps-email-extractor`. No Google or third-party provider key is required; execution uses your Apify account.

### Ready-made examples

Copy one preset into the JSON input. Each uses a different real scenario with a ten-place limit and $1 charge cap; the other fields keep their documented defaults.

#### Cambridge dentist business contacts

A small UK local-business list:

```json
{"category":"dentist","location":"Cambridge, England, United Kingdom","countryCode":"GB","language":"en","maxPlaces":10,"maxChargeUsd":1}
```

#### Wiesbaden childcare contact sources

German institutions, with branch and organization contacts kept separate:

```json
{"category":"kindergarten","location":"Wiesbaden, Hesse, Germany","countryCode":"DE","language":"de","maxPlaces":10,"maxChargeUsd":1}
```

#### Boston bookstore business emails

US independent shops and chain locations:

```json
{"category":"bookstore","location":"Boston, Massachusetts, United States","countryCode":"US","language":"en","maxPlaces":10,"maxChargeUsd":1}
```

Change category, geography and limits when adapting an example.

### Changelog

**0.1 — November 15, 2026:** initial release with bounded Maps search and known-place input, evidence-based contact types, early exclusions, CSV views, partial diagnostics and one completed-place billing event.

# Actor input Schema

## `category` (type: `string`):

Business category to find. Clear this and Location in known-place mode.

## `location` (type: `string`):

Explicit geographic name with a comma and country. The resolved center is returned in OUTPUT. Use either this field or Search area. Clear for place IDs/URLs.

## `countryCode` (type: `string`):

Two-letter country code used for geographic validation and Maps proxy country.

## `language` (type: `string`):

Google Maps result language, for example en, de, fr or es.

## `searchArea` (type: `object`):

Optional JSON {"latitude":52.2,"longitude":0.12}. Clear Location when using a center. Empty object uses Location.

## `radiusKm` (type: `number`):

Bounded circle around the resolved or explicit center. A named city is not an administrative boundary. No full-city coverage guarantee.

## `placeIds` (type: `array`):

Google place IDs to re-enrich. Clear category, location and searchArea. No second provider key needed.

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

HTTPS Google Maps place links. Prefer URLs containing query_place_id for deterministic resolution. Clear category and location.

## `excludePlaceIds` (type: `array`):

Known places excluded before website checking and billing. Shared domains do not merge branches.

## `previousDatasetId` (type: `string`):

Optional dataset from this actor. Only checkComplete=true places are excluded. Partial checks remain retryable; reads at most10000 rows. Select a dataset to grant this limited-permission Actor read-only access; no write access is requested. Default: none (no previous dataset).

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

Global maximum unique places, including partial/free results. No separate per-query multiplier.

## `maxPagesPerPlace` (type: `integer`):

Maximum public HTML pages per place, starting at the Maps website path. Robots is checked separately and pages are cached across shared domains.

## `maxRunSeconds` (type: `integer`):

Actor stops bounded work at this deadline and writes completed results plus a resume input.

## `maxSearchRequests` (type: `integer`):

Maximum Maps HTTP requests, including location resolution, known places and retries. Partial status explains unfinished work.

## `maxConcurrency` (type: `integer`):

Maximum concurrent place website checks. Maps requests remain serial with polite pauses.

## `maxChargeUsd` (type: `number`):

Hard customer event budget in USD. Also obeys the Apify run charge cap. Zero does no paid work. Platform compute is included in the event price. A fresh resumed run has a fresh budget.

## Actor input object example

```json
{
  "category": "dentist",
  "location": "Cambridge, England, United Kingdom",
  "countryCode": "GB",
  "language": "en",
  "searchArea": {},
  "radiusKm": 3,
  "placeIds": [],
  "startUrls": [],
  "excludePlaceIds": [],
  "maxPlaces": 10,
  "maxPagesPerPlace": 4,
  "maxRunSeconds": 300,
  "maxSearchRequests": 12,
  "maxConcurrency": 4,
  "maxChargeUsd": 1
}
```

# Actor output Schema

## `contacts` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `billing` (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 = {
    "category": "dentist",
    "location": "Cambridge, England, United Kingdom",
    "countryCode": "GB",
    "language": "en",
    "searchArea": {},
    "radiusKm": 3,
    "placeIds": [],
    "startUrls": [],
    "excludePlaceIds": [],
    "maxPlaces": 10,
    "maxPagesPerPlace": 4,
    "maxRunSeconds": 300,
    "maxSearchRequests": 12,
    "maxConcurrency": 4,
    "maxChargeUsd": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinin/google-maps-email-extractor").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 = {
    "category": "dentist",
    "location": "Cambridge, England, United Kingdom",
    "countryCode": "GB",
    "language": "en",
    "searchArea": {},
    "radiusKm": 3,
    "placeIds": [],
    "startUrls": [],
    "excludePlaceIds": [],
    "maxPlaces": 10,
    "maxPagesPerPlace": 4,
    "maxRunSeconds": 300,
    "maxSearchRequests": 12,
    "maxConcurrency": 4,
    "maxChargeUsd": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("zinin/google-maps-email-extractor").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 '{
  "category": "dentist",
  "location": "Cambridge, England, United Kingdom",
  "countryCode": "GB",
  "language": "en",
  "searchArea": {},
  "radiusKm": 3,
  "placeIds": [],
  "startUrls": [],
  "excludePlaceIds": [],
  "maxPlaces": 10,
  "maxPagesPerPlace": 4,
  "maxRunSeconds": 300,
  "maxSearchRequests": 12,
  "maxConcurrency": 4,
  "maxChargeUsd": 1
}' |
apify call zinin/google-maps-email-extractor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zinin/google-maps-email-extractor"
        }
    }
}
```

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/1EiOv5BBUc6CpuL01/builds/bVzZEMha2bDZnhZSR/openapi.json
