# Google Maps Scraper & B2B Lead Generator (`thecfmarketing/google-maps-fast-scraper`) Actor

Ultra-fast Google Maps scraper to extract verified B2B leads: business names, phone numbers, website emails, social media (IG, FB, LinkedIn, WA), ratings, and unclaimed GMB listings. Zero duplicates, lowest compute cost, and high-speed export.

- **URL**: https://apify.com/thecfmarketing/google-maps-fast-scraper.md
- **Developed by:** [sadique shaikh](https://apify.com/thecfmarketing) (community)
- **Stats:** 7 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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?

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 Fast Scraper & Lead Generator

A blazingly fast, lightweight, and cost-effective **Google Maps Scraper** designed for B2B lead generation, local SEO research, and business intelligence.

Extract verified local business leads with **zero duplicate data**, **unclaimed profile detection**, and seamless integration with our **Contact & Socials Enricher**.

***

### ✨ Key Features & Competitive Advantages

- ⚡ **Ultra-Fast & Low Memory Consumption:** Optimized headless execution that saves compute units (CU) and cuts your scraping bill by up to 70%.
- 🏢 **Unclaimed Business Detector (`isClaimed`):** Automatically flags whether a Google Business Profile is claimed or unclaimed (`"isClaimed": false`). Perfect for local marketing agencies selling GMB optimization!
- 🎯 **100% Deduplicated Data:** Removes duplicates across multiple searches using unique Place IDs.
- 📞 **Smart Quality Filters:** Filter leads directly by "Only with Phone", "Only with Website", or "Only Unclaimed Profiles".
- 🌐 **Global Geo & Language Support:** Works in all countries and languages supported by Google Maps.

***

### 🔄 Complete 3-Step Lead Generation & Cold Email Funnel

Google Maps data se verified leads aur cold outreach tak ka complete automated 3-step pipeline:

```
[ Step 1: Google Maps Fast Scraper ]
  (Extracts Local Businesses, Phone Numbers, Addresses & Website URLs)
               │
               ▼
[ Step 2: Website Email & Social Media Scraper ]
  👉 https://apify.com/thecfmarketing/website-contact-social-scraper
  (Finds Business Emails, LinkedIn, Instagram, Facebook & WhatsApp from websites)
               │
               ▼
[ Step 3: Real-Time SMTP Email Verifier (Live Handshake) ]
  👉 https://apify.com/thecfmarketing/smtp-email-verifier
  (Verifies mailbox existence via SMTP handshake to ensure 0% bounce rate)
```

***

#### 🛠️ Recommended Workflow

1. **Step 1:** Run this **Google Maps Fast Scraper** to collect targeted local business listings and websites.
2. **Step 2:** Export the `website` list and feed it into **[Website Email & Social Media Scraper](https://apify.com/thecfmarketing/website-contact-social-scraper)** to extract decision-maker emails and social handles.
3. **Step 3:** Pass the extracted emails into **[Real-Time SMTP Email Verifier](https://apify.com/thecfmarketing/smtp-email-verifier)** for real-time ping/handshake validation before sending cold campaigns.

***

### 📥 Input Parameters

| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| `searchStringsArray` | Array | **Yes** | Keywords or search queries to run on Google Maps. | `["Dentists in New York", "Cafes in Bandra"]` |
| `locationQuery` | String | No | Append a location to all keywords automatically. | `"Mumbai, India"` |
| `maxCrawledPlacesPerSearch` | Integer | No | Max number of places to scrape per query (Default: `30`). | `100` |
| `language` | String | No | Language code for Google Maps (Default: `"en"`). | `"en"` |
| `onlyWithPhone` | Boolean | No | Export only businesses with a valid phone number. | `true` |
| `onlyWithWebsite` | Boolean | No | Export only businesses that have a website. | `true` |
| `onlyUnclaimed` | Boolean | No | Export only unclaimed Google profiles. | `false` |
| `proxyConfiguration` | Object | No | Apify proxy configuration (Recommended: Residential). | `{"useApifyProxy": true}` |

***

### 📤 Sample Output Data (JSON)

```json
{
  "title": "Starbucks Coffee",
  "category": "Coffee shop",
  "address": "Bandra West, Mumbai, Maharashtra 400050, India",
  "phone": "+91 22 6123 4567",
  "website": "https://www.starbucks.in",
  "rating": 4.5,
  "reviewsCount": 1840,
  "isClaimed": true,
  "placeId": "0x3be7c9123456789",
  "url": "https://www.google.com/maps/place/...",
  "searchQuery": "Cafes in Bandra, Mumbai",
  "location": {
    "lat": 19.0596,
    "lng": 72.8295
  },
  "scrapedAt": "2026-08-29T00:25:00.000Z"
}
```

***

### 🚀 How to Run Locally

1. **Install dependencies:**
   ```bash
   npm install
   ```

2. **Run locally with sample input:**
   ```bash
   npm run dev
   ```

3. **Deploy to Apify Cloud:**
   ```bash
   apify login
   apify push
   ```

***

### 📄 License

MIT License. Built for high performance on the Apify platform.

# Actor input Schema

## `searchStringsArray` (type: `array`):

List of business search queries (e.g. 'Digital Marketing', 'Dentists', 'Gyms').

## `locationQuery` (type: `string`):

Target city, state or country for precision geocoding.

## `maxCrawledPlacesPerSearch` (type: `integer`):

Target number of business leads to extract per keyword (10, 50, 100, 250, 500, 1000).

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

Language code for Google Maps results (e.g., 'en', 'es', 'fr', 'hi').

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

Visits business websites to extract contact and founder email addresses.

## `extractSocials` (type: `boolean`):

Extracts Instagram, Facebook, LinkedIn, and WhatsApp profile links.

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

Drops records where no email was found.

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

Drops records where no phone number was found.

## `onlyUnclaimed` (type: `boolean`):

Filters only businesses with unclaimed Google profiles (Ideal for Local SEO pitches).

## `onlyWithoutWebsite` (type: `boolean`):

Filters businesses that have no website (Ideal for Web Designers).

## `minRating` (type: `string`):

Filter by minimum star rating (e.g. 4.0).

## `maxRating` (type: `string`):

Filter by maximum star rating (e.g. 3.5 for Online Reputation pitches).

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

Only export businesses with at least this many reviews.

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

Optional proxy settings. Apify Datacenter or Residential proxy recommended for large crawls.

## Actor input object example

```json
{
  "searchStringsArray": [
    "Digital Marketing"
  ],
  "locationQuery": "Mumbai, India",
  "maxCrawledPlacesPerSearch": 50,
  "language": "en",
  "extractEmails": true,
  "extractSocials": true,
  "onlyWithEmail": false,
  "onlyWithPhone": false,
  "onlyUnclaimed": false,
  "onlyWithoutWebsite": false,
  "minReviews": 0
}
```

# Actor output Schema

## `dataset` (type: `string`):

Direct link to download all extracted Google Maps 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 = {
    "searchStringsArray": [
        "Digital Marketing"
    ],
    "locationQuery": "Mumbai, India"
};

// Run the Actor and wait for it to finish
const run = await client.actor("thecfmarketing/google-maps-fast-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 = {
    "searchStringsArray": ["Digital Marketing"],
    "locationQuery": "Mumbai, India",
}

# Run the Actor and wait for it to finish
run = client.actor("thecfmarketing/google-maps-fast-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 '{
  "searchStringsArray": [
    "Digital Marketing"
  ],
  "locationQuery": "Mumbai, India"
}' |
apify call thecfmarketing/google-maps-fast-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thecfmarketing/google-maps-fast-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/N7VdzXiMxa3t2aOsC/builds/0SGleosFd0tdhYobe/openapi.json
