# 📍 Google Maps Places Scraper \[From 💰$0.55/1K] (`misterkhan/google-maps-scraper`) Actor

\[From $0.55/1K] Extract Google Maps places by search query — name, address, phone, website, category, rating, review count, and lat/lng. Export JSON, CSV, or Excel.

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

## Pricing

from $0.55 / 1,000 results

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 \[From 💰$0.55/1K]

**Extract local business leads from Google Maps by search query — business name, full address, phone, website, category, star rating, review count, Maps URL, and lat/lng coordinates. Optional place-panel details, website contacts, tech-stack detection, and RAG-ready homepage Markdown are available as Pay-Per-Event add-ons. Zero proxy configuration required.**

Built for **sales prospectors, agencies, SEO local teams, and lead-generation platforms** who need structured Google Maps place data without managing browsers or proxies.

***

### ✨ Key Features

| Feature | Why It Matters |
| :--- | :--- |
| **🔍 Multi-Query Search** | Pass one or many queries (`coffee Austin TX`, `dentist Brooklyn`) plus an optional `location` suffix. |
| **📞 Place Details Panels** | Toggle `enrich` / `scrapePlaceDetails` to open place panels for phone and website (`place-details` add-on). |
| **📧 Website Contacts** | Optional `scrapeContacts` crawls the business website for emails, phones, and social links. |
| **🧩 Tech Stack Scan** | Optional `scrapeTechStack` detects CMS, analytics, and frameworks on the place website. |
| **📄 RAG Markdown** | Optional `scrapeRagMarkdown` returns clean homepage Markdown for LLM / RAG pipelines. |
| **🧭 Geo Bias** | Optional `lat` / `lng` / `radiusMeters` plus `countryCode` (`gl`) and `language` (`hl`) for market targeting. |
| **🛡️ Built-In Anti-Blocking** | Residential proxy rotation and warm-browser challenge handling are included automatically. |
| **📊 Automation Ready** | Export **JSON, CSV, Excel, Google Sheets**, or pipe into Clay, Make, n8n, and Zapier. |

***

### 🧭 How to Use (Step-by-Step Console Guide)

1. **Open the Actor in Apify Console:** Click **Try for free** to open the visual input form.
2. **Enter Search Queries:** Add one or more Google Maps search strings in **Search Queries** (`queries`). Prefer including the city or area in the text.
3. **Configure Targeting (Optional):** Set **Location**, **Country Bias**, **Language**, and optional `lat` / `lng` / `radiusMeters`.
4. **Choose Enrichment & Limit:** Keep **Place Details** on if you need phone/website. Optionally enable **Website Contacts**, **Tech Stack**, or **RAG Markdown**. Set **Max Places** (`maxItems`).
5. **Run & Export:** Click **Start**, watch places appear in the **Output** table, and download **CSV, Excel, or JSON**.

***

### ⚙️ Input Parameters & Sample Input JSON

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `queries` | `array` | `["coffee shops Austin TX"]` | Google Maps search strings (business type + location). |
| `searchQueries` | `array` | `[]` | Alias for `queries`. |
| `location` | `string` | prefill `"Austin TX"` | City/area appended when missing from each query. |
| `language` | `string` | `"en"` | Maps UI language (`hl`). |
| `countryCode` | `string` | `"us"` | Country bias (`gl`). |
| `lat` / `lng` | `number` | — | Optional viewport center for geo-biased search. |
| `radiusMeters` | `number` | — | Optional radius used for zoom bias when lat/lng are set. |
| `enrich` / `scrapePlaceDetails` | `boolean` | `true` | Place panel phone/website harvest. Bills `place-details`. |
| `scrapeContacts` | `boolean` | `false` | Website emails/phones/socials. Bills `website-contacts` on success. |
| `scrapeTechStack` | `boolean` | `false` | Website tech detection. Bills `tech-stack` on success. |
| `scrapeRagMarkdown` | `boolean` | `false` | Homepage clean Markdown for RAG. Bills `rag-markdown` on success. |
| `maxItems` | `integer` | `40` | Max unique places. Free plan runs are capped at 40 items per run; paid Apify plans support unlimited extraction. |

#### Example input

```json
{
  "queries": ["coffee shops", "bakeries"],
  "location": "Austin TX",
  "countryCode": "us",
  "language": "en",
  "enrich": true,
  "scrapeContacts": false,
  "scrapeTechStack": false,
  "scrapeRagMarkdown": false,
  "maxItems": 40
}
```

***

### 📦 Output Schema & Sample Output JSON

Each dataset item is one Google Maps place with stable identity fields and outreach contacts:

