# Google Maps Email Finder (by keyword)

Find business emails from Google Maps by keyword and location. Extract emails, websites, phone numbers, and store details for lead generation — no coding required.

- Template page: [https://www.octoparse.com/template/google-maps-email-finder-by-keyword](https://www.octoparse.com/template/google-maps-email-finder-by-keyword)
- Categories: Maps, Lead Generation
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from search-results pages, listing pages.

## Output

The current workflow extracts 15 fields, including `Address`, `Category`, `Email`, `Facebook`, `GoogleMaps_URL`, `Instagram`, `Name`, `Page_URL`, `Rating`, `Review_count`, `Telephone`, `Textbox_value`, `Tiktok`, `Twitter`, `Website`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete Keywords (up to 10,000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### Keywords (up to 10,000)

Required. Enter one or multiple keywords to search for. Supports up to 10,000 entries per run (one per line). Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=5000.

## How to Use

# Google Maps Email Finder - Usage Guide

## Parameters

- **Search Keywords** (up to 10,000): Enter one or multiple keywords per line.  
  Example: `restaurants in New York`

## Steps

1. **Start the template**: Click **"Try it!"** or **"Start"**.
2. **Enter parameters**: Fill in the search keywords.
3. **Run the scraper**: Click **"Start"** and select a run mode. Octoparse automatically browses the target website, loads search results, scrolls pages, and extracts all matching data.
4. **Monitor & handle interruptions**:
   - Click **Show Browser** and **Event Log** to check task status. If the task is stuck, re-run the template.
   - If a CAPTCHA appears, pause the task, solve it manually, then resume the run.
5. **Export data**: After scraping completes, go to the output section and export results as CSV, Excel, or JSON.

## Important Notes

- This template does not guarantee contact data for every business, but it will make every effort to extract available information.
- Google Maps limits each query to 120–200 results. To increase coverage, split large regions into smaller areas.
- Scraping publicly available business information is generally allowed, but usage must comply with Google’s terms and local regulations.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [Google Maps Email Finder (by URLs)](https://www.octoparse.com/template/google-maps-email-finder-by-urls)
- [Google Search Email Finder](https://www.octoparse.com/template/google-search-contact-scraper)
- [Google Search Email Finder (Premium)](https://www.octoparse.com/template/google-search-email-finder-premium)
- [Google Maps Email Scraper & Extractor](https://www.octoparse.com/template/google-maps-contact-scraper)
- [Google Shopping Price Monitor (by Keyword)](https://www.octoparse.com/template/google-shopping-price-monitor-by-keyword)

## Input Schema

```json
{
  "title": "Google Maps Email Finder (by keyword) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "keywords": {
      "title": "Keywords (up to 10,000)",
      "description": "Enter one or multiple keywords to search for. Supports up to 10,000 entries per run (one per line).",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 5000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": false
      }
    }
  },
  "required": [
    "keywords"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "keywords": [
    "restaurants in New York"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Address": {
      "type": "string",
      "description": ""
    },
    "Category": {
      "type": "string",
      "description": ""
    },
    "Email": {
      "type": "string",
      "description": ""
    },
    "Facebook": {
      "type": "string",
      "description": ""
    },
    "GoogleMaps_URL": {
      "type": "string",
      "description": ""
    },
    "Instagram": {
      "type": "string",
      "description": ""
    },
    "Name": {
      "type": "string",
      "description": ""
    },
    "Page_URL": {
      "type": "string",
      "description": ""
    },
    "Rating": {
      "type": "string",
      "description": ""
    },
    "Review_count": {
      "type": "string",
      "description": ""
    },
    "Telephone": {
      "type": "string",
      "description": ""
    },
    "Textbox_value": {
      "type": "string",
      "description": ""
    },
    "Tiktok": {
      "type": "string",
      "description": ""
    },
    "Twitter": {
      "type": "string",
      "description": ""
    },
    "Website": {
      "type": "string",
      "description": ""
    }
  },
  "title": "Google Maps Email Finder (by keyword) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Address": "536 9th Ave, New York, NY 10018",
  "Category": "Latin American restaurant",
  "Email": "ef5d9bbac3354b759bfd7a23c3313b3f@o244637.ingest.us",
  "Facebook": "https://www.facebook.com/Buenavistany",
  "GoogleMaps_URL": "https://www.google.com/maps/place/Buena+Vista+Restaurant+%26+Bar/data=!4m7!3m6!1s0x89c25852b433ffff:0x4bde1e9afa756c9b!8m2!3d40.7568372!4d-73.9934938!16s%2Fg%2F11fflztctz!19sChIJ__8ztFJYwokRm2x1-poe3ks?authuser=0&hl=en&g_ep=EgoyMDI2MTExMC4wIJJjKgBIAVAD&rclk=1",
  "Instagram": "https://www.instagram.com/buenavistany/",
  "Name": "Buena Vista Restaurant & Bar",
  "Page_URL": "https://www.google.com/maps/place/Buena+Vista+Restaurant+%26+Bar/@40.7324019,-74.0202051,14z/data=!4m11!1m3!2m2!1srestaurants+in+New+York!6e5!3m6!1s0x89c25852b433ffff:0x4bde1e9afa756c9b!8m2!3d40.7568372!4d-73.9934938!15sChdyZXN0YXVyYW50cyBpbiBOZXcgWW9ya1oZIhdyZXN0YXVyYW50cyBpbiBuZXcgeW9ya5IBGWxhdGluX2FtZXJpY2FuX3Jlc3RhdXJhbnSaAURDaTlEUVVsUlFVTnZaRU5vZEhsalJqbHZUMnhLYTJGRVVtbFJNR1J5Vmtoa2QxSkhlRXhNVmxZMFVqSldWbHByUlJBQuABAPoBBAgPEEU!16s%2Fg%2F11fflztctz?entry=ttu&g_ep=EgoyMDI2MTExMC4wIKXMDSoASAFQAw%3D%3D",
  "Rating": "4.6",
  "Review_count": "1,548",
  "Telephone": "Find a table",
  "Textbox_value": "restaurants in New York",
  "Tiktok": "https://www.tiktok.com/@buenavistanewyork",
  "Twitter": "",
  "Website": "https://www.buenavistany.com/locations/hells-kitchen/?utm_source=google&utm_medium=organic&utm_campaign=gbp-listing"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "google-maps-email-finder-by-keyword",
  "taskName": "Google Maps Email Finder (by keyword)",
  "parameters": "{\"keywords\":[\"restaurants in New York\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"keywords\":[\"restaurants in New York\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "google-maps-email-finder-by-keyword",
        "taskName": "Google Maps Email Finder (by keyword)",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "google-maps-email-finder-by-keyword",
  "taskName": "Google Maps Email Finder (by keyword)",
  "parameters": "{\"keywords\":[\"restaurants in New York\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `google-maps-email-finder-by-keyword`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/google-maps-email-finder-by-keyword.json)
- [Manifest](https://www.octoparse.com/templates/google-maps-email-finder-by-keyword-manifest.json)
