# Google Maps Search Scraper (`gio21/google-maps-search-scraper`) Actor

Search Google Maps by keyword and location and get structured place results: name, address, phone, category, rating, reviews, coordinates, hours, price level, website.

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

## Pricing

$2.00 / 1,000 place scrapeds

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?

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 Search Scraper

Search **Google Maps** by keyword and location and get structured place results — no login, no API key. Returns name, category, address, phone, rating, review count, coordinates, opening hours, price level, website, claimed status, and key attributes (Wi-Fi, outdoor seating, wheelchair access, etc).

### Input

| Field | Type | Description |
|-------|------|-------------|
| `query` | string | Search phrase including location, e.g. `plumbers in Chicago` |
| `queries` | array | Optional: several search phrases at once |
| `maxItems` | integer | Max places to return across all queries (paginates automatically, max 200) |

Example:

```json
{
    "query": "coffee shops in New York",
    "maxItems": 40
}
```

### Output

```json
{
    "query": "coffee shops in New York",
    "rank": 1,
    "title": "Coffee Project New York | East Village",
    "category": "Coffee shop",
    "categories": ["Coffee shop", "Breakfast restaurant", "Cafe"],
    "address": "239 E 5th St, New York, NY 10003",
    "phone": "+12122287888",
    "website": "https://coffeeprojectny.com/",
    "domain": "coffeeprojectny.com",
    "rating": 4.6,
    "reviewsCount": 826,
    "priceLevel": "$1–10",
    "latitude": 40.7270884,
    "longitude": -73.9893819,
    "workStatus": "Closed · Opens 8 AM",
    "openHours": {"Monday": "7:30 AM–3 PM"},
    "claimed": true,
    "attributes": ["Wi-Fi", "Outdoor seating", "Takeout"],
    "placeId": "0x89c2599b5a24d7fd:0x9e354f6cf514b9fc",
    "mapLink": "https://www.google.com/maps/place/data=...",
    "image": "https://lh3.googleusercontent.com/...",
    "summary": "Hip nook for innovative coffee drinks",
    "scrapedAt": "2026-08-30T00:00:00.000Z"
}
```

### Common uses

- Local lead generation (find businesses by category and city, with phone/website)
- Local SEO and competitor research (ratings, review counts, categories)
- Building business directories and market maps
- Feeding place names/addresses into other tools for enrichment

### Notes

Works for any business category and location combination Google Maps supports (restaurants, dentists, plumbers, gyms, real estate agents, etc). Results are ranked as Google Maps returns them for that query.

# Actor input Schema

## `query` (type: `string`):

What to search on Google Maps, including the location, e.g. "coffee shops in New York" or "plumbers in Chicago".

## `queries` (type: `array`):

Optional: several search queries at once (e.g. the same business type across different cities). Results are split across them.

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

Maximum total number of places to return across all queries (paginates automatically).

## Actor input object example

```json
{
  "query": "coffee shops in New York",
  "maxItems": 20
}
```

# Actor output Schema

## `results` (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 = {
    "query": "coffee shops in New York",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("gio21/google-maps-search-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 = {
    "query": "coffee shops in New York",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("gio21/google-maps-search-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 '{
  "query": "coffee shops in New York",
  "maxItems": 20
}' |
apify call gio21/google-maps-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gio21/google-maps-search-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/8VcZJlJSgyzabjqHL/builds/wUMOBGwH7aGzyp6TF/openapi.json
