# Google Maps Leads Scraper (`agilevendor/google-maps-leads-scraper`) Actor

Extract business leads from Google Maps worldwide: name, phone, website, verified emails, social links and a 0-100 lead score. Filter to contactable leads only. Pay only for results.

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

## Pricing

from $1.50 / 1,000 place scrapeds

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 Leads Scraper — business leads with emails & lead score

Turn any **niche + location** into a clean list of local business leads: name, category, phone, website, address, rating, coordinates — plus an optional **email/social enrichment** and a built-in **lead score (0-100)**. Built for agencies and freelancers doing cold outreach who need contactable prospects, not just a raw place dump.

Works **worldwide** — the parser handles US, UK, European, Japanese, Middle-Eastern and other address and category formats (not just US ZIP codes), and decodes non-Latin business names correctly.

### What does this Actor do?

You give it a search term (e.g. `dentist`) and a location (e.g. `Austin, Texas`). It searches Google Maps and returns each business with structured fields ready for your CRM or cold-email tool. Optionally it visits each business website to pull **emails and social links**, and can return **only the leads that actually have an email** — so you don't pay for prospects you can't contact.

### How is this different from other Google Maps scrapers?

- **Only-with-contact filter.** Turn on `onlyWithContact` and you get back **only businesses where an email was found**. You are **not charged** for the places that get filtered out — a genuinely qualified list, not a filtered view you still paid for.
- **Lead score 0-100.** Every record gets a single number summarizing how actionable the lead is (has phone, website, email, social profiles, a good rating, and a category). Sort your export by `leadScore` and work the top down.
- **Flat, transparent pricing.** One price per result regardless of your plan tier, and filters are free. No per-plan price ladders, no "cost × number of filters" multipliers.

### How to use it

1. Enter one or more **search terms** (the business niche).
2. Enter a **location** (city, state, country).
3. Set **max places per search**. Google Maps returns about **20 places per query**, so asking for more won't add results for the same search — instead, use more specific terms or split the area (e.g. by neighborhood or by city) across several search terms to cover more leads.
4. (Optional) Enable **Enrich with email/social** to visit business websites for contacts.
5. (Optional) Enable **Only return leads with an email** for a contact-ready list.
6. Run it and download the results as JSON, CSV, or Excel.

### What input does it take?

```json
{
  "searchStringsArray": ["dental clinic"],
  "locationQuery": "Miami, Florida, USA",
  "maxCrawledPlacesPerSearch": 20,
  "scrapeContacts": true,
  "onlyWithContact": false
}
```

`locationQuery` accepts any place in any country — e.g. `"London, UK"`, `"Tokyo, Japan"`, or `"Dubai, UAE"` — not only US locations.

### What output do you get?

Each result is one business:

```json
{
  "title": "Ultra Smile Miami",
  "categoryName": "Dental clinic",
  "address": "Ultra Smile Miami, 168 SE 1st St, Miami, FL 33131",
  "phone": "+1 305-372-1020",
  "website": "ultrasmilemiami.com",
  "hasWebsite": true,
  "emails": ["info@ultrasmilemiami.com"],
  "social": { "facebooks": ["https://facebook.com/ultrasmilemiami"], "instagrams": [], "linkedIns": [], "twitters": [], "youtubes": [], "tiktoks": [] },
  "totalScore": 4.8,
  "leadScore": 85,
  "location": { "lat": 25.7733, "lng": -80.1905 },
  "placeId": "0x88d9b69c33e8f9cd:0x7f7cb0b51a9c61d4",
  "searchString": "dental clinic Miami, Florida, USA",
  "status": "ok"
}
```

`address` is the full address string as Google returns it (it may start with the business name). `emails`, `social` and `hasWebsite`-driven fields are populated only when **email/social enrichment** is enabled. Some fields (`totalScore`, `address`) can be `null` when Google does not expose them for a given place.

### How much does it cost?

Pricing is pay-per-event: you pay per business returned, plus a small enrichment fee per website visited when contact enrichment is on. There are no plan-tier price ladders. Free-plan users get Apify's monthly platform credit to try it. Email availability depends on the business — roughly 30-70% of small-business sites publish an email; the rest expose only a contact form or phone.

### Is it legal to scrape Google Maps?

This Actor collects **publicly available business information** — the same data any visitor sees on a Maps listing or a company's public website. It does not log in, bypass access controls, or collect private personal data. Business emails and phone numbers are public contact details.

You are responsible for how you use the data. If you send outreach, comply with the applicable rules in your and the recipient's jurisdiction (e.g. CAN-SPAM, GDPR, PECR): have a lawful basis, honor unsubscribe requests, and don't spam. This Actor only collects data — it does not send anything. This is not legal advice.

### Your feedback

This Actor is actively maintained. If you hit a bug, notice a change on Google Maps that breaks the output, or want a new field or option, open an issue on the <a href="https://console.apify.com/actors/sthCaOI2tpggdhXiX/issues" target="_blank" rel="noopener"><strong>Issues</strong> tab</a> of this Actor — it goes straight to the developer.

# Actor input Schema

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

Business niche(s) to search on Google Maps, e.g. "dentist", "plumber", "coffee shop". One search runs per term.

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

Geographic area for the search, e.g. "Austin, Texas, USA". Appended to each search term.

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

Maximum number of places to collect per search term (Google Maps returns up to ~20 per query).

## `scrapeContacts` (type: `boolean`):

Visit each business website to extract email(s) and social links. Slower and costs extra, but gives contactable leads.

## `onlyWithContact` (type: `boolean`):

Return only places where an email was found. You are NOT charged for filtered-out places. Automatically enables website enrichment.

## Actor input object example

```json
{
  "searchStringsArray": [
    "dentist"
  ],
  "locationQuery": "Austin, Texas, USA",
  "maxCrawledPlacesPerSearch": 5,
  "scrapeContacts": false,
  "onlyWithContact": false
}
```

# Actor output Schema

## `leads` (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 = {
    "searchStringsArray": [
        "dentist"
    ],
    "locationQuery": "Austin, Texas, USA",
    "maxCrawledPlacesPerSearch": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("agilevendor/google-maps-leads-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": ["dentist"],
    "locationQuery": "Austin, Texas, USA",
    "maxCrawledPlacesPerSearch": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("agilevendor/google-maps-leads-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": [
    "dentist"
  ],
  "locationQuery": "Austin, Texas, USA",
  "maxCrawledPlacesPerSearch": 5
}' |
apify call agilevendor/google-maps-leads-scraper --silent --output-dataset

```

## MCP server setup

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