# Google Maps Scraper (Leads, Phones & Websites) (`ulitron34/google-maps-scraper`) Actor

Fast and stealth Google Maps scraper. Extract business names, addresses, phone numbers, websites, star ratings, review counts, categories, opening hours, coordinates (lat/lng), and photos for B2B lead generation without blocks.

- **URL**: https://apify.com/ulitron34/google-maps-scraper.md
- **Developed by:** [ulises salgado diaz](https://apify.com/ulitron34) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 75.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/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

## 📍 Google Maps Business & Places Scraper (Leads, Phones & Websites)

**Fast, reliable, and stealth Google Maps scraper.** Extract local business listings, verified phone numbers, official websites, physical addresses, star ratings, review counts, opening hours, exact GPS coordinates (latitude/longitude), and photos for high-conversion B2B lead generation.

*Scraper rápido, confiable y sigiloso para Google Maps. Extrae negocios locales, teléfonos verificados, sitios web oficiales, direcciones, valoraciones de estrellas, número de reseñas, horarios, coordenadas GPS exactas (latitud/longitud) y fotos para generación de prospectos B2B.*

***

### ✨ Key Features / Características Principales

| Feature / Característica | Description / Descripción |
| :--- | :--- |
| 🛡️ **Anti-Bot & CAPTCHA Stealth** | Uses Camoufox C++ browser fingerprint spoofing to bypass Google's consent dialogs and rate limits. |
| 📞 **Verified Contact Extraction** | Captures direct telephone numbers and official website links for immediate cold outreach. |
| 📍 **Precision Geocoding** | Extracts exact GPS coordinates (latitude and longitude) directly from place URLs. |
| ⭐ **Reputation & Review Analytics** | Gathers star ratings (e.g. 4.8/5) and total verified review counts to identify top performers. |
| 🕒 **Operational Hours & Status** | Detects opening hours, open 24 hours, and current operational status. |
| 📜 **Smart Feed Infinite Scroll** | Autonomously scrolls the Google Maps results feed container to maximize extracted leads per search. |
| 🔍 **Lead Filters** | Filter businesses by minimum rating, minimum review count, phone availability, and website presence. |

***

### 📥 Input Configuration / Configuración de Entrada

#### Example 1: Search by Query & Location (Dental Clinics in Madrid)

```json
{
  "search_query": "dentistas en Madrid",
  "language": "es",
  "max_items": 50,
  "min_rating": 4.0,
  "has_phone_only": true
}
```

#### Example 2: B2B Lead Generation with Website & Phone Only

```json
{
  "search_query": "marketing agencies in Miami",
  "language": "en",
  "max_items": 100,
  "has_website_only": true,
  "has_phone_only": true
}
```

#### Example 3: Multiple Search Terms (Batch Scraping)

```json
{
  "search_terms": [
    "restaurantes en Roma Norte, CDMX",
    "cafeterias en Polanco, CDMX",
    "hoteles boutique en Condesa, CDMX"
  ],
  "max_items": 60,
  "language": "es"
}
```

***

### 📤 Output Dataset Format / Formato del Dataset de Salida

```json
{
  "place_id": "0xd42287955555555:0x5e16879abcdef123",
  "title": "Clínica Dental Gran Vía",
  "category": "Dentista",
  "address": "Gran Vía, 28, Madrid",
  "phone": "+34 915 22 33 44",
  "website": "https://dentalgranvia.es",
  "rating": 4.9,
  "reviews_count": 1240,
  "price_level": "",
  "opening_hours": "Abierto 24 horas",
  "latitude": 40.4201234,
  "longitude": -3.7056789,
  "url": "https://www.google.com/maps/place/Cl%C3%ADnica+Dental+Gran+V%C3%ADa/@40.4201234,-3.7056789",
  "image_url": "https://lh5.googleusercontent.com/p/AF1QipNxyz.jpg",
  "scraped_at": "2026-09-24T22:30:00.000Z"
}
```

***

### 💼 Commercial Use Cases / Casos de Uso Comerciales

1. **B2B Cold Outreach & Sales Pipelines**: Build hyper-targeted calling and emailing lists for local marketing, SaaS, or agency sales.
2. **Local SEO & Reputation Audits**: Identify businesses with low review counts or missing websites to pitch digital marketing services.
3. **Market Expansion & Density Mapping**: Analyze competitor density, service distribution, and market gaps by geographic coordinates.
4. **Directory & Aggregator Sites**: Populate localized directories, booking portals, or service marketplaces with fresh business data.

# Actor input Schema

## `search_query` (type: `string`):

Business type and city or area (e.g. 'dentistas en Madrid', 'plumbers in Miami', 'restaurantes en CDMX').

## `search_terms` (type: `array`):

List of search queries to scrape sequentially.

## `start_urls` (type: `array`):

Direct Google Maps search URLs. If provided, overrides search query.

## `max_items` (type: `integer`):

Maximum number of places/businesses to extract.

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

Language code for Google Maps interface (e.g. 'es', 'en', 'fr', 'pt', 'de').

## `min_rating` (type: `number`):

Filter businesses with star rating >= this value (e.g. 4.0, 4.5).

## `min_reviews` (type: `integer`):

Filter businesses with review count >= this value.

## `has_phone_only` (type: `boolean`):

Only include businesses with a valid contact phone number.

## `has_website_only` (type: `boolean`):

Only include businesses that have an official website listed.

## `proxy_configuration` (type: `object`):

Apify Proxy configuration (residential or datacenter).

## Actor input object example

```json
{
  "search_query": "dentistas en Madrid",
  "max_items": 10,
  "language": "es",
  "has_phone_only": false,
  "has_website_only": false,
  "proxy_configuration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Scraped Google Maps business places with verified phones, websites, addresses, ratings, and coordinates.

# 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 = {
    "max_items": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("ulitron34/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 = { "max_items": 10 }

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

```

## MCP server setup

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