# Google Maps Scraper — Places, Leads, Emails & Socials (`leopoldsaint/google-maps-leads-scraper`) Actor

Fast no-browser Google Maps scraper with built-in website email, phone, and social profile extraction. Scrapes places by keyword + location or coordinates with automatic grid tiling, ratings, hours, websites, and domain-ranked business emails at flat pay-per-place pricing.

- **URL**: https://apify.com/leopoldsaint/google-maps-leads-scraper.md
- **Developed by:** [Leopold saint](https://apify.com/leopoldsaint) (community)
- **Categories:** Lead generation, Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 place scrapeds

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 Scraper — Places, Leads, Emails & Socials do?

**Google Maps Scraper — Places, Leads, Emails & Socials** extracts structured local business data directly from [Google Maps](https://www.google.com/maps) — **without slow browsers or stacked add-on fees** — and automatically crawls each business's website to enrich every lead with **domain-ranked emails, social media profiles, and marketing tech stack**.

Built for B2B lead generation, local SEO agencies, sales teams, AI agents, and data enrichment pipelines, it runs on Apify with full REST API, scheduled runs, n8n/Make/Clay webhooks, and Apify MCP compatibility.

### Why use Google Maps Scraper — Places, Leads, Emails & Socials?

- **Built-in website email & social extraction included free** — many Google Maps scrapers charge separately for places (`$4/1K`), contact enrichment (`+$2/1K`), and search filters (`+$1/1K`). Here, every field is included in one flat per-place price.
- **No browser overhead** — direct HTTP extraction runs in seconds on 512 MB RAM and returns clean JSON with place IDs, CIDs, ratings, reviews, phones, websites, opening hours, categories, coordinates, and website emails.
- **Deep 3×3 coordinate grid tiling** — enable `useGridSearch` to break past Google Maps' standard per-viewport limit and cover entire metro areas.
- **Zero-waste filtering** — filter by `minRating`, `minReviews`, `onlyWithWebsite`, `onlyWithPhone`, or `onlyWithEmail` so you only pay for leads that match your ICP.

### How to scrape Google Maps leads & emails

1. Open the **Input** tab and enter one or more **Search Queries** (e.g. `dentists in Austin TX`, or `HVAC contractors` paired with a list of **Locations**).
2. Keep **Extract Emails & Socials From Website** enabled (`true`) to automatically discover public emails (`mailto:`, body text, and obfuscated `[at]`/`[dot]` patterns) and social links from each business website.
3. Set **Max Places per Query** and **Max Total Places**, plus any quality filters (`minRating`, `onlyWithEmail`).
4. Click **Start** and download your leads as **CSV, Excel, JSON, or HTML**, or connect directly via API/n8n/MCP.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `searchQueries` | string\[] | `["dentists in Austin TX"]` | Keywords or full `"category in city"` queries |
| `locations` | string\[] | `[]` | Optional cities/ZIPs cross-paired with each query |
| `latitude` / `longitude` | number | — | Optional explicit map center coordinates |
| `zoomRadiusKm` | number | `25` | Search radius in km (`1`–`100`) |
| `useGridSearch` | boolean | `false` | Divide target area into a 3×3 coordinate grid for deep coverage |
| `extractContacts` | boolean | `true` | Crawl homepage + `/contact` for emails, socials & tech stack (free) |
| `maxContactPagesPerSite` | integer | `2` | Pages crawled per business website (`1`–`5`) |
| `minRating` / `minReviews` | number | `0` | Quality filter thresholds |
| `onlyWithWebsite` / `onlyWithPhone` / `onlyWithEmail` | boolean | `false` | Require contact fields before emitting/charging a lead |
| `language` / `country` | string | `"en"` / `"us"` | Google Maps locale (`en`, `es`, `de`, `fr`, `gb`, `au`, etc.) |
| `maxPlacesPerQuery` / `maxTotalPlaces` | integer | `20` / `25` | Pagination and run caps |

### Output

You can download the dataset in various formats such as **JSON, HTML, CSV, or Excel**.

```json
{
    "searchQuery": "dentists in Austin TX",
    "name": "ATX Family Dental",
    "placeId": "ChIJb5gBC-u0RIYRHkntaUcdJGs",
    "cid": "7720327853776914718",
    "primaryCategory": "Dentist",
    "categories": ["Dentist", "Cosmetic dentist", "Dental clinic"],
    "rating": 4.9,
    "reviewCount": 926,
    "address": "1700 S 1st St, Austin, TX 78704",
    "city": "Austin",
    "state": "TX",
    "postalCode": "78704",
    "phone": "(512) 717-3147",
    "phoneE164": "+15127173147",
    "website": "https://www.atxfamilydental.com/",
    "domain": "atxfamilydental.com",
    "bestEmail": "office@atxfamilydental.com",
    "emails": ["office@atxfamilydental.com"],
    "emailDomainMatch": true,
    "socialProfiles": {
        "instagram": "https://www.instagram.com/atxfamilydental/",
        "facebook": "https://www.facebook.com/atxfamilydental/",
        "linkedin": null,
        "twitter": null,
        "tiktok": null,
        "youtube": null
    },
    "techStack": ["WordPress", "Google Analytics", "Meta Pixel"]
}
```

### Data table

| Field | Type | Description |
| --- | --- | --- |
| `name` | string | Business name on Google Maps |
| `placeId` / `cid` | string | Canonical Google Maps identifiers |
| `primaryCategory` / `categories` | string / string\[] | Business categories |
| `rating` / `reviewCount` | number | Star rating and total Google review count |
| `phone` / `phoneE164` | string | Local and E.164 formatted phone numbers |
| `website` / `domain` | string | Clean business website URL (UTM stripped) and root domain |
| `bestEmail` / `emails` / `emailDomainMatch` | string / string\[] / boolean | Domain-ranked public emails discovered from the business site |
| `socialProfiles` | object | Instagram, Facebook, LinkedIn, X/Twitter, TikTok, and YouTube links |
| `techStack` | string\[] | Detected CMS, analytics, ad pixels, and CRM tools |
| `address` / `city` / `state` / `postalCode` / `latitude` / `longitude` | string / number | Parsed physical location and GPS coordinates |
| `openingHours` / `attributes` | array | Weekly opening hours and Google Business attributes |

### How much does it cost to scrape Google Maps?

Pricing is simple **pay-per-event** with platform compute usage included (no separate add-on fees for email enrichment or filters):

- **Free tier:** `$1.50` per 1,000 places (`$0.0015 / place`) + `$0.00005` actor start
- **Bronze:** `$1.30` per 1,000 places
- **Silver:** `$1.10` per 1,000 places
- **Gold+:** `$0.90` per 1,000 places

You are **never charged** for businesses skipped by your filters (`minRating`, `onlyWithEmail`, etc.).

### API, Automation & AI Agent Integration

#### JavaScript / TypeScript (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('leopoldsaint/google-maps-leads-scraper').call({
    searchQueries: ['dentists'],
    locations: ['Austin, TX', 'Dallas, TX'],
    extractContacts: true,
    minRating: 4.5,
    maxTotalPlaces: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("leopoldsaint/google-maps-leads-scraper").call(run_input={
    "searchQueries": ["dentists in Austin TX"],
    "extractContacts": True,
    "onlyWithEmail": True,
    "maxTotalPlaces": 50,
})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

#### n8n, Make, Clay & Zapier (Single HTTP Request)

```bash
curl -X POST "https://api.apify.com/v2/acts/leopoldsaint~google-maps-leads-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["coffee shops in Seattle WA"], "extractContacts": true, "maxTotalPlaces": 25}'
```

#### AI Agents (Apify MCP)

Connect this Actor directly to Claude, Cursor, ChatGPT, or custom agents via `https://mcp.apify.com` using Actor ID `leopoldsaint/google-maps-leads-scraper`.

### Related Lead Generation & Research Actors

- [Website Contact Details, Emails, Phones & Social Scraper](https://apify.com/leopoldsaint/website-contact-email-scraper) — enrich any custom list of domains in bulk
- [Shopify Store Analyzer & Tech Stack Lead Enricher](https://apify.com/leopoldsaint/shopify-store-analyzer-leads) — analyze DTC ecommerce stores and missing apps
- [Google Ads Transparency Center Scraper](https://apify.com/leopoldsaint/google-ads-transparency-scraper) — check which local or B2B competitors are actively running Google Ads

### FAQ, disclaimers, and support

- **Is this legal?** This Actor extracts publicly visible business directory listings and publicly published business website contact details. Ensure your outreach complies with GDPR, CAN-SPAM, PECR, and local marketing regulations.
- **Why do some businesses not have an email?** Not every local business publishes an email address on its website; enable `onlyWithEmail: true` if you only want email-verified rows.
- **Need help or a custom field?** Open an issue on the **Issues** tab and we will respond quickly.

# Actor input Schema

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

Google Maps search queries (e.g. 'dentists', 'coffee shops', 'HVAC contractors'). Combine with Locations below or include the city directly in each query.

## `locations` (type: `array`):

Optional list of cities, regions, or postal codes to pair with each Search Query (e.g. 'Austin, TX', 'Miami, FL'). Leave empty if locations are already inside Search Queries.

## `latitude` (type: `number`):

Optional map center latitude (e.g. 30.2672 for Austin). Overrides geocoding when paired with Center Longitude.

## `longitude` (type: `number`):

Optional map center longitude (e.g. -97.7431 for Austin). Overrides geocoding when paired with Center Latitude.

## `zoomRadiusKm` (type: `number`):

Approximate search radius in kilometers around the location center (1 to 100 km).

## `useGridSearch` (type: `boolean`):

Automatically divide the target area into a 3x3 coordinate grid to discover more than 120 places per query.

## `extractContacts` (type: `boolean`):

Visit each business's website homepage and /contact page to extract domain-ranked emails, social media profiles, and tech stack — included free in flat per-place pricing.

## `maxContactPagesPerSite` (type: `integer`):

Maximum pages (homepage + contact/about pages) crawled per business website when contact extraction is enabled.

## `minRating` (type: `number`):

Only return businesses with a Google Maps rating at or above this value (0 = no filter).

## `minReviews` (type: `integer`):

Only return businesses with at least this many Google Maps reviews (0 = no filter).

## `onlyWithWebsite` (type: `boolean`):

Skip places that do not list a website URL on Google Maps.

## `onlyWithPhone` (type: `boolean`):

Skip places that do not list a phone number on Google Maps.

## `onlyWithEmail` (type: `boolean`):

Only emit leads where at least one public email was discovered on the business website (requires Extract Emails enabled).

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

Two-letter Google Maps language code (e.g. en, es, de, fr, pt).

## `country` (type: `string`):

Two-letter Google Maps country code (e.g. us, gb, ca, au, de, fr, in).

## `maxPlacesPerQuery` (type: `integer`):

Maximum unique places to extract per search query/location pair.

## `maxTotalPlaces` (type: `integer`):

Hard cap on total unique places delivered across the entire run.

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

Optional Apify Proxy fallback used automatically if Google Maps rate-limits direct requests.

## `demoMode` (type: `boolean`):

Run offline on bundled synthetic sample places without network calls or event charges.

## Actor input object example

```json
{
  "searchQueries": [
    "dentists in Austin TX"
  ],
  "locations": [],
  "zoomRadiusKm": 25,
  "useGridSearch": false,
  "extractContacts": true,
  "maxContactPagesPerSite": 2,
  "minRating": 0,
  "minReviews": 0,
  "onlyWithWebsite": false,
  "onlyWithPhone": false,
  "onlyWithEmail": false,
  "language": "en",
  "country": "us",
  "maxPlacesPerQuery": 15,
  "maxTotalPlaces": 15,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "demoMode": false
}
```

# Actor output Schema

## `places` (type: `string`):

No description

## `summary` (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 = {
    "searchQueries": [
        "dentists in Austin TX"
    ],
    "maxPlacesPerQuery": 15,
    "maxTotalPlaces": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("leopoldsaint/google-maps-leads-scraper").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": ["dentists in Austin TX"],
    "maxPlacesPerQuery": 15,
    "maxTotalPlaces": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("leopoldsaint/google-maps-leads-scraper").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": [
    "dentists in Austin TX"
  ],
  "maxPlacesPerQuery": 15,
  "maxTotalPlaces": 15
}' |
apify call leopoldsaint/google-maps-leads-scraper --silent --output-dataset

```

## MCP server setup

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

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/IqzLyIXBXFpDSvxv2/builds/XyahyyPCPX8hikS7k/openapi.json
