# Google Maps Scraper – places, phone, website, coords – $3.9/1k (`henrycrawl/google-maps-places`) Actor

Scrape Google Maps search results: name, category, rating, address, phone, website, opening status, coordinates, place ID and CID. No login. Works with AI agents via Apify MCP. Pay only per place; error rows are free.

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

## Pricing

$3.90 / 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/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

Turn any Google Maps search ("dentists in Chicago", "coffee shops in Austin, TX") into a clean table of businesses with name, category, rating, address, phone, website, coordinates, Google place ID and CID. No login, no API key, pay only per place delivered.

### What you get

| Field | Example | Notes |
|---|---|---|
| `query`, `rank` | `dentists in Chicago`, `1` | Position in the Google Maps result list |
| `name` | `Downtown Dental - Loop` | |
| `category` | `Dental clinic` | Main Google category |
| `rating` | `4.7` | Average star rating |
| `address` | `25 E Washington St Ste 1921, Chicago, IL 60602` | Short address from the list; full address with details on |
| `phone` | `(512) 852-2300` | Business phone (details on) |
| `website` | `https://www.downtown-dental.com/...` | |
| `openStatus` | `Closed · Opens 8 AM Mon` | As shown in the list |
| `hoursToday` | `Sunday: 8:30 AM to 3 PM` | Details on |
| `priceLevel` | `$$` | When Google shows it |
| `description` | `Coffee & snacks in a vibrant space` | Short Google blurb |
| `latitude`, `longitude` | `41.883029`, `-87.6267138` | |
| `placeId` | `ChIJTZHMAqUsDogRT23QNnloow4` | Works with the Google Places API |
| `cid`, `featureId` | `1054801607554788687` | `https://maps.google.com/?cid=<cid>` opens the place |
| `plusCode` | `V9CH+2H Paris, France` | Details on |
| `url` | Google Maps link | |

Error rows (`type: "error"`, e.g. `NO_RESULTS`, `BLOCKED`) are free.

### Example output (real run)

```json
{
  "query": "dentists in Chicago",
  "rank": 1,
  "name": "Downtown Dental - Loop",
  "category": "Dental clinic",
  "rating": 4.7,
  "address": "25 E Washington St Ste 1921, Chicago, IL 60602",
  "openStatus": "Closed · Opens 8 AM Mon",
  "website": "https://www.downtown-dental.com/locations/loop/",
  "latitude": 41.883029,
  "longitude": -87.6267138,
  "cid": "1054801607554788687",
  "featureId": "0x880e2ca502cc914d:0xea3687936d06d4f",
  "placeId": "ChIJTZHMAqUsDogRT23QNnloow4",
  "url": "https://www.google.com/maps/place/Downtown+Dental+-+Loop/data=!4m7!3m6!1s0x880e2ca502cc914d:0xea3687936d06d4f!8m2!3d41.883029!4d-87.6267138",
  "type": "result",
  "status": "OK"
}
```

```json
{
  "query": "hotels in Paris",
  "rank": 10,
  "name": "The People Belleville",
  "rating": 4.3,
  "address": "59 Bd de Belleville, 75011 Paris, France",
  "website": "https://www.thepeoplehostel.com/en/destinations/paris-belleville/",
  "latitude": 48.8700202,
  "longitude": 2.3789075,
  "placeId": "ChIJN-IT-uVt5kcRh_fLylVf-LY",
  "phone": "+33 1 43 55 09 97",
  "plusCode": "V9CH+2H Paris, France",
  "type": "result",
  "status": "OK"
}
```

### Input

```json
{
  "searchQueries": ["dentists in Chicago", "pizza in Brooklyn"],
  "maxPlacesPerQuery": 50,
  "scrapeDetails": true,
  "language": "en",
  "maxResults": 100
}
```

- `searchQueries` – what you would type into Google Maps.
- `location` – optional, appended as "`<query> in <location>`".
- `maxPlacesPerQuery` – Google Maps lists up to about 120 places per search.
- `scrapeDetails` – opens each place to add phone, full address, plus code and today's hours (slower).
- `maxResults` – hard cap for the whole run.

### Pricing

**$3.90 per 1,000 places** (pay-per-event, $0.0039 per place). Details mode costs the same. Error rows are never charged. You can set a maximum cost per run in Apify; the actor stops cleanly at that limit.

### Limits (honest)

Google Maps shows a "limited view" to visitors who are not signed in: no reviews tab, no review counts and only today's opening hours. This actor never logs in, so **it does not return reviews or review counts**. If Google answers with a captcha page, the run returns a free `BLOCKED` row and stops; captchas are never solved.

### Use with AI agents (MCP)

Add this actor as a tool for Claude, Cursor or any MCP client:

```
https://mcp.apify.com/?tools=henrycrawl/google-maps-places
```

Then ask, for example: "Find 30 vegan restaurants in Berlin with phone numbers and websites."

### Use via API

```bash
curl -X POST "https://api.apify.com/v2/acts/henrycrawl~google-maps-places/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["coffee shops in Austin, TX"], "maxPlacesPerQuery": 20}'
```

# Actor input Schema

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

What you would type into Google Maps, e.g. "dentists in Chicago" or "coffee shops in Austin, TX".

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

Appended to every query as "<query> in <location>" when the query does not already contain it.

## `maxPlacesPerQuery` (type: `integer`):

How many places to take from each search (Google Maps usually lists up to ~120 per search).

## `scrapeDetails` (type: `boolean`):

Open each place page to add phone, full address, plus code and today's opening hours. Slower (~2-3 s per place).

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

Google interface language code (en, de, fr, es, vi...).

## `proxyCountry` (type: `string`):

Two-letter country code for the Apify Proxy exit (e.g. US). Leave empty for automatic.

## `maxResults` (type: `integer`):

Maximum number of places for the whole run (you are only charged for delivered places).

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

Add raw card text to each row (for troubleshooting).

## Actor input object example

```json
{
  "searchQueries": [
    "coffee shops in Austin, TX"
  ],
  "maxPlacesPerQuery": 20,
  "scrapeDetails": false,
  "language": "en",
  "maxResults": 20,
  "debug": false
}
```

# Actor output Schema

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

One row per result, plus free error rows (type = error).

## `summary` (type: `string`):

Counts for this run (SUMMARY record).

# 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": [
        "coffee shops in Austin, TX"
    ],
    "maxPlacesPerQuery": 20,
    "language": "en",
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("henrycrawl/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 = {
    "searchQueries": ["coffee shops in Austin, TX"],
    "maxPlacesPerQuery": 20,
    "language": "en",
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("henrycrawl/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 '{
  "searchQueries": [
    "coffee shops in Austin, TX"
  ],
  "maxPlacesPerQuery": 20,
  "language": "en",
  "maxResults": 20
}' |
apify call henrycrawl/google-maps-places --silent --output-dataset

```

## MCP server setup

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