# Google Maps Scraper & Website Email Enricher — Local Leads (`spotless_studios/google-maps-enricher`) Actor

Scrape Google Maps businesses and enrich each lead with website emails and social links (Instagram, Facebook, LinkedIn, X/Twitter, TikTok) in a single run. Filter by rating, review count, website, phone, or verified email.

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

## Pricing

from $3.00 / 1,000 business scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Scraper & Website Email Enricher — Local Leads

Scrape **Google Maps business listings** AND enrich each business with **verified emails and social profile links (Instagram, Facebook, LinkedIn, X/Twitter, YouTube, TikTok)** from its own website in a single lightweight run.

Built for local lead-generation agencies, B2B SDRs, and home-service / SMB software teams who want ready-to-contact leads without chaining two separate scrapers.

> **Trial cost:** 25 enriched businesses ≈ **$0.12** (`place-scraped` $0.003 + `website-contacts` $0.002).

### What you get

| Field | Example |
|-------|---------|
| `businessName`, `placeId`, `cid` | Reliant Plumbing · `ChIJh1OjHuE5W4YR8VRBJKE2jfU` · `0x865b…` |
| `category`, `categories` | Plumber · `["Plumber", "Drainage service", …]` |
| `address`, `cityState`, `countryCode` | 3705 San Antonio St, Austin, TX 78734 · Austin, TX · US |
| `phone`, `phoneE164` | `(512) 222-6029` · `+15122226029` |
| `website`, `domain` | `https://reliantplumbing.com/` · `reliantplumbing.com` |
| `verifiedEmail`, `emails` | `info@reliantplumbing.com` · `["info@reliantplumbing.com", …]` *(website enrichment)* |
| `instagram`, `facebook`, `linkedin`, `twitter`, `youtube`, `tiktok` | Direct social profile URLs *(website enrichment)* |
| `rating`, `reviewCount`, `priceLevel` | `4.7` · `2931` · `$$` |
| `openingHoursSummary`, `bookingUrl` | `["Monday: Open 24 hours", …]` · booking link if published |
| `latitude`, `longitude`, `mapsUrl` | `30.3961` · `-97.9273` · Google Maps place link |

### Quick start

**Plumbers & electricians in Austin and Dallas with verified website emails**

```json
{
  "categories": ["plumbers", "electricians"],
  "locations": ["Austin TX", "Dallas TX"],
  "requireWebsite": true,
  "requireEmail": true,
  "maxResults": 100
}
```

**Underserved local businesses (rated 3.5+ with 5–50 reviews) for reputation/SEO outreach**

```json
{
  "searchQueries": ["dentists in Miami FL", "med spas in Miami FL"],
  "minRating": 3.5,
  "minReviews": 5,
  "maxReviews": 50,
  "enrichWebsiteContacts": true,
  "maxResults": 200
}
```

### Pricing

Pay-per-event — you only pay for businesses that pass your filters:

| Event | Price |
|-------|-------|
| `place-scraped` (each saved Google Maps business) | $0.003 |
| `website-contacts` (website email + social enrichment per saved business) | $0.002 |

# Actor input Schema

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

Full Google Maps searches, e.g. "plumbers in Austin TX" or "med spas in Miami FL". Each query pages through up to 120 places.

## `categories` (type: `array`):

Combine with Locations to generate queries automatically, e.g. \["plumbers", "electricians"] x \["Austin TX", "Dallas TX"].

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

Cities, ZIP codes, or regions combined with Categories.

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

Two-letter country code for Google Maps localization, e.g. "us", "gb", "ca", "au".

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

Language code for results, e.g. "en", "es", "de", "fr".

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

Keep businesses rated at least this many stars (0-5).

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

Keep businesses with at least this many reviews.

## `maxReviews` (type: `integer`):

Keep businesses with at most this many reviews (useful for finding underserved local SMBs).

## `requireWebsite` (type: `boolean`):

Keep only businesses that list a website on Google Maps.

## `requirePhone` (type: `boolean`):

Keep only businesses that list a phone number on Google Maps.

## `enrichWebsiteContacts` (type: `boolean`):

Fetch each saved business's homepage (and /contact page if needed) to extract email addresses and social links. Billed as an add-on per enriched business.

## `requireEmail` (type: `boolean`):

Keep only businesses where at least one email address was found on their website. Automatically enables website enrichment.

## `includeKeywords` (type: `array`):

Keep businesses whose name, category, or address contain these words. /regex/ supported.

## `excludeKeywords` (type: `array`):

Drop businesses containing any of these words or /regex/.

## `keywordMatch` (type: `string`):

Require any or all include keywords.

## `onlyNewItems` (type: `boolean`):

Remember businesses from previous runs and save only ones not seen before.

## `stateKey` (type: `string`):

Separate memory per saved search.

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

Stop after saving this many businesses.

## `outputPreset` (type: `string`):

Quickly choose how much data to save per record: full record, lean summary, or contact & social links only.

## `outputFields` (type: `array`):

Save only these fields, in this order (e.g. name, website, country, tier, minimumBudgetUsd, hourlyDesignRateUsd, profileUrl). Supports nested dot-paths (e.g. makers.username). Empty keeps all fields from the selected preset.

## `excludeFields` (type: `array`):

Remove specific fields (or nested dot-paths) from each saved record to keep datasets compact.

## `includeEmptyFields` (type: `boolean`):

When turned off, strips null, empty strings, empty arrays, and empty objects from every saved record.

## `requiredFields` (type: `array`):

Only save (and only pay for) records where every listed field or dot-path has a non-empty value (e.g. website, inquiryEmail).

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

Pages fetched in parallel.

## `maxRequestRetries` (type: `integer`):

Retries per request.

## `requestTimeoutSecs` (type: `integer`):

Timeout per request.

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

Optional; not usually needed.

## `proxyEscalation` (type: `boolean`):

If the site blocks the run, automatically step up from a direct connection to Apify datacenter proxy, then residential proxy, only for the blocked site. Turn off to use exactly the proxy above.

## Actor input object example

```json
{
  "searchQueries": [
    "plumbers in Austin TX"
  ],
  "countryCode": "us",
  "language": "en",
  "requireWebsite": false,
  "requirePhone": false,
  "enrichWebsiteContacts": true,
  "requireEmail": false,
  "keywordMatch": "any",
  "onlyNewItems": false,
  "stateKey": "default",
  "maxResults": 25,
  "outputPreset": "full",
  "includeEmptyFields": true,
  "maxConcurrency": 6,
  "maxRequestRetries": 4,
  "requestTimeoutSecs": 45,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "proxyEscalation": true
}
```

# Actor output Schema

## `businesses` (type: `string`):

Scraped and enriched Google Maps business leads

# 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": [
        "plumbers in Austin TX"
    ],
    "maxResults": 25,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("spotless_studios/google-maps-enricher").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "searchQueries": ["plumbers in Austin TX"],
    "maxResults": 25,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("spotless_studios/google-maps-enricher").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchQueries": [
    "plumbers in Austin TX"
  ],
  "maxResults": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call spotless_studios/google-maps-enricher --silent --output-dataset

```

## MCP server setup

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

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/wuNVlvOSvdRhKMO5x/builds/EDnNq09g9roDMcDRR/openapi.json
