# Google Maps Business Leads Scraper — Email, Phone & Socials (`haketa/google-maps-contacts-scraper`) Actor

Scrape Google Maps businesses by search query and enrich into leads: name, phone, website, rating, address, category, coordinates + email and social profiles from each website. Local B2B lead-gen. Independent tool, not affiliated with or endorsed by Google.

- **URL**: https://apify.com/haketa/google-maps-contacts-scraper.md
- **Developed by:** [Haketa](https://apify.com/haketa) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.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 Business Leads Scraper — Email, Phone & Socials

> **Scrape businesses from Google Maps by search and enrich them into leads: name, phone, website, rating, address, category, coordinates — plus email and social profiles pulled from each business's website.** Search like "dentists in Miami" and get clean JSON/CSV/Excel in seconds. Built for local B2B lead generation, sales prospecting and market research.

[![Leads](https://img.shields.io/badge/Google%20Maps-Business%20Leads-1a73e8)]()
[![Email & Phone](https://img.shields.io/badge/Phone%20%2B%20Email%20%2B%20Socials-2da44e)]()
[![Local B2B](https://img.shields.io/badge/Local%20B2B%20Lead--Gen-8250df)]()
[![Export](https://img.shields.io/badge/Export-JSON%20%2F%20CSV%20%2F%20Excel-fb8500)]()

***

### What This Actor Does

Enter a search like **"plumbers in London"** and this Actor returns every matching business on Google Maps — then enriches each one into an outreach-ready lead:

- **Business** — name, category, rating, review count, full address, coordinates
- **Contact** — phone number (from Google Maps) and **email** (extracted from the website)
- **Website & socials** — website URL plus Facebook, Instagram, LinkedIn, Twitter/X and YouTube profiles
- **IDs** — Google place ID and Maps URL

You get the local businesses *and* their contact details in one run — the difference between a map listing and an actual lead.

***

### Why Use This

- **Real local leads.** Phone comes on ~every business, and websites are enriched to emails and socials — everything a sales team needs to reach out.
- **Any niche, any city.** "restaurants in Austin", "dentists in Miami", "law firms in Berlin" — search by what and where.
- **Contact enrichment built in.** No second tool: the Actor visits each website and pulls emails + social profiles automatically.
- **Clean and fast.** Reads Google Maps' own place data and enriches in parallel — no manual copy-paste.

***

### Quick Start

#### Run it in the console (no code)

1. Add **Search queries** in the form `<what> in <where>` (e.g. `dentists in Miami FL`).
2. Keep **Enrich with email & socials** on to turn listings into leads.
3. Set **Max businesses**, click **Start**, then export as **JSON, CSV, Excel or HTML**, or push to Google Sheets, a webhook or a database.

#### Run it via API (Python)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "searchQueries": ["dentists in Miami FL", "coffee shops in Seattle"],
    "includeEmails": True,
    "maxItems": 300,
}

run = client.actor("YOUR_USERNAME/google-maps-contacts-scraper").call(run_input=run_input)

for b in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(b["name"], "·", b["phone"], "·", b["email"] or "-", "·", b["rating"])
```

#### Build a contactable lead list (Python)

```python
run = client.actor("YOUR_USERNAME/google-maps-contacts-scraper").call(run_input={
    "searchQueries": ["marketing agencies in Chicago"], "maxItems": 500,
})
leads = [b for b in client.dataset(run["defaultDatasetId"]).iterate_items()
         if b.get("email") or b.get("phone")]
print(len(leads), "contactable leads")
```

***

### Input Parameters

| Field | Type | Description |
|---|---|---|
| `searchQueries` | array | Google Maps searches (`<what> in <where>`). Each searched separately. |
| `includeEmails` | boolean | Fetch each website and extract email + socials. Default `true`. |
| `maxPagesPerQuery` | integer | Result pages per query (20 businesses per page). Default `5`. |
| `maxItems` | integer | Max businesses across all queries. `0` = no limit. |
| `proxyConfiguration` | object | Apify Proxy. Enabled by default. |

***

### Output

Each business is one record:

```json
{
  "placeId": "0x8644b508789cc0c5:0x270f96c74f970af4",
  "name": "Ultra Smile Miami",
  "category": "Dentist",
  "rating": 4.9,
  "phone": "(305) 372-1020",
  "phoneIntl": "+13053721020",
  "email": "info@ultrasmilemiami.com",
  "emails": ["info@ultrasmilemiami.com"],
  "website": "http://ultrasmilemiami.com/",
  "address": "123 Biscayne Blvd, Miami, FL 33132",
  "latitude": 25.77, "longitude": -80.19,
  "instagram": "ultrasmilemiami", "facebook": "ultrasmilemiami",
  "googleMapsUrl": "https://www.google.com/maps/place/?q=place_id:...",
  "query": "dentists in Miami FL"
}
```

Businesses without a website still return name, phone, rating and address; email/socials fill where a website exists.

***

### Use Cases

#### 1. Local B2B lead generation

Build targeted lead lists of local businesses by niche and city — with phone, email and socials — for cold outreach, agencies and SaaS.

#### 2. Sales prospecting & territory building

Map every business of a type in an area, enriched with contacts, for field sales and territory planning.

#### 3. Market & competitive research

Analyze how many businesses of a category exist in a market, their ratings and their web/social presence.

#### 4. CRM enrichment

Enrich or verify existing records with phone, website, email, socials and coordinates.

#### 5. Agency & directory building

Populate niche directories or agency prospect lists with clean, structured business + contact data.

***

### Tips

- **Query format matters:** use `<what> in <where>` — the more specific the location, the tighter the results.
- **Phone is near-universal; email depends on the website.** Enable `includeEmails` for the best contact coverage.
- **Split big areas** into multiple queries (by neighborhood/suburb) to go beyond a single search's depth.
- **Schedule it** with Apify Schedules to keep lead lists fresh.

***

### Frequently Asked Questions

**Do I need an account or API key?**
No. The Actor reads publicly visible Google Maps business data and public websites — no login or key.

**Will every business have an email?**
Phone and website come from Google Maps for almost every business; email and socials are extracted from the website, so they fill for businesses that publish them online.

**Can I target any country?**
Yes — put the city/country in the query (e.g. "cafes in Lisbon"). Results follow the query location.

**What export formats are supported?**
JSON, CSV, Excel, HTML, or via API — plus Google Sheets, webhooks, Make and Zapier.

***

### Legal & Responsible Use

This Actor is an independent tool and is **not affiliated with, endorsed by, or sponsored by Google**. All trademarks are the property of their respective owners.

It collects only publicly available business information. You are responsible for how you use the data. Please:

- Comply with applicable data-protection and anti-spam laws (GDPR/CCPA, CAN-SPAM) when contacting businesses.
- Honor opt-outs and send only relevant, lawful outreach.
- Do not use the data for spam, harassment, or any unlawful purpose.
- Use reasonable request volumes and scheduling.

# Actor input Schema

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

Google Maps searches in the form "<what> in <where>" (e.g. "restaurants in Austin TX", "plumbers in London", "dentists in Miami"). Each is searched separately.

## `includeEmails` (type: `boolean`):

For each business with a website, fetch the site and extract email addresses and social profiles (Facebook/Instagram/LinkedIn/Twitter/YouTube). Slower but turns listings into leads.

## `maxPagesPerQuery` (type: `integer`):

Result pages to paginate per query (20 businesses per page).

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

Maximum businesses across all queries. 0 = no limit.

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

Apify Proxy. Enabled by default.

## Actor input object example

```json
{
  "searchQueries": [
    "dentists in Miami FL",
    "coffee shops in Seattle"
  ],
  "includeEmails": true,
  "maxPagesPerQuery": 3,
  "maxItems": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `placeId` (type: `string`):

Google place ID

## `name` (type: `string`):

Business name

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

Primary category

## `rating` (type: `string`):

Star rating

## `reviewCount` (type: `string`):

Review count

## `phone` (type: `string`):

Phone number

## `phoneIntl` (type: `string`):

International phone

## `email` (type: `string`):

Primary email (enriched)

## `emails` (type: `string`):

All emails found

## `website` (type: `string`):

Website URL

## `address` (type: `string`):

Full address

## `latitude` (type: `string`):

Latitude

## `longitude` (type: `string`):

Longitude

## `facebook` (type: `string`):

Facebook (enriched)

## `instagram` (type: `string`):

Instagram (enriched)

## `linkedin` (type: `string`):

LinkedIn (enriched)

## `twitter` (type: `string`):

Twitter/X (enriched)

## `googleMapsUrl` (type: `string`):

Google Maps URL

## `query` (type: `string`):

Search query

## `scrapedAt` (type: `string`):

ISO timestamp

# 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 Miami FL",
        "coffee shops in Seattle"
    ],
    "includeEmails": true,
    "maxPagesPerQuery": 3,
    "maxItems": 60,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("haketa/google-maps-contacts-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 Miami FL",
        "coffee shops in Seattle",
    ],
    "includeEmails": True,
    "maxPagesPerQuery": 3,
    "maxItems": 60,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("haketa/google-maps-contacts-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 Miami FL",
    "coffee shops in Seattle"
  ],
  "includeEmails": true,
  "maxPagesPerQuery": 3,
  "maxItems": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call haketa/google-maps-contacts-scraper --silent --output-dataset

```

## MCP server setup

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