# Maps2leads (`maps2leads/maps2leads`) Actor

Extract business leads from Google Maps, including name, address, phone, website, and verified emails. Ideal for lead generation, sales prospecting, and marketing automation.

- **URL**: https://apify.com/maps2leads/maps2leads.md
- **Developed by:** [Kodjovi Denis-Papin Akakpo](https://apify.com/maps2leads) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 8 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$200.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## 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 Data Extractor

Extract detailed business information from Google Maps including names, phone numbers, and websites. Perfect for lead generation, market research, and building business databases.

### What does Google Maps Business Data Extractor do?

This powerful scraper automates the extraction of business data from Google Maps search results. Simply provide a business type and location, and get comprehensive business information including contact details and websites.

#### Key features:

- **Comprehensive Data Extraction**: Names, phone numbers, and websites
- **Smart Pagination**: Automatically scrolls through all results
- **Memory Optimized**: Handles large datasets efficiently
- **Reliable**: Built-in retry mechanisms and error handling
- **Fast**: Optimized for speed with batch processing
- **Scalable**: Extract up to 1000 businesses per search

### Why use Google Maps Business Data Extractor?

#### For Lead Generation

- Build targeted prospect lists by industry and location
- Get contact information for sales outreach
- Research competitors in specific markets

#### For Market Research

- Analyze business density in different areas
- Study market saturation for business planning
- Gather data for location-based analysis

#### For Data Enrichment

- Enhance existing databases with contact information
- Verify and update business information
- Build comprehensive business directories

### How much will it cost?

This actor uses a **monthly subscription model**:

- **Monthly subscription**: $200/month
- **Free trial**: 1 day trial available
- **Unlimited usage** within your subscription period

Perfect for businesses that need regular access to fresh business data for lead generation, market research, or data enrichment projects.

*All pricing includes compute costs - no additional fees for processing*

### Input

| Field | Type | Description | Required |
|-------|------|-------------|----------|
| `type` | String | Type of business to search for (e.g., "Restaurant", "Dentist", "Hotel") | Yes |
| `location` | String | Geographic area to search (e.g., "New York, NY", "London, UK") | Yes |
| `maxItems` | Integer | Maximum number of results (default: 500, max: 1000) | No |

#### Input example

```json
{
  "type": "Restaurant",
  "location": "Paris, France",
  "maxItems": 200
}
```

### Output

Each business record contains:

| Field | Type | Description |
|-------|------|-------------|
| `name` | String | Business name as displayed on Google Maps |
| `phone` | String | Phone number (if available) |
| `website` | String | Website URL (if available) |

#### Output example

```json
[
  {
    "name": "Le Grand Restaurant",
    "phone": "+33 1 42 60 11 60",
    "website": "https://www.legrandrestaurant.fr/"
  },
  {
    "name": "Café de Paris",
    "phone": "+33 1 47 05 86 89",
    "website": ""
  }
]
```

### Tips for best results

1. **Be specific with business types**: Use specific terms like "Italian Restaurant" instead of just "Restaurant"
2. **Use clear locations**: Include city and country for best results
3. **Start small**: Test with smaller result sets before running large extractions
4. **Check data quality**: Not all businesses have complete information available

### Frequently Asked Questions

**Q: Can I extract all businesses in a city?**
A: The actor extracts businesses based on Google Maps search results. For comprehensive coverage, try multiple specific search terms.

**Q: Why are some phone numbers or websites missing?**
A: Not all businesses provide complete information on Google Maps. The actor extracts only what's publicly available.

**Q: How accurate is the data?**
A: The data comes directly from Google Maps, so accuracy depends on how businesses maintain their listings.

**Q: Can I use this for commercial purposes?**
A: Yes, this actor is designed for commercial use including lead generation and market research.

### Technical details

- Built with Puppeteer and Crawlee for reliability
- Handles dynamic content loading and infinite scroll
- Includes rate limiting to respect Google's servers
- Memory optimized for large datasets
- Automatic retry on failures

### Legal and ethical considerations

- Respects robots.txt and rate limiting
- Extracts only publicly available information
- Complies with Google's Terms of Service for automated access
- Users responsible for compliance with local data protection laws

### Need help?

Contact us through the Apify platform for support, custom modifications, or bulk processing requirements.

# Actor input Schema

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

Type of business to search for (e.g., Restaurant, Hotel, Business)

## `location` (type: `string`):

City name or geographical area (e.g., 'New York, USA')

## `maxItems` (type: `integer`):

Maximum number of results to extract (default: 500, max: 1000)

## Actor input object example

```json
{
  "type": "Restaurant",
  "location": "Paris, France",
  "maxItems": 500
}
```

# 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 = {
    "type": "Restaurant",
    "location": "Paris, France"
};

// Run the Actor and wait for it to finish
const run = await client.actor("maps2leads/maps2leads").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 = {
    "type": "Restaurant",
    "location": "Paris, France",
}

# Run the Actor and wait for it to finish
run = client.actor("maps2leads/maps2leads").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 '{
  "type": "Restaurant",
  "location": "Paris, France"
}' |
apify call maps2leads/maps2leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maps2leads/maps2leads"
        }
    }
}

```

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/n3adrRNpScByEYSPc/builds/Gmt47PkAKeHb9Y5j0/openapi.json
