# Google Maps Lead Intelligence Enriched Business Leads (`b3264/google-maps-lead-intelligence`) Actor

Extract business leads from Google Maps with emails, phone numbers, social profiles, website analysis, and lead scoring. One actor replaces 3 separate scrapers search, enrich, and score in one run.

- **URL**: https://apify.com/b3264/google-maps-lead-intelligence.md
- **Developed by:** [Brandon Hamm](https://apify.com/b3264) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 3.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.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.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#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 Intelligence: Enriched Business Leads

Extract business leads from Google Maps with emails, phone numbers, social profiles, website analysis, and lead scoring. One actor replaces 3 separate scrapers — search, enrich, and score in one run.

### How It Works

#### Phase 1: Search (Hybrid Browser + API)

- Quick browser session loads Google Maps search page to get business names (~10 seconds)
- Then uses Google's internal `tbm=map` search API (via `curl_cffi` Chrome TLS impersonation) to fetch full business data for each result — 0.2 seconds per business
- No proxy needed for Google Maps search

#### Phase 2: Enrichment (Parallel Browser)

- Visits each business website to extract emails, phone numbers, and social profiles
- Checks homepage AND contact/about pages
- Handles obfuscated emails (`name [at] domain [dot] com`)
- All enrichment runs in parallel for speed

#### Phase 3: Lead Scoring

- Scores each lead 0-100 based on data completeness, contactability, and online presence
- Score breakdown shows exactly what contributes to the score

### Features

- **No API key required** — uses public Google data
- **Fast** — 10x faster than pure browser scraping (API for business data, browser only for website enrichment)
- **No proxy needed** — Google Maps search works without proxy via internal API
- **Custom proxy support** — bring your own residential proxy via `customProxyUrl` input
- **Full business data** — name, rating, address, phone, website, categories, coordinates, neighborhood, description, timezone
- **Email extraction** — from homepage and contact pages, handles obfuscated emails
- **Social profiles** — Facebook, Instagram, LinkedIn, Twitter/X, YouTube, TikTok
- **Lead scoring** — 0-100 score with detailed breakdown
- **Parallel enrichment** — all websites enriched simultaneously

### Input

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `searchQueries` | array | Yes | Google Maps search queries (e.g., `["plumber chicago", "electrician nyc"]`) |
| `maxResults` | integer | No | Max results per query (default: 50) |
| `extractEmails` | boolean | No | Extract emails from business websites (default: true) |
| `extractPhoneNumbers` | boolean | No | Extract phone numbers from websites (default: true) |
| `extractSocialProfiles` | boolean | No | Extract social media profiles (default: true) |
| `scoreLeads` | boolean | No | Score leads 0-100 (default: true) |
| `customProxyUrl` | string | No | Custom HTTP proxy URL for website enrichment |

### Output

Each result contains:

```json
{
  "businessName": "Rescue Plumbing",
  "rating": 4.8,
  "address": "1137 W Webster Ave, Chicago, IL 60614",
  "phone": "(773) 219-6071",
  "website": "https://www.myrescueplumbing.com/",
  "categories": ["Plumber"],
  "neighborhood": "Sheffield Neighbors",
  "latitude": 41.9214708,
  "longitude": -87.6573983,
  "description": "Here at Rescue Plumbing, we strive to set a new standard...",
  "emails": ["contact@myrescueplumbing.com"],
  "websitePhones": ["(773) 219-6071"],
  "socialProfiles": {
    "facebook": "https://facebook.com/rescueplumbing",
    "instagram": "https://instagram.com/rescueplumbing"
  },
  "leadScore": 85,
  "scoreBreakdown": {
    "hasWebsite": 10,
    "hasEmail": 15,
    "hasPhone": 10,
    "hasSocial": 5,
    "highRating": 15,
    "manyReviews": 10,
    "allSocial": 10,
    "websiteLoads": 5,
    "multipleEmails": 5,
    "completeData": 10
  }
}
```

### Use Cases

- **B2B Lead Generation** — find local businesses with contact info
- **Sales Prospecting** — score and prioritize leads by data completeness
- **Market Research** — analyze business categories and ratings in any area
- **Local SEO** — find businesses without websites or with missing social profiles
- **Recruiting** — find businesses hiring based on online presence gaps

# Actor input Schema

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

Google Maps search queries (e.g., 'plumbers in Chicago', 'restaurants in Miami FL')

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

Maximum businesses to extract per search query

## `extractEmails` (type: `boolean`):

Visit each business website and extract email addresses

## `extractPhoneNumbers` (type: `boolean`):

Extract phone numbers from business websites

## `extractSocialProfiles` (type: `boolean`):

Find Facebook, Instagram, LinkedIn, Twitter/X profiles from business websites

## `scoreLeads` (type: `boolean`):

Score each lead 0-100 based on completeness, online presence, and contactability

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

Language for search results (e.g., 'en', 'es', 'fr', 'de')

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

Country code for search results (e.g., 'us', 'gb', 'es', 'fr')

## `customProxyUrl` (type: `string`):

External residential proxy URL (e.g., http://IP:PORT). Recommended for Google Maps to avoid limited view and get full business data. Format: http://IP:PORT (no credentials if IP is authorized)

## Actor input object example

```json
{
  "searchQueries": [
    "coffee shops in New York"
  ],
  "maxResults": 50,
  "extractEmails": true,
  "extractPhoneNumbers": true,
  "extractSocialProfiles": true,
  "scoreLeads": true,
  "language": "en",
  "country": "us",
  "customProxyUrl": ""
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("b3264/google-maps-lead-intelligence").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("b3264/google-maps-lead-intelligence").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 '{}' |
apify call b3264/google-maps-lead-intelligence --silent --output-dataset

```

## MCP server setup

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

```

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/JJlJG0b4GYKKVLFTd/builds/ItEYELx9dp5fOr6KH/openapi.json