```json
{
  "id": "ChIJabcdefghijklmnop",
  "placeId": "ChIJabcdefghijklmnop",
  "cid": null,
  "name": "Franklin Barbecue",
  "address": "900 E 11th St, Austin, TX 78702",
  "phone": "+1 512-653-1187",
  "website": "https://franklinbarbecue.com",
  "category": "Barbecue restaurant",
  "rating": 4.7,
  "reviewCount": 12000,
  "mapsUrl": "https://www.google.com/maps/place/Franklin+Barbecue/@30.2701,-97.7312,17z",
  "url": "https://www.google.com/maps/place/Franklin+Barbecue/@30.2701,-97.7312,17z",
  "latitude": 30.2701,
  "longitude": -97.7312,
  "sourceQuery": "coffee shops Austin TX",
  "scrapedAt": "2026-10-17T00:00:00Z",
  "placeDetailsScraped": true,
  "emails": ["hello@franklinbarbecue.com"],
  "phones": ["+1 512-653-1187"],
  "socials": { "instagram": ["https://www.instagram.com/franklinbbq/"] },
  "websiteContactsEnriched": true,
  "technologies": [{ "name": "Google Analytics", "categories": ["Analytics"] }],
  "techStackScanned": false,
  "pageMarkdown": null,
  "ragMarkdownScraped": false
}
```

***

### 💰 Transparent Pay-Per-Event (PPE) Pricing

**`$0.00` Actor start fee — you only pay for results and add-ons that actually succeed.**

Runs in a lightweight **`128 MB`** native Rust container (platform CU near `$0.0001` / run). Website add-ons are **off by default** and charged only when their success flag is set on the place row.

| Apify Plan | Place (`apify-default-dataset-item`) | Place details (`place-details`) | Website contacts (`website-contacts`) | Tech stack (`tech-stack`) | RAG markdown (`rag-markdown`) |
| :--- | :--- | :--- | :--- | :--- | :--- |
| **Free** *(40 places/run)* | `$5.00 / 1K` | `+$5.00 / 1K` | `+$5.00 / 1K` | `+$10.00 / 1K` | `+$5.00 / 1K` |
| **Starter (`Bronze`)** | `$1.20 / 1K` | `+$1.40 / 1K` | `+$1.40 / 1K` | `+$2.00 / 1K` | `+$1.10 / 1K` |
| **Scale (`Silver`)** | `$0.85 / 1K` | `+$1.00 / 1K` | `+$0.95 / 1K` | `+$1.50 / 1K` | `+$0.80 / 1K` |
| **Business+ (`Gold` / `Platinum` / `Diamond`)** | **`$0.55 / 1K`** | **`+$0.70 / 1K`** | **`+$0.60 / 1K`** | **`+$1.20 / 1K`** | **`+$0.50 / 1K`** |

- **`place-details`**: charged when `enrich` / `scrapePlaceDetails` is enabled (`placeDetailsScraped`).
- **`website-contacts`**: charged only when `scrapeContacts` succeeds (`websiteContactsEnriched`).
- **`tech-stack`**: charged only when `scrapeTechStack` succeeds (`techStackScanned`).
- **`rag-markdown`**: charged only when `scrapeRagMarkdown` succeeds (`ragMarkdownScraped`).

***

### 🔌 API Integration Examples (`Python`, `Node.js`, `cURL`)

#### Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run_input = {
    "queries": ["coffee shops Austin TX"],
    "countryCode": "us",
    "language": "en",
    "enrich": True,
    "maxItems": 40,
}

run = client.actor("misterkhan/google-maps-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item.get('name')} ★{item.get('rating')} -> {item.get('phone') or item.get('website')}")
```

#### Node.js (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_API_TOKEN' });

const run = await client.actor('misterkhan/google-maps-scraper').call({
    queries: ['coffee shops Austin TX'],
    countryCode: 'us',
    enrich: true,
    maxItems: 40,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted ${items.length} places:`, items[0]);
```

#### cURL

```bash
curl -X POST "https://api.apify.com/v2/acts/misterkhan~google-maps-scraper/runs?token=YOUR_APIFY_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "queries": ["coffee shops Austin TX"],
    "countryCode": "us",
    "enrich": true,
    "maxItems": 40
  }'
