# Google Maps Scraper (`tacps126/google-maps-places`) Actor

Scrape Google Maps places for any search and area: name, categories, full address, phone, website, rating, review count, opening hours, open or closed status, coordinates and place ID. Filters for website, phone and rating. New-place alerts. From $2 per 1,000 places.

- **URL**: https://apify.com/tacps126/google-maps-places.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Lead generation, Travel
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 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.
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 Scraper

Turn any Google Maps search into a **lead list**: business name, categories, **full address** split into street, city, postal code and state, **phone number**, **website**, **rating and review count**, **opening hours**, open or closed status, **GPS coordinates**, place ID and a map link. Search for `dentist in Denver, CO`, combine many terms with many cities, or paste Google Maps search links. Export to JSON, CSV or Excel, send to Google Sheets or your CRM, or call it as an API.

**Built for** sales teams and agencies building local lead lists, marketers mapping competitors, franchise and real-estate analysts sizing markets, and data teams who need clean place data.

### Why this scraper

- **Terms x locations.** Give `dentist`, `orthodontist` and five cities; every term runs in every city.
- **Contact-ready rows.** Phone in local and international format, website and its domain, street address with postal code.
- **Filters that save money.** Only places with a website, only places with a phone, minimum rating, skip closed places. Filtered places are not charged.
- **Hours and status.** Weekly opening hours plus "Open, closes 5 PM" or closed flags.
- **Reviews and details.** Turn on *Add reviews and details* for the star rating breakdown, the top reviews on each place (author, rating, text, when) and its About attributes (accessibility, payments, amenities), at the same price per place.
- **No duplicates.** A place found by two searches is delivered and charged once.
- **New-business alerts.** Schedule it with *Only new places* and each run returns only places you haven't received yet.

### How to use it

1. Add **Search terms** (for example `dentist`) and **Locations** (for example `Denver, CO`), or paste **Google Maps search links**.
2. Optionally set filters and **Max places per search**.
3. Press **Start**. Download from the **Output** tab, or connect an integration.

#### Example input

```json
{
  "searchTerms": ["dentist", "orthodontist"],
  "locations": ["Denver, CO", "Boulder, CO"],
  "maxPlacesPerSearch": 100,
  "onlyWithWebsite": true,
  "minRating": "4"
}
```

### What you get

| Field | Description |
|-------|-------------|
| `name`, `category`, `categories` | Business name and Google Maps categories |
| `address`, `street`, `neighborhood`, `city`, `postalCode`, `state`, `countryCode` | Full and split address |
| `phone`, `phoneInternational` | Phone as shown and in international format |
| `website`, `domain` | Website and its domain |
| `rating`, `reviewsCount`, `reviewsUrl` | Average rating, number of reviews, link to the reviews |
| `openingHours`, `openStatus`, `closed` | Weekly hours, current status, `no` / `temporarily` / `permanently` |
| `latitude`, `longitude`, `timezone` | Location |
| `placeId`, `cid`, `url` | Google place ID, CID and a map link |
| `description`, `search`, `scrapedAt` | Short description when shown, the search it came from, when |
| `ratingHistogram`, `topReviews`, `about` | With *Add reviews and details*: count per star, `[{author, authorReviewsCount, rating, text, language, when}]`, About attributes by group |

Example (shortened):

```json
{
  "name": "Proper Plumbing LLC",
  "category": "Plumber",
  "address": "4179 Wolff St, Denver, CO 80212",
  "city": "Denver",
  "postalCode": "80212",
  "phone": "(720) 675-7167",
  "phoneInternational": "+17206757167",
  "website": "https://properplumbingcolorado.com/",
  "rating": 5.0,
  "reviewsCount": 37,
  "openStatus": "Open, closes 5 PM",
  "latitude": 39.7743577,
  "longitude": -105.0488198,
  "placeId": "ChIJufP3FJyHa4cRlTrnMrImDlU"
}
```

### Pricing

Pay per result: about **$2 per 1,000 places** (lower on higher Apify plans) plus a small start fee. Duplicates, filtered places and (with *Only new places*) already-delivered places are free. See the **Pricing** tab for exact rates, and set a maximum charge per run to cap spend.

On Apify's **free plan** each run returns up to 100 places, enough to try it out. Any paid Apify plan removes the limit.

### FAQ

**How many places per search?** Google Maps lists up to about 180 places for one search. For more, split a city into neighborhoods or ZIP codes, or use more specific terms.

**Do you get emails?** Not from Google Maps, which does not show them. Feed the `website` column to a contact finder to get emails and social links.

**Can I get reviews?** Turn on *Add reviews and details* for the top reviews Google shows on each place (about 5) and the full star breakdown. It returns those top reviews, not every review of a place.

**Is it legal?** The Actor collects publicly listed business information. You're responsible for how you use the data under the laws that apply to you.

### Support

Missing a field or a search that returns too little? Open an issue on the **Issues** tab with your input and what you expected.

# Actor input Schema

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

What to look for, as you would type it in Google Maps (for example `dentist`, `coffee shops`).

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

Where to look (for example `Denver, CO`). Every search term runs in every location. Leave empty when the term already says where.

## `startUrls` (type: `array`):

Google Maps search links (google.com/maps/search/...). The map area in the link is kept.

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

Google Maps lists up to about 180 places for one search. For more, use smaller areas or more specific terms.

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

Maximum number of places to return in total.

## `includeDetails` (type: `boolean`):

Add the star rating breakdown, the top reviews shown on each place (author, rating, text, when) and its About attributes (accessibility, payments, amenities). Slower; same price per place.

## `onlyWithWebsite` (type: `boolean`):

Leave out places without a website (they are not charged).

## `onlyWithPhone` (type: `boolean`):

Leave out places without a phone number.

## `skipClosed` (type: `boolean`):

Leave out places marked temporarily or permanently closed.

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

Leave out places rated below this.

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

Language for categories, hours and status (two-letter code, for example `en`, `de`).

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

Two-letter country code Google Maps uses for the search (for example `us`, `gb`, `in`).

## `onlyNew` (type: `boolean`):

Return only places not delivered by earlier runs of the same searches. Schedule the Actor to get new businesses as they appear.

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

Optional name to keep separate histories for the same searches.

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

Keep the default setting for reliable results.

## `debug` (type: `boolean`):

More detail in the run log.

## Actor input object example

```json
{
  "searchTerms": [
    "dentist"
  ],
  "locations": [
    "Denver, CO"
  ],
  "maxPlacesPerSearch": 40,
  "maxItems": 500,
  "includeDetails": false,
  "onlyWithWebsite": false,
  "onlyWithPhone": false,
  "skipClosed": false,
  "language": "en",
  "countryCode": "us",
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

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

The produced items (default dataset items).

# 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": [
        "dentist"
    ],
    "locations": [
        "Denver, CO"
    ],
    "maxPlacesPerSearch": 40,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/google-maps-places").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": ["dentist"],
    "locations": ["Denver, CO"],
    "maxPlacesPerSearch": 40,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/google-maps-places").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 '{
  "searchTerms": [
    "dentist"
  ],
  "locations": [
    "Denver, CO"
  ],
  "maxPlacesPerSearch": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tacps126/google-maps-places --silent --output-dataset

```

## MCP server setup

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

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/zRR0EUlBAhL2JX4Ib/builds/74eWO8N9xCPhLGWM8/openapi.json
