# Google Maps Scraper (no API key) (`fruityp/google-maps-scraper`) Actor

Extract Google Maps places — name, address, phone, website, rating, reviews — plus emails & socials. No API key. Export JSON/CSV/Excel.

- **URL**: https://apify.com/fruityp/google-maps-scraper.md
- **Developed by:** [FruityP](https://apify.com/fruityp) (community)
- **Categories:** Lead generation, AI, E-commerce
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 places

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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 Scraper (no API key)

Extract **Google Maps places** — name, category, address, phone, website, rating,
and review count — for any business type in any location. Optionally enrich each
result by crawling its website for **emails, extra phones, and social links**.
**No API key, no Google account.** Clean, flat output ready for **JSON / CSV / Excel**.

### What it does

- **Search by term × location** — run any list of search terms (e.g. `dentists`,
  `coffee shops`, `plumbers`) across any list of locations (e.g. `Manchester, UK`,
  `Brooklyn, NY`). Every term is searched in every location.
- **Rich place data** — name, category, full address, city, country, phone,
  website, star rating, review count, coordinates, and a canonical Google Maps link.
- **Contact enrichment** — optionally visit each business's website to pull
  **emails**, **extra phone numbers**, and **social profile links** that aren't on
  the map listing. Keep it tight with "related emails only".
- **Clean, flat output** — one record per place, ready to export.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `searchTerms` | string\[] | `["dentists"]` | Business types / keywords. |
| `locations` | string\[] | `["Manchester, UK"]` | Each term is searched in each location. |
| `maxPlacesPerSearch` | int | `50` | Upper bound per term × location pair. |
| `language` | string | `en` | Result language code. |
| `countryCode` | string | `uk` | Two-letter country bias. |
| `scrapeContacts` | bool | `true` | Crawl each website for emails / extra phones / socials. |
| `relatedEmailsOnly` | bool | `true` | Keep only emails on the business's own domain. |
| `proxyConfiguration` | proxy | datacenter | Free-plan friendly default; see **Proxies** below. |

`searchTerms` and `locations` are both required (at least one each).

#### Example input

```json
{
  "searchTerms": ["dentists", "orthodontists"],
  "locations": ["Manchester, UK", "Leeds, UK"],
  "maxPlacesPerSearch": 50,
  "language": "en",
  "countryCode": "uk",
  "scrapeContacts": true,
  "relatedEmailsOnly": true,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

### Output

Places are pushed to the default dataset, one record per place:

```jsonc
{
  "placeId": "ChIJ...",
  "name": "Smile Dental Practice",
  "category": "Dentist",
  "address": "12 King St, Manchester M2 6AG, UK",
  "city": "Manchester",
  "country": "GB",
  "phone": "+44 161 123 4567",
  "website": "https://smiledental.example",
  "rating": 4.7,
  "reviewsCount": 312,
  "lat": 53.4808,
  "lng": -2.2426,
  "googleMapsUrl": "https://www.google.com/maps/place/?q=place_id:ChIJ...",
  "emails": ["hello@smiledental.example"],
  "socialLinks": ["https://facebook.com/smiledental"],
  "extraPhones": ["+44 161 123 4568"]
}
```

`emails`, `socialLinks`, and `extraPhones` are populated only when
`scrapeContacts` is on.

### Proxies

Cookies are minted through the **same proxy** used for scraping (the IP must stay
consistent within a search):

- **Free plan (default):** the default `{"useApifyProxy": true}` (Apify automatic/
  datacenter proxy) works out of the box for normal volumes — verified live.
- **High / sustained volume:** switch to residential to avoid throttling:
  `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` (paid plan).
- **Bring your own:** **Proxy configuration → Custom proxies**:
  ```json
  { "useApifyProxy": false, "proxyUrls": ["http://USER:PASS@host:PORT"] }
  ```
- The actor rotates the IP per location.

<details>
<summary>Free option: route through your own home/mobile IP (no provider)</summary>

1. Run a local HTTP proxy:
   ```bash
   pip install proxy.py
   python -m proxy --hostname 127.0.0.1 --port 8899 --basic-auth user:pass
   ```
2. Expose it with a **TCP** tunnel — e.g. pinggy.io (cardless):
   `ssh -p 443 -R0:localhost:8899 tcp@a.pinggy.io` → prints `tcp://HOST:PORT`
   (or `ngrok tcp 8899`).
3. Set **Proxy configuration → Custom proxies** to
   `{ "useApifyProxy": false, "proxyUrls": ["http://user:pass@HOST:PORT"] }`.

Single IP — fine for low volume, not scale. Keep the proxy behind auth and only
open the tunnel while running.

</details>

### Reliability

- Each location gets a fresh session minted on its own proxy IP.
- A failed search for one term/location is logged and the run continues with the rest.
- Results are de-duplicated by place id across all searches in a run.

### Legal / ethics

Collects **public** business-listing data only. Respect Google's Terms, applicable
law, and people's privacy — don't use it to harvest personal data for spam.
Contact enrichment visits only the business's own publicly listed website.

# Actor input Schema

## `searchTerms` (type: `array`):

Business types or keywords to search, e.g. "dentists", "coffee shops", "plumbers".

## `locations` (type: `array`):

Places to search in, e.g. "Manchester, UK", "Brooklyn, NY". Each location is combined with every search term.

## `maxPlacesPerSearch` (type: `integer`):

Upper bound on places returned for each search term × location pair. Keep modest to keep runs fast and cheap.

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

Result language code (e.g. "en", "fr", "de").

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

Two-letter country bias for results (e.g. "uk", "us", "de").

## `scrapeContacts` (type: `boolean`):

Crawl each business website for emails, extra phones, and social links.

## `relatedEmailsOnly` (type: `boolean`):

Keep only emails on the business's own domain (drops generic third-party addresses).

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

Apify Proxy (datacenter by default — free-plan friendly). Switch to residential for high volume, or use Custom proxies.

## Actor input object example

```json
{
  "searchTerms": [
    "dentists"
  ],
  "locations": [
    "Manchester, UK"
  ],
  "maxPlacesPerSearch": 30,
  "language": "en",
  "countryCode": "uk",
  "scrapeContacts": true,
  "relatedEmailsOnly": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped places (default dataset).

# 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 = {
    "searchTerms": [
        "dentists"
    ],
    "locations": [
        "Manchester, UK"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fruityp/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 = {
    "searchTerms": ["dentists"],
    "locations": ["Manchester, UK"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("fruityp/google-maps-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "dentists"
  ],
  "locations": [
    "Manchester, UK"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call fruityp/google-maps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fruityp/google-maps-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/wlJFtF21oyMWHu4p1/builds/YFewg6WZYmKrqhzBN/openapi.json