```

***

### ❓ Frequently Asked Questions (FAQ)

#### Do I need to configure proxies or a Google account?

**No.** Residential proxy rotation and anti-blocking are included automatically. No Google login or cookies are required for place search extraction.

#### How do I get the best phone and website coverage?

Keep `enrich` set to `true`. The Actor opens place panels to harvest phone and website when those fields are missing from the search feed.

#### Can I target a specific city or country?

Yes. Include the city in each query, set the optional `location` suffix, and use `countryCode` / `language` (plus optional `lat` / `lng` / `radiusMeters`) for geo bias.

#### Is scraping Google Maps legal?

This Actor extracts publicly visible business listing fields for research and lead-generation workflows. For general context on web scraping compliance, read [Apify's guide on the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

***

### 🔗 Related Actors from Our Store

Combine this Actor with our other **`128 MB` Pay-Per-Event (PPE)** tools in the same workflow (`$0.00` start fee):

| Related Actor | Best For | Starting Price |
| :--- | :--- | :--- |
| **[📢 Facebook Ads Library Scraper](https://apify.com/misterkhan/facebook-ads-library-scraper)** | Meta Ad Library spy — HD video MP4s, ad copy, landing pages, UTMs & days active | **From 💰`$0.45 / 1K`** |
| **[📧 Website Contact & Email Scraper](https://apify.com/misterkhan/contact-enricher-scraper)** | Extract business emails, phone numbers & social links from any website domain | **From 💰`$0.60 / 1K`** |
| **[🧩 Website Tech Stack Scanner](https://apify.com/misterkhan/website-tech-stack-scanner)** | Detect 7,000+ technologies, CMS, analytics, ad pixels & e-commerce platforms | **From 💰`$0.50 / 1K`** |
| **[📄 Website to Clean Text & Markdown](https://apify.com/misterkhan/ai-markdown-crawler)** | Convert any web page into clean Markdown for LLMs, RAG pipelines & AI agents | **From 💰`$0.50 / 1K`** |
| **[📸 Instagram Profile Status Checker](https://apify.com/misterkhan/instagram-profile-status-checker)** | Bulk check Instagram handles for active vs. banned status, followers & bio links | **From 💰`$0.35 / 1K`** |

👉 **[See all Actors by `misterkhan` on Apify Store →](https://apify.com/misterkhan)**

***

### 💬 Support & 🧑‍⚖️ Legal Disclaimer

- **Support & Feature Requests:** Have a question, custom workflow need, or issue? Open a ticket in the **Issues** tab on this Actor's Apify Store page and we will respond promptly.
- **Disclaimer:** This Actor is an independent data extraction tool and is not affiliated with, endorsed by, or sponsored by Google LLC or Alphabet Inc.

# Actor input Schema

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

One or more Google Maps search queries (e.g., \["coffee shops Austin TX", "dentist Brooklyn", "HVAC contractors Miami"]). Prefer including the city/area in the query text.

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

Alias for `queries`. Same format — business type + location keywords.

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

City or area appended to each query when not already present (e.g., "Austin TX", "Berlin", "Dubai Marina").

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

Google Maps UI language code (e.g., en, de, fr, es, pt, ja).

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

Two-letter ISO country code for Maps geo bias (e.g., us, gb, de, au, ca, ae, in, br).

## `lat` (type: `number`):

Optional map center latitude for viewport-biased search (e.g., 30.2672 for Austin).

## `lng` (type: `number`):

Optional map center longitude for viewport-biased search (e.g., -97.7431 for Austin).

## `radiusMeters` (type: `number`):

Optional search radius in meters used to pick Maps zoom level when lat/lng are set (e.g., 2000).

## `enrich` (type: `boolean`):

Open place panels to harvest phone and website when missing from the feed. Bills the `place-details` PPE add-on per place when enabled. Alias: `scrapePlaceDetails`.

## `scrapePlaceDetails` (type: `boolean`):

Alias for `enrich`. When true, bills the `place-details` PPE add-on.

## `scrapeContacts` (type: `boolean`):

When a place has a website, crawl the homepage and contact pages for emails, phones, and social profile links. Bills `website-contacts` only on success. Off by default.

## `scrapeTechStack` (type: `boolean`):

When a place has a website, detect CMS, analytics, pixels, and frameworks. Bills `tech-stack` only on success. Off by default.

## `scrapeRagMarkdown` (type: `boolean`):

When a place has a website, convert the homepage into clean, token-efficient Markdown for RAG/LLM use (capped length). Bills `rag-markdown` only on success. Off by default.

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

Maximum number of unique places to extract across all queries. Free plan runs are capped at 40 items per run; paid Apify plans support unlimited extraction.

## Actor input object example

```json
{
  "queries": [
    "coffee shops Austin TX"
  ],
  "location": "Austin TX",
  "language": "en",
  "countryCode": "us",
  "enrich": true,
  "scrapeContacts": false,
  "scrapeTechStack": false,
  "scrapeRagMarkdown": false,
  "maxItems": 40
}
```

# Actor output Schema

## `overview` (type: `string`):

Structured table of extracted Google Maps places with name, rating, phone, website, and address.

## `dataset_items` (type: `string`):

Complete dataset including place IDs, coordinates, category, review counts, and Maps URLs.

## `usage_summary` (type: `string`):

Execution telemetry and extraction summary stored in the default key-value store.

# 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 = {
    "queries": [
        "coffee shops Austin TX"
    ],
    "location": "Austin TX",
    "language": "en",
    "countryCode": "us",
    "enrich": true,
    "scrapeContacts": false,
    "scrapeTechStack": false,
    "scrapeRagMarkdown": false,
    "maxItems": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("misterkhan/google-maps-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 = {
    "queries": ["coffee shops Austin TX"],
    "location": "Austin TX",
    "language": "en",
    "countryCode": "us",
    "enrich": True,
    "scrapeContacts": False,
    "scrapeTechStack": False,
    "scrapeRagMarkdown": False,
    "maxItems": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("misterkhan/google-maps-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 '{
  "queries": [
    "coffee shops Austin TX"
  ],
  "location": "Austin TX",
  "language": "en",
  "countryCode": "us",
  "enrich": true,
  "scrapeContacts": false,
  "scrapeTechStack": false,
  "scrapeRagMarkdown": false,
  "maxItems": 40
}' |
apify call misterkhan/google-maps-scraper --silent --output-dataset

```

## MCP server setup

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