# Google Maps Lead Generator with Email & Social Enrichment (`strange-advanced-marketing/google-maps-lead-generator`) Actor

Scrape Google Maps for business leads. Extracts name, phone, website, address, rating, reviews. Then enriches each lead by visiting their website to find emails, social media links (Instagram, Facebook, TikTok, LinkedIn), and scores leads as hot/warm/cold based on their digital presence.

- **URL**: https://apify.com/strange-advanced-marketing/google-maps-lead-generator.md
- **Developed by:** [S.A.M.](https://apify.com/strange-advanced-marketing) (community)
- **Categories:** Lead generation
- **Stats:** 9 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Maps Lead Generator with Email & Social Enrichment

Extract business leads from Google Maps with automatic enrichment. Get names, phones, websites, addresses, ratings, reviews - then automatically visit each website to find emails, social media profiles, and score each lead.

### What it does

1. **Searches Google Maps** for any business type and location
2. **Extracts business data** - name, phone, website, address, rating, review count, category
3. **Enriches each lead** by visiting their website:
   - Finds email addresses
   - Finds Instagram, Facebook, TikTok, LinkedIn, Twitter profiles
4. **Scores each lead** as Hot, Warm, or Cold based on their digital presence:
   - **Hot** = No website or no digital presence (easiest to sell to)
   - **Warm** = Has website but missing email or social media
   - **Cold** = Has everything (website, email, social media)

### Use cases

- **Lead generation** for marketing agencies
- **Prospecting** for B2B sales teams
- **Market research** for any industry
- **Competitor analysis** by location
- **Finding businesses that need marketing help** (Hot leads)

### AI-friendly

This actor has a clean API that any AI model can call. Ask your AI assistant to "find me 20 plumbers in Dallas" and it can use this actor to deliver results.

### Input

| Field | Type | Description |
|-------|------|-------------|
| searchQuery | string | What to search on Google Maps (e.g., "plumbers in Dallas TX") |
| maxResults | integer | Maximum results to extract (1-100, default: 20) |
| enrichLeads | boolean | Visit websites for email/social enrichment (default: true) |

### Output

Each result includes:

- `name` - Business name
- `phone` - Phone number
- `website` - Website URL
- `address` - Full address
- `rating` - Google Maps rating (1-5)
- `review_count` - Number of reviews
- `category` - Business category
- `emails` - Email addresses found on website
- `social_instagram` - Instagram handle
- `social_facebook` - Facebook page
- `social_tiktok` - TikTok handle
- `social_linkedin` - LinkedIn profile
- `social_twitter` - Twitter/X handle
- `has_website` - true/false
- `has_email` - true/false
- `has_social_media` - true/false
- `lead_score` - hot/warm/cold (or `unknown` if website enrichment failed)
- `maps_url` - Direct Google Maps link

**Note:** Google Maps may throttle or block heavy runs, so very large result counts can return fewer leads than requested.

### Built by

**Strange Advanced Marketing (S.A.M.)**
AI-powered business tools for trade contractors and small businesses.

# Actor input Schema

## `searchQuery` (type: `string`):

What to search for on Google Maps. Examples: 'plumbers in Dallas TX', 'restaurants near downtown Miami', 'turf installers in South Florida'

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

Maximum number of businesses to extract. More results = longer run time.

## `enrichLeads` (type: `boolean`):

Visit each business website to extract emails, social media links, and generate lead scores. Adds ~5 seconds per lead.

## Actor input object example

```json
{
  "searchQuery": "turf installers in Miami FL",
  "maxResults": 20,
  "enrichLeads": true
}
```

# 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 = {
    "searchQuery": "turf installers in Miami FL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("strange-advanced-marketing/google-maps-lead-generator").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 = { "searchQuery": "turf installers in Miami FL" }

# Run the Actor and wait for it to finish
run = client.actor("strange-advanced-marketing/google-maps-lead-generator").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "searchQuery": "turf installers in Miami FL"
}' |
apify call strange-advanced-marketing/google-maps-lead-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=strange-advanced-marketing/google-maps-lead-generator",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ea3kaZU7JKxxVRHnb/builds/9SrGEKLdkmzpheyOX/openapi.json
