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

Extract business leads from Google Maps at scale: name, phone, website, address, rating, reviews and listing URL. Perfect for lead generation, sales prospecting and market research.

- **URL**: https://apify.com/teslagp/google-maps-leads-scraper.md
- **Developed by:** [Juan Galeano Patiño](https://apify.com/teslagp) (community)
- **Stats:** 2 total users, 1 monthly users, 80.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Leads Scraper

Extract business leads from Google Maps at scale. Built for agencies, freelancers, and sales teams, it collects each business's name, phone, website, address, rating, and reviews into a clean, prospect-ready dataset.

### What does it do?

Enter a search term (e.g. "dentists in Miami") and the Actor searches Google Maps, scrolls the results panel, visits each business listing, and returns a clean list of businesses with contact data ready for prospecting.

### Use cases

- Lead generation agencies building prospect lists for clients
- Freelancers looking for local business clients
- Sales teams prospecting by industry and city
- Marketing agencies enriching CRM databases
- Market research and competitor analysis

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `searchQuery` | string | Yes | — | What to search on Google Maps (e.g. "dentists in Miami"). |
| `maxResults` | integer | No | 20 | Max businesses to extract (1–500). |
| `language` | string | No | `en` | Maps UI language: `es`, `en`, `pt`, `fr`. |

Example input:

```json
{
  "searchQuery": "coffee shops in Austin",
  "maxResults": 20,
  "language": "en"
}
```

### Output

Each lead in the dataset has:

| Field | Type | Description |
|---|---|---|
| name | string | Business name |
| category | string | Business category (e.g. "Dentist", "Restaurant") |
| address | string | Full street address |
| phone | string | Phone number (cleaned, digits and symbols only) |
| website | string or null | Website URL if available |
| rating | number or null | Average rating (0-5) |
| reviews\_count | integer or null | Total number of reviews |
| url | string | Direct link to the Google Maps listing |

Fields without data on Google Maps are returned as `null`. Empty listings (no name, phone, or address) are skipped automatically.

### Example output

```json
{
  "name": "Austin Coffee House",
  "category": "Coffee shop",
  "address": "123 Congress Ave, Austin, TX 78701",
  "phone": "+1 512-555-0134",
  "website": "https://www.austincoffeehouse.example.com",
  "rating": 4.6,
  "reviews_count": 842,
  "url": "https://www.google.com/maps/place/Austin+Coffee+House/@30.2672,-97.7431,17z/data=!4m6!3m5!1s0x8644b50847e8f4b1:0x123456789abcdef0"
}
```

### Pricing

You pay per extracted result. See the Pricing tab for details.

### How to use it

1. Go to the Actor page on Apify Store.
2. Click "Try for free".
3. Enter your search query (e.g. "coffee shops in Austin").
4. Set max results (1-500).
5. Choose language.
6. Click "Start" and download your leads as JSON, CSV or Excel.

### Limitations

- Google Maps may show different results depending on location and language.
- Maximum ~500 results per query (Google Maps limitation).
- Some businesses may not have a phone or website listed.
- Heavy usage from a single IP may trigger Google's rate limits or a captcha. If that happens, wait a few hours before running the Actor again, or split large jobs into smaller queries.
- This Actor respects Google's terms of service. Use responsibly.

### FAQ

**How many leads can I extract per run?**
Up to 500 per query (the `maxResults` field). For larger lists, run several queries split by neighborhood, category, or keyword.

**Does it require proxies?**
No setup needed. It runs on Apify's infrastructure as-is; there are no proxy options in the input.

**Can I export to CSV/Excel?**
Yes. Once the run finishes, open the dataset and export it as JSON, CSV, or Excel from the Apify Console.

**Is it legal to scrape Google Maps?**
Public business listings are widely used for prospecting, but regulations vary by country and use case. Review Google's Terms of Service and your local laws, and use the data responsibly.

**How often is the data updated?**
Data is scraped live from Google Maps on every run, so each run reflects what Google shows at that moment.

### Support

For issues, questions or custom scraping requests, contact me at sebasgp1011@gmail.com or open an issue on the Actor's page.

# Actor input Schema

## `searchQuery` (type: `string`):

Qué buscar en Google Maps. Ejemplo: 'odontologos en Medellín', 'restaurantes en Bogotá', 'gimnasios en Ciudad de México'.

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

Límite de negocios a extraer.

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

Código de idioma para la interfaz de Google Maps.

## Actor input object example

```json
{
  "searchQuery": "odontologos en medellin",
  "maxResults": 10,
  "language": "en"
}
```

# Actor output Schema

## `leads` (type: `string`):

Extracted business leads with contact information, ratings and location data.

# 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 = {
    "searchQuery": "odontologos en medellin"
};

// Run the Actor and wait for it to finish
const run = await client.actor("teslagp/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 = { "searchQuery": "odontologos en medellin" }

# Run the Actor and wait for it to finish
run = client.actor("teslagp/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 '{
  "searchQuery": "odontologos en medellin"
}' |
apify call teslagp/google-maps-leads-scraper --silent --output-dataset

```

## MCP server setup

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