# Fast Google Maps Scraper — Places, Leads, Phones & Reviews (`rbbscrap/fast-google-maps-scraper`) Actor

Ultra-fast Google Maps & Places business lead scraper. Extract company names, phone numbers, addresses, websites, star ratings, review counts, coordinates, and categories without browser overhead on 256MB RAM.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## Fast Google Maps Scraper — Places, Leads, Phones & Reviews

High-performance, production-grade Google Maps and Places business lead scraper built on a **lightweight 256MB container**. Extracts local businesses, company names, full addresses, phone numbers, websites, star ratings, review counts, coordinates, and categories without running a heavy Chromium browser.

Runs completely **browserless** via HTTP/2 and TLS fingerprint emulation — delivering data **10x faster and 5x cheaper** than traditional Puppeteer scrapers while avoiding heavy memory leaks.

***

### Features

- **Local Business & Lead Generation**: Search any query or location (e.g., `dentist in New York`, `plumber in Austin TX`, `Italian restaurants in Paris`).
- **Multi-Layer Resilient Architecture**:
  - Google Maps `APP_INITIALIZATION_STATE` JSON tree parser
  - Google Local (`tbm=lcl`) SERP fallback and data-cid resolver
- **Complete B2B Lead Fields**:
  - Business Name / Title
  - Primary Category (e.g. `Dental clinic`, `Plumber`, `Restaurant`)
  - Full Street Address
  - Direct Telephone Number
  - Official Website URL
  - Average Star Rating (1.0 - 5.0)
  - User Review Count
  - Google Place ID / Unique CID
  - Latitude & Longitude Coordinates
  - Direct Google Maps URL
- **Automatic Deduplication**: Filters out duplicate places across search batches.
- **256MB Memory Footprint**: Minimal compute cost on Apify.

***

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `searchQueries` | Array | `["dentist in New York"]` | Local search keywords with location. |
| `language` | String | `"en"` | Language code for results (`en`, `fr`, `es`, `de`). |
| `maxItemsPerQuery` | Integer | `30` | Maximum places to extract per search query. |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | Apify proxy configuration (Residential proxies strongly recommended). |

#### Example Input

```json
{
  "searchQueries": [
    "dentist in New York",
    "roofing contractor in Chicago"
  ],
  "language": "en",
  "maxItemsPerQuery": 40
}
```

***

### Output Data Structure

Each place pushed to the Apify dataset contains:

```json
{
  "title": "Manhattan Dental Arts",
  "category": "Dentist",
  "address": "491 8th Ave, New York, NY 10001, United States",
  "phone": "+1 212-247-2330",
  "website": "https://manhattandentalarts.com",
  "rating": 4.9,
  "reviewsCount": 428,
  "placeId": "ChIJb_fM8a1ZwokRe6z_QyD3b7s",
  "latitude": 40.7527,
  "longitude": -73.9934,
  "googleMapsUrl": "https://www.google.com/maps/place/?q=place_id:ChIJb_fM8a1ZwokRe6z_QyD3b7s",
  "searchQuery": "dentist in New York",
  "scrapedAt": "2026-10-15T08:50:00.000Z"
}
```

***

### Common Use Cases

- **B2B Cold Outreach & Lead Generation**: Build targeted prospect lists of local businesses with phone numbers and websites.
- **Local SEO & Competitor Audits**: Benchmark rating scores, review volumes, and categories across geographical zones.
- **Directory & Marketplace Aggregation**: Populate local business directories with verified location and category data.
- **Franchise & Territory Mapping**: Map competitor store locations and clusters with exact latitude/longitude coordinates.

# Actor input Schema

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

Local business search queries (e.g. 'dentist in New York', 'plumber in Austin TX', 'Italian restaurants in Paris').

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

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

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

Filter businesses by minimum Google rating (e.g. 4.0 or 4.5).

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

Only keep businesses with at least this number of customer reviews.

## `skipClosedPlaces` (type: `boolean`):

Automatically discard places marked as permanently or temporarily closed on Google Maps.

## `onlyWithWebsite` (type: `boolean`):

Discard places that do not have a public website URL.

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

Discard places that do not provide a direct telephone number.

## `categoryFilter` (type: `string`):

Optional keyword to filter business categories (e.g., 'Dentist', 'Restaurant', 'Clinic').

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

Automatically inspect business website homepages to extract contact emails.

## `extractSocialMedia` (type: `boolean`):

Automatically extract direct social media links from the company website.

## `maxItemsPerQuery` (type: `integer`):

Maximum number of places/leads to extract per query.

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

Select Apify Proxy (Residential or Datacenter) to prevent Google rate limits and IP blocks.

## Actor input object example

```json
{
  "searchQueries": [
    "dentist in New York"
  ],
  "language": "en",
  "minRating": 0,
  "minReviews": 0,
  "skipClosedPlaces": true,
  "onlyWithWebsite": false,
  "onlyWithPhone": false,
  "categoryFilter": "",
  "extractEmails": true,
  "extractSocialMedia": true,
  "maxItemsPerQuery": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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": [
        "dentist in New York"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/fast-google-maps-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": ["dentist in New York"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rbbscrap/fast-google-maps-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": [
    "dentist in New York"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rbbscrap/fast-google-maps-scraper --silent --output-dataset

```

## MCP server setup

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