# Google Maps Email Extractor & Lead Scraper (`highbrow_fame/google-maps-email-extractor`) Actor

Google Maps email extractor API: business emails, graded deliverability and a 0-100 lead score for $7 per 1,000 leads. Finds contact pages under their native name (impressum, kapcsolat, contatti +44, ten languages); MX, SPF, DMARC, catch-all checks. Local business email finder for B2B leads.

- **URL**: https://apify.com/highbrow_fame/google-maps-email-extractor.md
- **Developed by:** [yestrue](https://apify.com/highbrow_fame) (community)
- **Categories:** Lead generation, Automation, SEO tools
- **Security:** Limited permissions
- **Stats:** 113 total users, 6 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.50 / 1,000 results

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 & Lead Scraper — Validated B2B Leads with Deliverability Grades

[![Apify Actor](https://apify.com/actor-badge?actor=highbrow_fame/google-maps-email-extractor)](https://console.apify.com/actors/highbrow_fame/google-maps-email-extractor)

Turn a Google Maps search such as "dentists in Berlin" into **B2B leads with graded business emails**: details from the listing, the addresses found on each company's own website, a deliverability grade for every address and a 0-100 lead score.

**Price:** $7.00 per 1,000 leads on the Free plan, from $4.50 per 1,000 on higher Apify plans. You pay only for leads delivered; a run-start fee of $0.015 per GB of run memory comes on top (default 4 GB: $0.06).

**[Run it now](https://console.apify.com/actors/wFWjE7dkpfWg3O1Fd/input)** — or start from a ready example: [Dentist emails in Berlin, verified and deliverable](https://console.apify.com/actors/tasks/C1tNni2h2Xgp42FIQ).

| Business | Category | Email (masked) | Deliverability | Lead score |
|---|---|---|---|---|
| Fat Mama Restaurant | Restaurant | info@f•••.hu | high | 95 |
| Menza Étterem és Kávéház | Hungarian restaurant | info@m•••.hu | high | 95 |
| Aranybástya | Hungarian restaurant | info@a•••.com | high | 95 |

*Sample rows from a live run on 20 October 2026 (business emails masked); every record has more fields.*

### Daily alerts in 2 minutes

Get the leads that appeared since yesterday, every morning, without running anything by hand.

1. **Turn on "Only new leads since last run"** (Input tab, section *Monitoring*). The first run returns everything and marks every lead `isNew: true`; every later run returns only the leads that no earlier run of the same search delivered. Seen leads are skipped and **not charged**. "Maximum Results Per Query" counts what is checked, new or not, so set it above the number you expect.
2. **Put it on a timer.** Save your input as a task, then open [Schedules](https://docs.apify.com/platform/schedules) → *Create new schedule*, set the cron expression `0 7 * * *` (every day at 07:00 UTC) and add the task.
3. **Get the result where you work.** In the task, open *Integrations* and send each run's new leads by [e-mail (Gmail)](https://docs.apify.com/platform/integrations/gmail), to [Slack](https://docs.apify.com/platform/integrations/slack) or into Google Sheets (see the [integration-ready Actors](https://docs.apify.com/platform/integrations/actors/integration-ready-actors)); [all integrations](https://docs.apify.com/platform/integrations).

**What it costs:** only the new leads are charged ($0.007 each on the Free plan), plus the run-start fee every run pays ($0.015 per GB of run memory, $0.06 at the default 4 GB). If 10 new leads turn up per day, that is 10 × $0.007 + $0.06 = $0.13 a day, about $3.90 a month on the Free plan (less on higher plans). A day with no new leads costs only the $0.06 start fee.

The list of seen leads is kept in a named key-value store (`monitor-<actor name>`) in your own account for 60 days. Use *Watch list name* to keep one list when you edit the search, or to keep several lists apart.

Google Maps email extractor that turns a search such as "dentists in Berlin" into B2B leads: business details from the Google Maps listing, the email addresses found on each company's own website, a deliverability grade for every address, and a 0-100 lead score. It finds the contact page under its native name — `impressum`, `kapcsolat`, `contatti`, `contacto`, `contactez-nous` and 42 more across ten languages — and grades each address with MX, SPF and DMARC checks plus a best-effort SMTP probe. Measured on 168 businesses in six live runs on 2026-10-25: 64% of rows carried an e-mail (90% for Berlin dentists, 60–70% for Denver plumbers, 40–60% for Austin coffee shops). You pay only for leads delivered.

**Who uses it:**

- **Cold-outreach agencies and freelancers** who need a mailing list of local businesses where every address already has a deliverability grade, so you do not mail dead inboxes.
- **Sales teams** who sort a city's businesses by the 0-100 lead score and call the best ones first.
- **Web-design and local-SEO sellers** who look for companies with a weak website (HTTPS, mobile, page-size signals are in every row) and pitch the fix.
- **Market researchers** who map every dentist, gym or plumber in a metro area; the geo-grid goes past Google's ~120-result cap.
- **Anyone who refreshes a list weekly**: delta mode skips places you already have and charges nothing for them.

![Example output of google-maps-email-extractor](https://raw.githubusercontent.com/projectworks007/apify-data-mcp/main/docs/output-examples/google-maps-email-extractor.png)

### Quick start

1. Open the **Input** tab: it is prefilled with `coffee shops in Austin, TX` and 10 results. Type your own search (for example `dentists in Berlin` or `plumbers in Denver, CO`) and press **Start**.
2. The prefilled input (10 coffee shops in Austin) takes about 100 seconds (98–116 s in four runs on 2026-10-25) and costs at most $0.13 on the Free plan (10 × $0.007 + $0.06).
3. Download the leads from the **Output** tab as JSON, CSV or Excel, or read them through the API.

Video walkthrough (68 seconds, sample data): [Google Maps leads with graded e-mails in 3 minutes](https://youtu.be/g5_j4r7wokw)

https://youtu.be/g5_j4r7wokw

```json
{
    "searchQueries": ["coffee shops in Austin, TX"],
    "maxResults": 10
}
```

For a bigger run raise `maxResults` (roughly 70 s of startup plus 5-8 s per lead: about 15 minutes for 100 leads). If you want a hard stop, set `maxRunSeconds`: **a run that reaches its time budget does not fail**: it stops starting new places, finishes the ones in progress, saves everything collected and ends as SUCCEEDED with the message "Stopped at the time budget: N leads saved. Raise maxRunSeconds for more." If you abort a run by hand, the leads collected so far are kept too.

### Input

| Field | Type | Description | Default |
|---|---|---|---|
| `searchQueries` | Array of strings | Search terms like "plumbers in Chicago". Give this or `startUrls`. | prefill: `["coffee shops in Austin, TX"]` |
| `startUrls` | Array of URLs | Direct Google Maps search or place URLs (alternative to `searchQueries`) | `[]` |
| `maxResults` | Integer | Max leads per query (0 = unlimited) | `25` (form prefill 10) |
| `maxRunSeconds` | Integer | Optional time budget in seconds (empty or 0 = none). When it is used up the run saves what it has and ends SUCCEEDED. | none |
| `geoGridTiles` | Integer | Split each search into N×N map tiles to get past Google's ~120-result cap (1 = off, 3 = mid-size city, 5 = big city, 10 = mega-city) | `1` |
| `validateEmails` | Boolean | MX / SPF / DMARC / SMTP deliverability grade on every primary email | `true` |
| `extractWebSignals` | Boolean | HTTPS, mobile-responsive, page size, Open Graph, structured data | `true` |
| `enrichMetaAds` | Boolean | Facebook page ID and Meta Ad Library URL per business | `false` |
| `sinceDatasetId` | String | Delta mode: a previous run's dataset ID; places already in it are skipped and cost $0 | — |
| `scrapeEmails` | Boolean | Visit websites to find emails and tech stack | `true` |
| `scrapeSocials` | Boolean | Extract social media links | `true` |
| `autoExtend` | Boolean | If the Apify run timeout is too short for `maxResults`, start a fresh run with a longer one | `true` |
| `maxConcurrency` | Integer | Parallel browser pages | `5` |
| `language` | String | Google Maps language code | `en` |
| `proxyConfiguration` | Object | Datacenter by default (measured: same rows and email hit rate as residential, about 78% cheaper). Switch to RESIDENTIAL if Google shows its consent wall or returns nothing. | Apify datacenter |

**Coming from `compass/crawler-google-places`?** Paste your input as it is: `searchStringsArray`, `maxCrawledPlacesPerSearch` and `scrapeContacts` are accepted as aliases for `searchQueries`, `maxResults` and `scrapeEmails`. The other compass fields (`locationQuery`, `countryCode`, `city`, `placeMinimumStars`, `skipClosedPlaces`) are not supported and are ignored.

**Example: whole-city coverage with geo-grid tiling**

```json
{
    "searchQueries": ["italian restaurants in Manhattan"],
    "geoGridTiles": 5,
    "maxResults": 120,
    "maxRunSeconds": 14400
}
```

This splits Manhattan into a 5×5 grid (25 tiles, geocoded free via OpenStreetMap), searches each tile, removes overlaps by `placeId` and returns up to about 1,500 unique restaurants. Without tiling you top out near 120 results however high `maxResults` is. A large run also needs a longer Apify run timeout than the 4-hour default for 1,000+ leads (Start new run, Options, Timeout).

### Output

One record per business. All fields below ship in every item; `emails`, `primaryEmail` and `emailValidation` are empty when no address was found (`hasContactForm` then tells you whether the site has a form).

```json
{
    "name": "Osteria Nonnino",
    "address": "123 Main Street, New York, NY 10013",
    "latitude": 40.72183,
    "longitude": -74.00437,
    "phone": "+1 (212) 555-1234",
    "whatsapp": "+12125551234",
    "website": "https://osteria-nonnino.com",
    "primaryEmail": "info@osteria-nonnino.com",
    "emails": ["info@osteria-nonnino.com", "reservations@osteria-nonnino.com"],
    "emailValidation": { "mxRecords": 5, "hasSpf": true, "hasDmarc": true, "smtpValid": null, "isCatchAll": null, "deliverability": "high" },
    "hasContactForm": true,
    "rating": 4.6,
    "reviewCount": 328,
    "category": "Italian restaurant",
    "industry": "Food & Beverage",
    "cuisine": "Italian",
    "businessStatus": "operational",
    "socialMedia": { "facebook": "https://facebook.com/osterianonnino", "instagram": "https://instagram.com/osterianonnino" },
    "techStack": ["WordPress", "WooCommerce", "Google Analytics"],
    "webQuality": "modern",
    "leadScore": 95,
    "leadReadiness": "hot",
    "suggestedOpener": "…",
    "aiLeadProfile": { "businessSummary": "…", "outreachHooks": [], "painSignals": [], "personalizationContext": "…" },
    "googleMapsUrl": "https://www.google.com/maps/place/Osteria+Nonnino",
    "placeId": "0x4741dc14183e4511:0x2356a71b716602c5",
    "cid": "2546142213614494405",
    "searchQuery": "italian restaurants Manhattan",
    "scrapedAt": "2026-04-17T10:30:00.000Z"
}
```

| Field | Description |
|---|---|
| `primaryEmail`, `emails` | The single best address (domain matches the website when possible; always `emails[0]`) and all addresses found, ranked |
| `emailValidation` | `mxRecords`, `hasSpf`, `hasDmarc`, `smtpValid`, `isCatchAll` and a `deliverability` grade (`high` / `medium` / `low`). The SMTP and catch-all probe is best effort: Apify's cloud often blocks port 25, and the grade is then DNS-only. Filter on `deliverability === "high"` before a cold-email send. |
| `leadScore`, `leadReadiness` | 0-100 aggregate quality and `hot` (70+) / `warm` (45-69) / `cold` (25-44) / `dead`. Points: +25 domain-matched email, +10 any email, +10 phone, +10 website, +15 claimed, +10 rating 4.0+, +10 reviews 20+, +10 social media, +5 contact form, +5 modern tech stack. |
| `aiLeadProfile`, `suggestedOpener` | Ready-made outreach profile and opener built from review keywords, for LLM prompts |
| `ownerName` | Owner or founder name when the website names one (best effort: a heuristic that can pick up a trade name; check before you use it in an opener) |
| `webQuality`, `webSignals`, `techStack` | `modern` / `dated` / `poor` grade, HTTPS, mobile viewport, page size, Open Graph, structured data; 40+ detected technologies (WordPress, Wix, Shopify, GA, Pixel, …) |
| `industry`, `cuisine`, `category`, `priceLevel` | 14 industry buckets, cuisine tag for restaurants, Google category and price level |
| `businessStatus`, `isClaimed`, `businessDescription` | `operational` / `temporarily_closed` / `permanently_closed`, claimed listing, the owner's own description |
| `serviceOptions`, `reviewKeywords`, `openingHours` | Delivery / Wi-Fi / accessibility tags (60+), what customers mention in reviews, opening hours |
| `bookingUrl`, `menuUrl` | OpenTable, Resy, Tock, TheFork reservation link; menu link |
| `socialMedia`, `whatsapp`, `hasContactForm` | Facebook, Instagram, LinkedIn, Twitter/X, YouTube, TikTok links; WhatsApp Business number; contact form flag |
| `facebookPageId`, `metaAdLibraryUrl` | With `enrichMetaAds`: the page ID and a link to that page's active ads |
| `latitude`, `longitude`, `plusCode`, `googleMapsUrl` | Location |
| `placeId`, `cid` | Google feature ID (used by delta mode) and the stable decimal Customer ID, a cross-query join key (`https://maps.google.com/?cid={cid}`) |

### Pricing

Pay per delivered lead. No subscription, no compute fee. Everything is included at every tier: Maps data, email extraction, deliverability grading, tech stack, web quality, lead score, AI profile, social links, Meta Ad Library URL.

| Apify plan | Per delivered lead | Per 1,000 leads |
|---|---|---|
| Free | $0.007 | $7.00 |
| Bronze | $0.006 | $6.00 |
| Silver | $0.005 | $5.00 |
| Gold, Platinum, Diamond | $0.0045 | $4.50 |

Plus a run-start fee of **$0.015 per GB of run memory**: $0.06 on the 4 GB default, the same on every plan. **Total = leads × your per-lead rate + $0.06.** The start fee covers browser launch and Maps warm-up, so bigger runs cost less per lead.

| Search (Free-plan prices) | Leads | Cost | $/lead |
|---|---|---|---|
| Coffee shops in Shoreditch, London | 20 | $0.20 | $0.0100 |
| Italian restaurants in Manhattan | 25 | $0.24 | $0.0094 |
| Dentists in Berlin | 50 | $0.41 | $0.0082 |
| Plumbers in Chicago | 100 | $0.76 | $0.0076 |
| Law firms in New York City | 300 | $2.16 | $0.0072 |
| 1,000 leads | 1,000 | $7.06 | $0.0071 |

On Gold, Platinum or Diamond the same 1,000 leads cost $4.56 and **1,500 leads cost $6.75 + $0.06** (a 5×5 geo-grid run). The same 1,500 leads cost $10.50 + $0.06 on the Free plan.

- **Failures are free.** You are charged only for records written to the dataset, never for timeouts, blocked requests or duplicates. A run that delivers nothing costs only the start fee.
- **Delta mode** (`sinceDatasetId`): places already in the earlier dataset are skipped before any charge, so a weekly re-run pays only for new leads.
- **Maximum charge** on the run is respected exactly: you receive as many leads as the budget covers, highest-scoring first, and the run says how many more were found. Raise the cap and re-run with `sinceDatasetId` to get only the missing ones.
- **Preflight check:** if `maxResults` cannot fit the Apify run timeout, the run refuses to start (no lead charged, only the start fee) or, with `autoExtend` on, restarts itself with a longer timeout.
- Memory: the 4 GB default is what the crawler is tuned for; 2 GB made the Maps phase 5.4× slower in a measurement, to save $0.015.

### How it works

1. **Google Maps search.** A Playwright browser runs the search, scrolls the results and collects the place pages.
2. **Place data.** Each place page gives name, address, phone, website, rating, category, hours, GPS, status, owner description, service options and review keywords.
3. **Website analysis.** A fast Cheerio crawler reads each business website and extracts emails from five sources: `mailto:` links, Cloudflare-obfuscated tags, JSON-LD, text deobfuscation (`info [at] domain [dot] com`, HTML entities, ROT13) and pattern matching on the HTML. If the homepage has no email, or only a third-party one, it follows contact, about and team pages under their native names.
4. **Ranking and filtering.** The address matching the business domain becomes `primaryEmail`. Placeholder addresses, tracking pixels and font-author emails are removed.
5. **Enrichment.** Tech stack, web quality, owner name, lead score and the AI profile are added.
6. **Delivery in batches.** Leads are checked and written to the Output tab in batches of 20, and the run's status line shows progress.

### Tips

- Use specific queries: "Italian restaurants in Manhattan, NYC" beats "restaurants".
- Use `geoGridTiles` for big cities; use `leadScore` and `emailValidation.deliverability` to prioritize.
- If you see blocks or failures, lower `maxConcurrency` to 2-3 or switch the proxy to RESIDENTIAL.
- Businesses with no published email are flagged `hasContactForm: true` when the site has a form.

Email hit rates from real test runs (the rate depends on the market):

| Market | Sample | Email hit rate | High deliverability |
|---|---|---|---|
| Berlin Mitte dentists | 20 | 85% | 65% |
| Shoreditch coffee shops | 20 | 70% | 40% |
| Manhattan Italian restaurants | 25 | 64% | 32% |
| Austin TX dentists | 168 | 53% | 25% |
| Denver CO plumbers | 40 | 60% | 43% |
| Hungarian dentists (Budapest) | 15 | 53-67% | — |

Public demo datasets: [25 Manhattan Italian restaurants](https://api.apify.com/v2/datasets/M9Bd8gMh4NglVKIbt/items?format=json), [20 London coffee shops](https://api.apify.com/v2/datasets/ROgK5EsNU6UtTSwFl/items?format=json), [20 Berlin dentists](https://api.apify.com/v2/datasets/gI04MuKrfPF4D4Ui8/items?format=json), [168 Austin dentists](https://api.apify.com/v2/datasets/wMnqRj2ChH4NbsuVk/items?format=json).

### How much does it cost to scrape one city?

Use the formula in the Pricing section: leads × your per-lead rate + $0.06. A city with 100 plumbers is $0.76 on the Free plan and $0.51 on Gold and above; a 5×5 geo-grid run that delivers 1,500 leads is $6.81 on Gold and above ($10.56 on Free). Delta mode makes every repeat run cost only the new leads.

### Use it from Claude, ChatGPT or any MCP client

Add this URL as a custom connector / MCP server:

```
https://mcp.apify.com/?tools=highbrow_fame/google-maps-email-extractor
```

The assistant sees one tool, `highbrow_fame--google-maps-email-extractor`, with this Actor's input fields, so you can ask for "dentists in Szeged with email addresses". Runs are billed to your own Apify account at the normal per-lead rate. Other integrations: Zapier, Make, Google Sheets, webhooks, the Apify API, and direct LLM use of `aiLeadProfile`.

### Legal and compliance

This is general information, **not legal advice**. You are the data controller for what you collect.

- **Public business data** (name, address, phone, website, hours, rating) needs no special legal basis. Generic addresses (`info@`, `sales@`) are corporate contact data, usually covered by legitimate interest for B2B (GDPR Art. 6(1)(f)) with a clear opt-out. Personal addresses (`firstname.lastname@`) and `ownerName` are personal data: document a legitimate-interest assessment, or get consent.
- **Google's Terms of Service** prohibit automated access. That is a contractual restriction, not criminal law (see *hiQ Labs v. LinkedIn*, 9th Cir.), but expect technical blocks; use proxies and sensible rates.
- **Do not** send spam without opt-out (GDPR, CAN-SPAM, PECR, CASL; some countries such as France, Germany and Italy require prior opt-in even for B2B), sell personal data without a lawful basis, or bypass opt-out signals. Honour suppression lists and delete data you no longer need.
- Apify and the actor author are processors at most; the per-event price covers infrastructure, not legal responsibility.

### FAQ

**The run returned nothing and exited at once. Why?** With neither `searchQueries` nor `startUrls` there is nothing to search for. Only the run-start fee is charged. The status message shows a minimal valid input.

**My run ended with "Stopped at the time budget". Is that an error?** No. It ended SUCCEEDED and every lead collected is in the dataset. Raise `maxRunSeconds` (and `maxResults`) for more, and pass this run's dataset ID as `sinceDatasetId` to get only the new ones.

**Does it work outside English-speaking markets?** Yes. Any language and country works. Contact-page localization covers Hungarian, German, French, Italian, Spanish, Portuguese, Polish, Dutch and Czech URL names, so "Zahnarzt Berlin", "fogorvos Budapest" and "dentista Madrid" return the same schema. Best results: EU local services and healthcare (80%+ email hit rates seen in DACH and Iberia), tourist-city restaurants, and B2B services with claimed Google profiles.

**Is it an email finder?** Yes, in the narrow sense: it collects addresses already published on the company's website. It does not guess addresses from name patterns and does not query third-party contact databases.

**Can it scrape reviews?** It returns `rating`, `reviewCount` and `reviewKeywords` (what customers mention), not individual reviews.

**How do I run a recurring scrape without paying for duplicates?** Schedule a weekly run with `sinceDatasetId` set to the previous run's dataset ID. Places are matched by `placeId` and `cid`, so only new businesses are charged.

**What does it not do?** No phone validation; no social-engagement data (follower counts, posts); no phone scraping when a site hides numbers behind JS or images; no CAPTCHA bypass (if Google blocks, the actor backs off and you are not charged for blocked requests); not the cheapest way to collect millions of raw place records. Export to CSV, Excel, JSON, XML, RSS and HTML is built into the dataset page.

**Is the actor open source?** No. The source is hidden; the README, run history and dataset schema are public.

### Which Google Maps scraper should you use?

| If your problem is… | Use | Why |
|---|---|---|
| The email column comes back empty outside English markets | **this actor** | Contact pages are found under their native names in ten languages. Measured on 168 businesses in six live runs on 2026-10-25: 64% of delivered rows carried an email. |
| You send cold email and bounces cost you | **this actor** | MX, SPF and DMARC grading (plus the best-effort SMTP/catch-all probe) is inside the per-lead price, not an add-on. |
| You re-scrape the same city weekly | **this actor** | Delta mode skips duplicates before any charge. |
| Millions of raw place records, no email work | `compass/crawler-google-places` | The established giant, built for volume. |
| Basic contact details in English markets | `lukaskrivka/google-maps-with-contact-details` | Mature, cheaper for the simple case. |

*Competitor features and prices change; check their pages. Measurements on this page: 12 runs and 181 businesses verified 28 August 2026, six runs and 168 businesses verified 25 October 2026; prices verified 13 October 2026.*

> **Companion actor — track which AI engines mention your business.** See whether the businesses you scrape (or your own brand) are cited in ChatGPT, Perplexity, Gemini and Google AI Overviews across 24 languages. No API key needed (12 calls per run on a free Apify plan, 200 on paid; $0.05 per citation record). → [AI Search Visibility Tracker](https://apify.com/highbrow_fame/ai-search-visibility-tracker)

> **70+ teams have run this actor.** If it saved you a manual data-extraction job, [a 30-second review](https://apify.com/highbrow_fame/google-maps-email-extractor) goes a long way, and a bookmark lets you launch new runs in one click.

### Integrate in 2 minutes: Python, n8n and LangChain

Copy-paste examples for Google Maps Email Extractor & Lead Scraper: a Python script (apify-client), an importable n8n workflow and a LangChain tool for AI agents. [google-maps-email-extractor integration examples on GitHub](https://github.com/projectworks007/apify-data-mcp/tree/main/examples/google-maps-email-extractor)

### Related Actors

- [Website Tech Stack Detector — CMS, Frameworks, Analytics & More](https://apify.com/highbrow_fame/website-tech-stack) — Detect the CMS, frameworks, analytics and hosting behind any website
- [Domain Checker — WHOIS, DNS, SSL & Expiry Dates in Bulk](https://apify.com/highbrow_fame/domain-whois-dns-ssl) — Bulk WHOIS, DNS, SSL and expiry checks for many domains
- [OpenStreetMap Places Scraper — POIs, Addresses, Opening Hours](https://apify.com/highbrow_fame/openstreetmap-places) — OpenStreetMap places, addresses and opening hours across 62 categories
- [Sitemap Extractor & Scraper — URLs, Dates, Images & hreflang](https://apify.com/highbrow_fame/sitemap-url-extractor) — Every URL from a site’s sitemaps, with dates, images and hreflang
- [Domain Authority & Website Rank Checker API — Bulk Open Data](https://apify.com/highbrow_fame/domain-authority-rank) — Bulk domain authority score and website rank on open data

# Changelog

This Actor's version history is a separate document: https://apify.com/highbrow_fame/google-maps-email-extractor/changelog.md

# Actor input Schema

## `searchQueries` (type: `array`):

REQUIRED unless you set startUrls: the run needs at least one of the two, and it will stop immediately if both are empty. List of search queries to use on Google Maps (e.g., 'restaurants in Budapest', 'dentists in London'). Each query will produce a separate search.

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

An alternative to searchQueries: supply one and leave the other empty. Direct Google Maps search result URLs. Use this if you already have specific Google Maps URLs to scrape.

## `maxResults` (type: `integer`):

Maximum number of business listings to extract per search query. Set to 0 for unlimited. Default and form prefill: 25, enough to judge output quality on a real market. Runtime is roughly 70 s of startup plus 5-8 s per lead, so no run returns within a 30-45 s tool-call window: if you call this Actor programmatically or from an AI agent, pass maxResults explicitly, poll the run, then read the dataset. For production runs use 100-1000 and raise maxRunSeconds to match (the run stops at that time budget). Billing: $0.007 per delivered lead on the Free plan, $0.006 Bronze, $0.005 Silver, $0.0045 on Gold, Platinum and Diamond (all enrichment included at every tier), plus a $0.015/GB run-start fee ($0.06 on the 4 GB default, the same on every plan). Example on the Free plan: 100 leads = $0.76, 1,000 leads = $7.06. Bigger runs are cheaper per lead because the start fee amortises. Runs of several hundred leads can also need a longer Apify run timeout (Start new run, Options, Timeout). The scraper estimates the runtime at startup and, with autoExtend on, restarts itself with a longer timeout if your settings would not fit.

## `scrapeEmails` (type: `boolean`):

Visit each business website to extract email addresses. Disabling this speeds up the scraper significantly.

## `scrapeSocials` (type: `boolean`):

Extract social media profile links (Facebook, Instagram, LinkedIn, Twitter) from business websites.

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

Language code for Google Maps results (e.g., 'en', 'de', 'hu').

## `enrichMetaAds` (type: `boolean`):

When enabled, the scraper fetches each business's Facebook page to extract the numeric page ID, then builds a targeted Meta Ad Library URL (active ads only). Adds ~1 request per business with a Facebook URL. Great for identifying actively-advertising leads (high purchase intent).

## `validateEmails` (type: `boolean`):

When enabled, the actor grades every primaryEmail before delivery: checks MX records, SPF & DMARC DNS entries, and attempts an SMTP RCPT TO probe to detect catch-all domains (high bounce risk). Fills the `emailValidation` field with deliverability 'high'/'medium'/'low'. Critical for cold-outreach teams protecting sender reputation.

## `extractWebSignals` (type: `boolean`):

When enabled, the actor extracts lightweight web quality signals from every homepage it already fetches: HTTPS-only, mobile-responsive, page size, favicon, Open Graph tags, structured data. Fills `webSignals` + `webQuality` ('modern'/'dated'/'poor'). Free (uses HTML already in memory). Perfect for web-agency outreach targeting.

## `onlyNew` (type: `boolean`):

Return only places that earlier runs of this watch list did not deliver: they are skipped before anything is scraped and not charged (the run-start fee still applies to every run). The first run returns everything, all marked as new. Combine with a Schedule for a daily alert. "Maximum Results Per Query" counts the places checked, new or not, so set it above the number you expect.

## `monitorKey` (type: `string`):

Optional. Names the list of leads already delivered. Empty: the search itself is the list (change the search and the list starts over). The same name keeps the list when you edit the search; different names keep several lists apart.

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

How long the run may work before it stops by itself, in seconds. When the budget is used up the run stops starting new places and pages, finishes the ones in progress, saves everything collected and ends as SUCCEEDED with the message "Stopped at the time budget: N leads saved. Raise maxRunSeconds for more." Leave empty or 0 for no time budget (default). Roughly 70 s of startup plus 5-8 s per lead: set 900 for about 100 leads, 3600 or more for 500+. Values 1-29 count as 30. The Apify run timeout still applies on top of this.

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

Maximum number of pages processed in parallel. Lower values reduce the chance of being blocked.

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

Proxy configuration for the scraper. The default (Apify datacenter proxy) was measured on four markets in paired runs against RESIDENTIAL: same rows delivered, same email hit rate, ~78% cheaper. Switch to the RESIDENTIAL group only if your runs hit Google's consent wall or return nothing — that is Google throttling datacenter IPs, and RESIDENTIAL gets past it at $8/GB.

## `maxEmailScrapeConcurrency` (type: `integer`):

Maximum concurrent requests when scraping business websites for emails. Keep low to avoid blocks.

## `sinceDatasetId` (type: `string`):

Optional, and it requires state: you have to remember the datasetId that a previous run returned and pass it back here. Leave it empty on a first run. If you provide a dataset ID from a previous run, the actor will skip any Google Maps place already present there (matched by placeId). Perfect for daily/weekly scheduled runs that only want NEW leads — you save on every duplicate. Example: '0selLasyFyBlq5xRq' from a previous run.

## `autoExtend` (type: `boolean`):

⭐ Recommended. If your run's timeout is too short for the requested maxResults, the actor automatically starts a fresh run with a sufficient timeout instead of refusing. You never have to adjust the timeout manually. Note for programmatic callers: when this fires, the run you started finishes early and your results live in a SECOND run with a different runId, named in the first run's status message. Follow that pointer rather than reading the first run's empty dataset. Billing is unchanged — PAY_PER_EVENT only charges for leads actually delivered, regardless of which run delivered them. The original run exits cleanly with a pointer to the new run's dataset. Set to false only if you want the preflight to refuse with a detailed error instead.

## `geoGridTiles` (type: `integer`):

🎯 Power feature. Google Maps caps a single search result list at ~120 places. If you need comprehensive coverage of a large city (say all 800+ restaurants in Manhattan), set this to N and the actor splits the search area into an N×N geographic grid, issuing the same query against each tile's map viewport. Tile results are de-duplicated by placeId so you get a single clean dataset. Leave at 1 (default) for small cities or when the 120-cap isn't a concern. Try 3 (→9 tiles) for medium cities, 5 (→25 tiles) for big cities, up to 10 (→100 tiles) for NYC/Tokyo-scale coverage. Only works when your query contains a recognizable location (e.g. 'restaurants in Manhattan', 'dentists near Berlin') — geocoded free via OpenStreetMap/Nominatim. ⚠️ Billing impact: each extra lead still costs one lead at your plan rate ($0.007 Free down to $0.0045 on Gold, Platinum and Diamond), and the run-start fee is charged once regardless of tile count — so 5× tiles doesn't mean 5× cost, it means up to 5× unique leads discovered.

## `searchStringsArray` (type: `array`):

Alias for "Search queries", accepted so an input written for compass/crawler-google-places runs here unchanged. If both are set, "searchQueries" wins.

## `maxCrawledPlacesPerSearch` (type: `integer`):

Alias for "Max results". If both are set, the alias wins: the platform writes schema defaults into every input, so the native field is always present and the explicitly supplied alias is the stronger signal of intent.

## `scrapeContacts` (type: `boolean`):

Alias for "Extract emails from websites". If both are set, the alias wins (see "Max results" alias for why).

## Actor input object example

```json
{
  "searchQueries": [
    "restaurants in Budapest",
    "dentists in London"
  ],
  "startUrls": [],
  "maxResults": 10,
  "scrapeEmails": true,
  "scrapeSocials": true,
  "language": "en",
  "enrichMetaAds": false,
  "validateEmails": true,
  "extractWebSignals": true,
  "onlyNew": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxEmailScrapeConcurrency": 10,
  "autoExtend": true,
  "geoGridTiles": 1
}
```

# Actor output Schema

## `leads` (type: `string`):

Every delivered lead as a JSON array: business details, emails with deliverability validation, lead score.

## `leadsCsv` (type: `string`):

The same rows as CSV, ready for a spreadsheet or CRM import.

# 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 = {
    "searchQueries": [
        "coffee shops in Austin, TX"
    ],
    "startUrls": [],
    "maxResults": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("highbrow_fame/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 = {
    "searchQueries": ["coffee shops in Austin, TX"],
    "startUrls": [],
    "maxResults": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("highbrow_fame/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 '{
  "searchQueries": [
    "coffee shops in Austin, TX"
  ],
  "startUrls": [],
  "maxResults": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call highbrow_fame/google-maps-email-extractor --silent --output-dataset

```

## MCP server setup

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