# Google Maps Business Leads & Places Scraper \[Fast & Clean] (`pagerka/google-maps-leads-scraper`) Actor

Lightning-fast Google Maps scraper. Extract B2B local business leads: company names, phone numbers, websites, full addresses, ratings, review counts, categories, and coordinates from any city or search term.

- **URL**: https://apify.com/pagerka/google-maps-leads-scraper.md
- **Developed by:** [Stepan Pagerka](https://apify.com/pagerka) (community)
- **Categories:** Lead generation, Automation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 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/platform/actors/running/actors-in-store#pay-per-usage

## 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 Business Leads & Places Scraper \[Fast & Clean]

Lightning-fast Google Maps scraper. Extract high-quality local B2B business leads: company names, phone numbers, websites, full addresses, ratings, review counts, business categories, and GPS coordinates from any location or keyword.

***

### ⚡ Key Features

- **📍 Targeted B2B Lead Generation**: Search any industry and geography (e.g. `dentists in Miami`, `accounting firms in London`, `restaurants in Tokyo`).
- **📞 Complete Contact Data**: Captures direct business phone numbers, website URLs, and street addresses.
- **⭐ Reputation & Review Metrics**: Extracts total star ratings and review counts for lead scoring and sentiment analysis.
- **🌐 Precise GPS Coordinates**: Extracts accurate latitude and longitude for mapping and geospatial analysis.
- **📊 Multi-Format Clean Export**: Export leads to CSV, Excel, JSON, XML, or connect directly to Google Sheets, Airtable, HubSpot, Zapier, and Make.

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `searchQueries` | Array | `["software company in Prague"]` | List of search keywords with location. |
| `maxPlacesPerQuery` | Integer | `30` | Maximum number of listings to extract per search query. |
| `language` | String | `"en"` | Language code for Google Maps results (e.g. `en`, `es`, `de`). |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | Proxy configuration. |

***

### 📤 Sample Output (JSON)

```json
{
  "searchQuery": "software company in Prague",
  "title": "Apify Technologies",
  "category": "Software company",
  "address": "Vodičkova 704/36, 110 00 Nové Město, Czechia",
  "phone": "+420 226 259 870",
  "website": "https://apify.com/",
  "rating": 4.9,
  "reviewsCount": 184,
  "placeUrl": "https://www.google.com/maps/place/Apify+Technologies/data=...",
  "latitude": 50.0815,
  "longitude": 14.4258,
  "scrapedAt": "2026-08-17T12:00:00.000Z"
}
```

***

### 🚀 Use Cases

- **Cold Outreach & Lead Gen**: Build highly targeted prospect lists of local businesses with websites and phones.
- **Local SEO Audits**: Analyze local market saturation, rankings, and competitor reviews.
- **Market Research**: Discover new business openings and identify service gaps by region.

# Actor input Schema

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

Search queries to look up on Google Maps (e.g. 'dentist in Miami', 'software companies in London', 'restaurants in Tokyo').

## `maxPlacesPerQuery` (type: `integer`):

Maximum number of business listings to extract for each search keyword.

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

Google Maps UI language (e.g. 'en', 'es', 'de', 'fr').

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

Proxy configuration for Google Maps requests.

## Actor input object example

```json
{
  "searchQueries": [
    "software company in Prague",
    "coffee shop in Austin TX"
  ],
  "maxPlacesPerQuery": 30,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Access extracted business leads, company names, websites, phone numbers, addresses, ratings, and coordinates in JSON, CSV, or Excel format.

# 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": [
        "software company in Prague",
        "coffee shop in Austin TX"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("pagerka/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 = {
    "searchQueries": [
        "software company in Prague",
        "coffee shop in Austin TX",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("pagerka/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 '{
  "searchQueries": [
    "software company in Prague",
    "coffee shop in Austin TX"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call pagerka/google-maps-leads-scraper --silent --output-dataset

```

## MCP server setup

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