# Google Maps Scraper - Business Leads with Phone & Website (`leadproof/google-maps-scraper`) Actor

Scrape Google Maps business listings: name, category, rating, review count, phone, website, address and coordinates. Filter by review count, pay only for places delivered.

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

## Pricing

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

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 Scraper - Business Leads with Phone & Website

Extract business listings from Google Maps: name, category, star rating, review count, phone number, website, full address and coordinates.

**You pay per place delivered.** Places filtered out by your own settings are never charged, and a query that returns nothing costs nothing.

### What you get

Every place is one row:

| Field | Example |
|---|---|
| `name` | Parker & Sons |
| `category` | HVAC contractor |
| `rating` | 4.7 |
| `reviews` | 683 |
| `phone` | +1 602-424-9619 |
| `website` | https://www.parkerandsons.com/ |
| `address` | 3636 E Anne St A, Phoenix, AZ 85040 |
| `city_state` | Phoenix, AZ 85040 |
| `lat` / `lng` | 33.4139155 / -112.0022947 |
| `placeId` | 0x872b0faad068d687:0xcb13480c28213ccd |
| `mapsUrl` | https://www.google.com/maps?cid=14633118831306947789 |
| `searchQuery` | hvac contractor Phoenix, AZ |

Export as CSV, JSON, Excel or feed it straight into your CRM through the Apify API.

### Input

```json
{
  "searchTerms": ["hvac contractor", "plumber"],
  "locations": ["Phoenix, AZ", "Dallas, TX"],
  "maxResultsPerQuery": 40,
  "minReviews": 20,
  "requireWebsite": true
}
```

Every search term is combined with every location, so the example above runs four searches. Leave `locations` empty if your terms already name a place.

#### Filters that save you money

- **`minReviews`** - skip businesses below a review threshold. Useful for screening out inactive or barely-established listings.
- **`requireWebsite`** - skip businesses with no website, which is usually what you want if the next step is finding an email address.

Both filters run before charging, so you are not billed for rows you asked to exclude.

### Notes

- Results are deduplicated across all your queries by phone number, falling back to name and address. Overlapping searches will not bill you twice for the same business.
- `maxResultsPerQuery` is a ceiling, not a guarantee. Google returns what it has for that query, and thin niches in small towns return fewer.
- Set `country` to change both the search region and the proxy exit country. Set `language` for the language of result text.
- If Google changes its response format, the run fails loudly and delivers nothing rather than silently returning partial data. You are never charged for a failed run.

### Related

Need verified email addresses rather than just websites? [Google Maps Leads with Verified Emails](https://apify.com/leadproof/google-maps-verified-leads) runs this sourcing step, crawls each website for a contact address, verifies deliverability over SMTP, and charges only for leads with a confirmed-deliverable email.

### Legal

This Actor collects information that businesses publish publicly on Google Maps. It does not collect personal data, log in to anything, or bypass access controls. You are responsible for using the output lawfully, including under GDPR, CCPA and any marketing or anti-spam rules that apply where you operate.

# Actor input Schema

## `searchTerms` (type: `array`):

What to search for, e.g. "hvac contractor", "dentist". Each term is combined with every location below.

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

Where to search, e.g. "Phoenix, AZ", "Miami, FL", "Tel Aviv". Leave empty if your search terms already include a location.

## `maxResultsPerQuery` (type: `integer`):

Places to request per term/location combination. Total places = terms x locations x this number.

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

Skip places with fewer reviews than this. 0 keeps everything. Filtered places are never charged.

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

Skip places that have no website listed. Filtered places are never charged.

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

Two-letter language code for result text.

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

Two-letter country code. Sets the search region and the proxy exit country.

## Actor input object example

```json
{
  "searchTerms": [
    "hvac contractor",
    "plumber"
  ],
  "locations": [
    "Phoenix, AZ",
    "Dallas, TX"
  ],
  "maxResultsPerQuery": 40,
  "minReviews": 0,
  "requireWebsite": false,
  "language": "en",
  "country": "us"
}
```

# Actor output Schema

## `places` (type: `string`):

All scraped places as JSON.

## `placesCsv` (type: `string`):

The same places as a CSV file, ready for a CRM or spreadsheet import.

## `runSummary` (type: `string`):

Query count, failed queries and total places delivered.

# 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 = {
    "searchTerms": [
        "dentist"
    ],
    "locations": [
        "Miami, FL"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("leadproof/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 = {
    "searchTerms": ["dentist"],
    "locations": ["Miami, FL"],
}

# Run the Actor and wait for it to finish
run = client.actor("leadproof/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 '{
  "searchTerms": [
    "dentist"
  ],
  "locations": [
    "Miami, FL"
  ]
}' |
apify call leadproof/google-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,leadproof/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/GIl27YeLQRaFS5mp0/builds/fcI9anvW2PMUcNZnj/openapi.json
