# Google Maps Emails Scraper (`datarava/google-maps-emails-scraper`) Actor

Scrape thousands of businesses from Google Maps with their emails and social media profiles. Search by keywords and locations, then automatically visit business websites to extract email addresses and social links in a single run. Built for lead generation and sales prospecting.

- **URL**: https://apify.com/datarava/google-maps-emails-scraper.md
- **Developed by:** [DATARAVA](https://apify.com/datarava) (community)
- **Categories:** Lead generation, Automation, Agents
- **Security:** Limited permissions
- **Stats:** 763 total users, 4 monthly users, 100.0% runs succeeded, 14 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $6.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## 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 Emails Scraper

This Actor helps you scrape detailed business data from Google Maps along with the available businesses' emails based on your provided search terms and locations. The Actor fetches each place's website link from Google Maps, opens it, and extracts all available Emails and social media e.g. Facebook, Twitter/X, LinkedIn, Instagram etc. links from their website's homepage and contact-us pages.

You can enter one or more search terms (e.g., Hotels, Restaurants, Libraries) and specify one or more custom locations like New York, Washington, etc., or choose from predefined US states via a dropdown list, or select the full USA or other countries to get data for the entire country.

If you want to target specific areas, you can provide GPS coordinates for precise area scraping — this overrides location fields. If GPS coordinates are provided, all location fields will be ignored and only GPS coordinates will be used.

Set how many places to extract in total across all search terms and locations, up to 100,000 places per location. For example, if you set 1 search term and 3 locations, you can get up to 100,000 results per location (if a single location contains that many places matching the search term), resulting in up to 300,000 records overall if available. You have full control over the number of records to scrape by setting how many places to get, and you will only be charged for the data scraped.

***

### Pricing

| Event                                   | Description                                               | Cost per Unit (USD)    |
|----------------------------------------|-----------------------------------------------------------|-----------------------|
| Actor Start                            | Charged once per Actor run i.e. when you start any scraping session                                | $0.007\*                |
| Single Place Scraping with Emails (if available)                 | Price per Place scraping with emails & social media links enrichment   | $0.009               |

**Note**: 0.007$ is charged for Actor started with 1GB RAM. However, recommended is 4GB RAM which costs 0.028$ per Actor Run. Also, These are the base charges for Free Users. Discounts may apply as per your apify plan.

#### Example costs:

- Scraping 1,000 places with emails & social media links enrichment:\
  `1000 x 0.009 = $9 (For free users)`
- `Please see compare prices table for discounts for premium users`

# Actor input Schema

## `search_term` (type: `array`):

Provide the search terms to get data for. like Hotels, Restaurants, Libraries etc.. It will find those businesses in Google Maps, and will get their emails if available from their websites.

## `location` (type: `array`):

Provide your custom location to search in. like London, New York etc.. It will find businesses & their emails in these locations.

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

Select a country or a US state to find businesses & their emails. If you want to use this predefined location then please keep the above manual location value to empty.

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

if GPS Coordinates are provided, Custom and predefined Locations feilds above will be ignored. Actor will get data from this custom location provided through GPS coordinates. The format of this field is lat,long,zoom_level. for example: 51.4980493,-0.2257851,12z. The zoom level starts from 3z to 21z. 3z means full zoom out and 21z means full zoom in. You can search your desired term in Google Maps. then you can find these coordinates in URL bar in this format @lat,long,zoom_level. You can provide these here for precise search. example: 51.4980493,-0.2257851,12z

## `number_of_target_records` (type: `integer`):

Enter how many records do you want to get.

## Actor input object example

```json
{
  "search_term": [
    "Libraries"
  ],
  "location": [
    "London"
  ],
  "predefined_location": "None",
  "number_of_target_records": 20
}
```

# Actor output Schema

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

No description

# 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 = {
    "search_term": [
        "Libraries"
    ],
    "location": [
        "London"
    ],
    "number_of_target_records": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("datarava/google-maps-emails-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 = {
    "search_term": ["Libraries"],
    "location": ["London"],
    "number_of_target_records": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("datarava/google-maps-emails-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 '{
  "search_term": [
    "Libraries"
  ],
  "location": [
    "London"
  ],
  "number_of_target_records": 20
}' |
apify call datarava/google-maps-emails-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datarava/google-maps-emails-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/RdVpyWtAn3wtH7RPn/builds/d3Txd3NJH6jWALgoe/openapi.json
