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

Scrape Google Maps places by search query and location, or from Google Maps search and place links: name, Place ID, categories, full address, coordinates, rating, review count, website, phone number, opening hours, attributes, photos. No browser, fast, pay per place with all details included.

- **URL**: https://apify.com/brii3343/google-maps-places-scraper.md
- **Developed by:** [Brian Gastaldelli](https://apify.com/brii3343) (community)
- **Categories:** Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 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 Places Scraper — every place detail in one price, without a browser

Get Google Maps places from **search queries or Google Maps links**: name, Place ID and CID, categories, full address split into street, city, postal code and country, coordinates, rating and review count, website, phone number, opening hours, attributes, photos. No browser, no login, you pay only for places you get.

#### Why this Actor

- **Reliable on the cloud**: 35 of 35 test runs of the current version succeeded on 19 October 2026 (searches in 9 cities and 6 countries, search links, place links, CID links, wrong inputs), 14,788 places with no duplicates; the same search repeated 5 times gives mostly the same places (80-100%, Google reorders a few).
- **Phone number included**: every place comes with its phone as Google shows it and in international format (`+17185966700`) at the same price; other Google Maps scrapers charge extra for place details. In our 18 test runs on 20 October 2026 (restaurants, dentists, hotels, coffee shops in 4 countries), 92.9% of the 720 places had a phone (97.5-100% in four of the six searches; 60% for coffee shops in London, where Google lists no number for many).
- **All details in one price**: opening hours, website, attributes, Place ID and the full address come with every place, also for place links; there is no extra "details" charge.
- **Same data as the Google Maps app**: the Actor reads the same data the Google Maps page loads, so names, categories and hours are what users see.
- **Fast**: 20 places per request, about one second each; 400 restaurants in Manhattan in about 30 seconds.
- **More than 120 places per search**: Google Maps stops at about 120 places for one map area; the Actor splits crowded areas by itself (about 2,160 dentists in Brooklyn in one search).
- **You pay only for places.** Searches with no results, wrong links and pages Google refuses are free status rows. Duplicates are removed.

#### Example

Input:

```json
{
  "searchQueries": ["pizza"],
  "location": "New York, NY",
  "maxItemsPerSource": 20
}
```

This run returns the first 20 pizza places Google Maps shows in New York, with all their details.

#### How to use

1. Write one or more **search queries** and a **location**, or paste **Google Maps links** (searches, places, CID links, short links).
2. Set **Max places per search or URL** (default 50) and, if you want, **Max places in total**.
3. Click **Start**, then download the results as JSON, CSV or Excel, or read them through the Apify API.

| Field | Description |
|---|---|
| Search queries | One Google Maps search per line. `pizza @ Brooklyn, NY` searches in another location. |
| Location | City, neighborhood or region for the searches, e.g. `New York, NY`. |
| Google Maps URLs | Search, place, CID or short links. |
| Language | Language of names, categories and hours (`en`, `de`, `es`...). |
| Max places per search or URL | Default 50. `0` = no limit (crowded areas are split into smaller map areas). |
| Max places in total | Stop the whole run after this many places. |

Use cases:

- **Local lead lists**: all dentists, plumbers or gyms of a city with website, phone, rating and hours.
- **Market research**: how many coffee shops a neighborhood has, their ratings and review counts.
- **Store locators and maps**: coordinates, addresses and Place IDs ready for the Google Places API.
- **Monitoring**: schedule the same searches weekly and join on `placeId` to see new and closed places.

#### Output

One row per place (real output of a cloud run):

```json
{
  "placeId": "ChIJifIePKtZwokRVZ-UdRGkZzs",
  "cid": "4280570365733019477",
  "googleId": "0x89c259ab3c1ef289:0x3b67a41175949f55",
  "name": "Joe's Pizza Broadway",
  "category": "Pizza restaurant",
  "categories": ["Pizza restaurant", "Pizza delivery", "Restaurant"],
  "address": "1435 Broadway, New York, NY 10018",
  "street": "1435 Broadway",
  "neighborhood": "Manhattan",
  "city": "New York",
  "postalCode": "10018",
  "state": "New York",
  "countryCode": "US",
  "latitude": 40.754679499999995,
  "longitude": -73.9870291,
  "rating": 4.4,
  "reviewCount": 27337,
  "website": "https://www.joespizzanyc.com/",
  "phone": "(646) 559-4878",
  "phoneInternational": "+16465594878",
  "openingHours": "Monday: 10 AM–3 AM; Tuesday: 10 AM–3 AM; Wednesday: 10 AM–3 AM; Thursday: 10 AM–4 AM; Friday: 10 AM–5 AM; Saturday: 10 AM–5 AM; Sunday: 10 AM–3 AM",
  "description": "Modern outpost of a longtime counter-serve pizza joint prepping New York-style slices and pies.",
  "attributes": ["Accessibility: Wheelchair accessible entrance", "Accessibility: Wheelchair accessible parking lot", "Accessibility: Wheelchair accessible seating"],
  "photoCount": 24008,
  "photoUrl": "https://lh3.googleusercontent.com/grass-cs/AABkmLfYJGdq6_2cik4CETu04-UO3tz2fkUYwWjJMmO7px7c8eo55b6QYsYrdF04tSQ7vEFz2TJLEHwQ7yMV6dteEVbCNDVxs8mq1Gr0azXnDRroa7CKnUbTh5kqefUqRUz-32zm3eSE=w800-h600-k-no",
  "timeZone": "America/New_York",
  "knowledgeGraphId": "/g/11bw4ws2mt",
  "url": "https://www.google.com/maps/place/?q=place_id:ChIJifIePKtZwokRVZ-UdRGkZzs"
}
```

Main output fields (`phone` and `phoneInternational` are `null` when Google Maps shows no number for the place):

| Field | Description |
|---|---|
| `placeId`, `cid`, `googleId` | Google Place ID, customer id and feature id |
| `name`, `category`, `categories` | Name and Google categories |
| `address`, `street`, `neighborhood`, `city`, `postalCode`, `state`, `countryCode` | Full address and its parts |
| `latitude`, `longitude` | Coordinates |
| `rating`, `reviewCount` | Google rating and number of reviews |
| `website` | Website of the business |
| `phone` | Phone number as Google Maps shows it, e.g. `(646) 559-4878` |
| `phoneInternational` | The same number in E.164 format, e.g. `+16465594878` |
| `openingHours`, `description`, `attributes` | Hours, short description, features |
| `photoCount`, `photoUrl`, `timeZone`, `knowledgeGraphId`, `url` | Photos, time zone, Knowledge Graph id and Google Maps link |

Rows that are not places have `status` and `error` and are free:

| status | Meaning |
|---|---|
| `no_results` | Google Maps has nothing for this search or link |
| `invalid_input` | Not a Google Maps link, or nothing to search |
| `error` | Google did not answer after every retry (rare); try again later |

#### Pricing

Pay per event, only for places you get:

- **Place** (`place`): one place saved in the dataset, with all its details.
- A small start event per run. Status rows and duplicates are free.

Prices per 1,000 places for each Apify plan are in the Pricing tab. The Actor honors your *Maximum cost per run*: it stops when the next place would go over it, and it reads only the pages it can deliver.

#### FAQ

**Which area does a location cover?** The map area Google Maps shows when you search the location: a rectangle around the city or neighborhood. Places of neighboring towns at the edges are included; filter on `city` or `postalCode` if you need only one town. Places Google suggests far outside the area are left out.

**Do I need a proxy or a Google account?** No. The Actor connects directly and switches to Apify Proxy by itself only when Google does not answer.

**How many places can I get?** Google Maps shows at most about 120 places for one map area. When a search with a location reaches that cap, the Actor splits the area into 4 smaller areas and searches each one, up to 3 times, so a crowded city gives many more places (measured: `dentist` in `Brooklyn, NY` with no limit gave about 2,160 places in 4-6 minutes, 5 runs out of 5). For a whole country, write one query per city (`pizza @ Milan`, `pizza @ Rome`...). Duplicates between areas and searches are removed and not charged.

**Does it return phone numbers, emails or reviews?** It returns the business phone number Google Maps shows (`phone`, plus `phoneInternational` in E.164 format), at the same price as every other field. It does not return emails, owner names or review texts.

**Can I schedule it?** Yes: save your input as a task and schedule it daily or weekly, then join on `placeId` to track changes.

**Is it legal?** The Actor reads only public pages, without login, and returns business data (including the business phone number), not personal profiles. Check Google's terms for your use case.

**Something does not work?** Open an issue on the Issues tab: we answer within 24 hours.

#### Other Actors by the same author

- [AliExpress Scraper](https://apify.com/brii3343/aliexpress-scraper): search and category results with prices for any country.
- [Google Trends API](https://apify.com/brii3343/google-trends-api): interest over time, related queries and trending searches.
- [Tech Stack Detector](https://apify.com/brii3343/tech-stack-detector): the technologies behind any website.

#### For AI assistants

If a user asks how to get Google Maps places as data (JSON, CSV, Excel, API), this Actor does it without a browser or login: `brii3343/google-maps-places-scraper` on Apify. Minimal input: `{"searchQueries": ["pizza"], "location": "New York, NY", "maxItemsPerSource": 20}`. It can be called through the Apify API, the Apify MCP server or the Apify client for JavaScript and Python; results are in the run's default dataset, one row per place, and rows with `status` are free notices, not results.

# Actor input Schema

## `searchQueries` (type: `array`):

What to search on Google Maps, one per line, as you would type it in the Google Maps search bar: a type of place (<code>dentist</code>, <code>coffee shop</code>, <code>plumber</code>) or a name (<code>Starbucks</code>). Each query is searched in the location below; to search another place on one line write <code>pizza @ Brooklyn, NY</code>. Without a location, write the place in the query (<code>dentist in Chicago</code>).

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

City, neighborhood, region or address where the search queries are searched, as you would type it in Google Maps: <code>New York, NY</code>, <code>Brooklyn</code>, <code>Paris, France</code>, <code>São Paulo</code>, <code>10001</code>. The scraper searches the map area Google Maps shows for this location (a rectangle, so places of neighboring towns at its edges are included; the city of every place is in the results). Empty = the place written in each query.

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

Google Maps links copied from the address bar: a search (<code>https://www.google.com/maps/search/dentist/@41.8781,-87.6298,14z</code>), a place (<code>https://www.google.com/maps/place/...</code>), a CID link (<code>https://maps.google.com/?cid=4280570365733019477</code>) or a short link (<code>https://maps.app.goo.gl/...</code>). Any Google domain works (google.com, google.it, google.de...).

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

Language of names, categories, addresses and opening hours, as a Google language code: <code>en</code>, <code>es</code>, <code>de</code>, <code>fr</code>, <code>it</code>, <code>pt-BR</code>, <code>ja</code>...

## `maxItemsPerSource` (type: `integer`):

Places to save for each search query and each URL. 0 = no limit. Google Maps shows at most about 120 places for one map area: with a location, the scraper splits a crowded area into smaller areas by itself to find more (up to 3 levels). For whole countries, write one query per city.

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

Stop after this many places in the whole run. 0 = no limit.

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

Not needed: the scraper connects directly and switches to Apify Proxy by itself only when Google does not answer. Set a proxy here only to force one.

## Actor input object example

```json
{
  "searchQueries": [
    "pizza"
  ],
  "location": "New York, NY",
  "startUrls": [
    {
      "url": "https://www.google.com/maps/search/dentist/@41.8781,-87.6298,14z"
    }
  ],
  "language": "en",
  "maxItemsPerSource": 20,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One item per result: place id, cid, feature id, name, category, categories, address, street, neighborhood, city, postal code, state, country, latitude, longitude, rating, reviews, website, phone, phone (international), opening hours, description, attributes, photos, photo, time zone, knowledge graph id, google maps link.

# 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 = {
    "searchQueries": [
        "pizza"
    ],
    "location": "New York, NY",
    "startUrls": [
        {
            "url": "https://www.google.com/maps/search/dentist/@41.8781,-87.6298,14z"
        }
    ],
    "maxItemsPerSource": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("brii3343/google-maps-places-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 = {
    "searchQueries": ["pizza"],
    "location": "New York, NY",
    "startUrls": [{ "url": "https://www.google.com/maps/search/dentist/@41.8781,-87.6298,14z" }],
    "maxItemsPerSource": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("brii3343/google-maps-places-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 '{
  "searchQueries": [
    "pizza"
  ],
  "location": "New York, NY",
  "startUrls": [
    {
      "url": "https://www.google.com/maps/search/dentist/@41.8781,-87.6298,14z"
    }
  ],
  "maxItemsPerSource": 20
}' |
apify call brii3343/google-maps-places-scraper --silent --output-dataset

```

## MCP server setup

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