# Google Maps Places Scraper (`i-scraper/google-maps-places`) Actor

Find Google Maps businesses by keyword and area. Export names, addresses, phone numbers, websites, ratings, coordinates, and Place IDs.

- **URL**: https://apify.com/i-scraper/google-maps-places.md
- **Developed by:** [i-Scraper](https://apify.com/i-scraper) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 google maps businesses

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### Find local businesses on Google Maps

Google Maps Places Scraper finds businesses for a keyword and location, then exports a clean list of places. Use it to build local business lists, research a market, compare locations, or collect public contact details. Start with a search such as **dentist in Austin, Texas** and choose how many places to return.

Each result is one business. The Actor removes duplicates found across search terms and map areas, so a place discovered twice appears only once in the dataset. You can download the results as JSON, CSV, or Excel, or use the Apify API and integrations to send them into your workflow.

#### What data can you get?

- Business name, primary category, full address, map URL, and Google Place ID.
- Latitude and longitude for mapping and geographic analysis.
- Public phone number, website, and rating when shown on the place page.
- Review count and opening hours text when Google makes them available in the public page.
- The search term, result position, and crawl time for each record.

The Actor does not collect full review text, images, or email addresses. An email address is generally found on a business's website, not in its Google Maps listing. Missing fields are returned as `null` rather than guessed.

### How to scrape Google Maps places

1. Enter one or more **Search terms**, such as `dentist` and `orthodontist`.
2. Enter a **Location**, such as `Austin, Texas, USA`.
3. Set **Maximum unique places** and run the Actor. The default search uses the location once for each term.
4. Open the **Output** tab to inspect or export your dataset.

For a radius search, set **Search radius in km** above zero. The Actor automatically finds the center of your **Location**; include the country to avoid ambiguous city names. To search around a specific point instead, provide optional **Center coordinates** as `latitude,longitude`. For example, `30.2672,-97.7431` is near central Austin. You can obtain coordinates by right-clicking a point in Google Maps. The Actor searches overlapping map areas, removes duplicates, and excludes places whose coordinates fall outside the requested radius. Increase **Maximum map tiles** if the run summary says some tiles were skipped.

Example input:

```json
{
  "searchTerms": ["dentist"],
  "location": "Austin, Texas, USA",
  "maxPlaces": 50,
  "fetchDetails": true
}
```

An output record contains fields such as:

```json
{
  "name": "Example Dental Practice",
  "category": "Dentist",
  "address": "Example address",
  "phone": "+15125550123",
  "website": "https://example.com/",
  "rating": 4.7,
  "placeId": "example-place-id",
  "detailStatus": "ok"
}
```

The example record shows the structure; it is not a real business result. The dataset also includes the Google Maps URL and coordinates. A separate `OUTPUT` record in the run's default key-value store reports search errors, duplicate counts, places outside the radius, and whether any limits may have reduced coverage.

### Cost and search coverage

Run costs depend on how long the browser runs and the memory selected. The default memory is 2 GB. For short trial runs with one search term, no radius, up to 10 places, and at most two concurrent detail pages, you can select 1 GB in the run options. Lowering memory also lowers available CPU, so a large run can take longer and cost about the same. Opening each place page for details takes more time than collecting search results only. For a quick trial, set `maxPlaces` to 10. You can set `fetchDetails` to `false` to get a faster list with fewer fields. Check the run's **Usage** tab for the actual platform cost; any Actor price will be shown in its **Pricing** tab when configured.

Google Maps search results are ranked and can be limited. A city-wide search is not a guaranteed complete directory of every business in that city. Searching several map areas can find more places, but even a finished run cannot guarantee total geographic coverage. The `OUTPUT` summary marks runs that hit a tile, place, or per-search cap. Some fields, particularly review counts, may be hidden in Google's public view. Large runs may encounter access limits or timeouts.

### FAQ

#### Do I need a Google account or Places API key?

No. The Actor reads publicly available Google Maps pages in a browser. It does not use the Google Places API.

#### Why is a field empty?

The business may not have provided it, or Google may not show it in the public page available during the run. Check `detailStatus` for place-page failures and `OUTPUT` for run-wide errors.

#### How can I use the results automatically?

Run the Actor through the Apify API, schedule repeated runs, or connect its dataset to supported integrations. Use the Place ID to match the same business across your own datasets.

# Actor input Schema

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

Business categories or keywords, such as dentist or cafe.

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

City or area used to center the search, such as Austin, Texas, USA.

## `radiusKm` (type: `integer`):

0 searches the location once. A positive radius searches overlapping map areas around the location center, resolved automatically unless coordinates are provided.

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

Optional override of the automatically resolved location center. Latitude,longitude, for example 30.2672,-97.7431 for central Austin.

## `gridStepKm` (type: `integer`):

Distance between search viewport centers when radius is greater than zero. Smaller spacing can improve coverage but takes longer.

## `maxTiles` (type: `integer`):

Safety limit on map viewports per search term. OUTPUT reports when this truncates coverage.

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

Maximum places collected from one search results list.

## `maxPlaces` (type: `integer`):

Overall output limit across all keywords and map areas.

## `fetchDetails` (type: `boolean`):

Open each place page for address, phone, website, category, rating, and other available fields.

## `maxDetailConcurrency` (type: `integer`):

Number of place pages opened at once. Lower values reduce load and access errors.

## Actor input object example

```json
{
  "searchTerms": [
    "dentist"
  ],
  "location": "Austin, Texas, USA",
  "radiusKm": 0,
  "centerCoordinates": "30.2672,-97.7431",
  "gridStepKm": 5,
  "maxTiles": 25,
  "maxPlacesPerSearch": 100,
  "maxPlaces": 500,
  "fetchDetails": true,
  "maxDetailConcurrency": 2
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "searchTerms": [
        "dentist"
    ],
    "location": "Austin, Texas, USA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("i-scraper/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"],
    "location": "Austin, Texas, USA",
}

# Run the Actor and wait for it to finish
run = client.actor("i-scraper/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"
  ],
  "location": "Austin, Texas, USA"
}' |
apify call i-scraper/google-maps-places --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,i-scraper/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/B0U6U0zokGW96aGsV/builds/RjIj6vXq60FsWKba6/openapi.json
