# Google Maps Scraper (`trakk/google-maps-business-intelligence`) Actor

Fast HTTP-only Google Maps scraper for places, reviews, photos, phones, emails, websites, social profiles, opening hours and lead data. Export clean business contacts at scale with no browser runtime.

- **URL**: https://apify.com/trakk/google-maps-business-intelligence.md
- **Developed by:** [Blynx](https://apify.com/trakk) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.70 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Business Intelligence Scraper

Fast Apify actor for Google Maps places, details, contacts, reviews, photos and lead intelligence. It runs on HTTP requests only: no Playwright, no Puppeteer and no browser runtime.

### What It Extracts

- Place identity: `title`, `subTitle`, `categoryName`, `categories`, `placeId`, `dataId`, `featureId`, `cid`, `kgmid`, `googleMapsUrl`, `sourceUrl`.
- Location: `address`, `addressLines`, `street`, `city`, `state`, `postalCode`, `neighborhood`, `locatedIn`, `countryCode`, `coordinates`, `latitude`, `longitude`, `plusCode`, `compoundPlusCode`, `timeZone`, `language`.
- Business data: `rating`, `reviewsCount`, `website`, `domain`, `phone`, `phoneUnformatted`, `phones`, `primaryPhone`, `primaryPhoneUnformatted`, `priceLevel`, `openingHours`, `description`, `businessDescription`, `additionalInfo`, `highlights`, `reservationLinks`, `localPosts`, owner fields and claim status.
- Media: `images`, `photoUrls`, `imageUrl`, and flat Apify image columns `photo1Url` through `photo5Url`.
- Website contacts: `contacts.emails`, `contacts.phones`, `contacts.uncertainPhones`, `contacts.socialProfiles`, `contacts.crawledUrls`, `contacts.websiteStatus`, `contacts.error`.
- Reviews: optional HTTP reviews endpoint adapter with nested place reviews or one dataset item per review.
- Lead intelligence: `leadScore`, `contactCompletenessScore`, and `dataQuality`.

### Output Shape Notes

- Emails are stored in `contacts.emails`.
- `contacts` always keeps a stable shape, even when a business has no website or no contacts.
- `phones` is a deduplicated top-level string array that combines the Google Maps phone and website phones.
- `description` can be `null` when Google does not provide a short editorial description. Check `businessDescription` for the longer owner/business description.
- `imageUrl` and `photo1Url` are configured as image columns in Apify dataset views. The `photos` view exposes `photo1Url` through `photo5Url`.
- `dataQuality` currently contains `hasWebsite`, `hasPhone`, `hasEmail`, `hasSocialProfiles`, `hasCoordinates`, `hasOpeningHours`, and `contactCompletenessScore`.

### Modes

- `FULL`: search Google Maps and enrich results. If direct seeds are also provided, it processes those too.
- `SEARCH`: search places by keyword and optional location.
- `DETAIL`: scrape direct Google Maps URLs, Place IDs, CIDs or data IDs.
- `REVIEWS`: scrape direct places and emit one dataset item per review.
- `CONTACTS`: enrich direct places with website contacts.

Direct seeds can be passed as `startUrls`, `placeIds`, `featureIds`, or via `datasetId`. Input datasets can contain `googleMapsUrl`, `url`, `sourceUrl`, `placeUrl`, `placeId`, `cid`, `dataId`, or `featureId`.

### Apify Quality-Test Prefill

Apify quality-test runs the actor with the prefilled input schema. The current prefill is intentionally small and cheap while still testing search, details, contacts, phones, emails and photos:

```json
{
  "mode": "FULL",
  "searchStringsArray": ["coffee shops"],
  "locationQuery": "New York, NY",
  "maxCrawledPlacesPerSearch": 1,
  "scrapePlaceDetailPage": true,
  "scrapeContacts": true,
  "maxContactPages": 1,
  "scrapeReviews": false,
  "maxReviews": 0,
  "outputMode": "PLACE_ITEMS",
  "maxImages": 5,
  "language": "en",
  "countryCode": "US",
  "maxConcurrency": 2,
  "maxRetries": 3,
  "maxProxyRetries": 3,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  },
  "rawOutput": false
}
````

### Scaled Search Example

```json
{
  "mode": "FULL",
  "searchStringsArray": ["dentists", "orthodontists"],
  "locationQuery": "Austin, TX",
  "maxCrawledPlacesPerSearch": 100,
  "scrapePlaceDetailPage": true,
  "scrapeContacts": true,
  "maxContactPages": 5,
  "scrapeReviews": false,
  "maxImages": 20,
  "maxConcurrency": 10,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### Reviews

Set `scrapeReviews: true` and `maxReviews` above `0`. For review-only exports, use `REVIEWS` mode:

```json
{
  "mode": "REVIEWS",
  "placeIds": ["ChIJvSQIgqFZwokRFYQbJdzceSs"],
  "maxReviews": 100,
  "reviewsSort": "newest",
  "outputMode": "REVIEW_ITEMS"
}
```

Review items include fields such as `placeTitle`, `placeId`, `dataId`, `reviewId`, `authorName`, `authorPhotoUrl`, `reviewerId`, `rating`, `publishedAt`, `text`, `likesCount`, owner response fields and review images when Google returns them.

Google can return an empty review payload for some sessions/IPs while still returning place data. The actor treats this as a soft failure, emits the place when using place output, and records warnings rather than failing the run.

### Filters And Controls

- `categoryFilterWords`: keep only places whose categories contain one of the provided words.
- `placeMinimumStars`: skip places below a minimum rating when rating is available.
- `website`: `allPlaces`, `withWebsite`, or `withoutWebsite`.
- `skipClosedPlaces`: skip permanently closed places when Google exposes that status.
- `rawOutput`: include raw Google nested arrays for debugging.

### Run Locally

```bash
pip install -r requirements.txt
apify run
## or
python -m src
```

### Notes

- Residential proxies are strongly recommended for scale.
- Contact extraction visits the business website homepage plus a small set of contact/about/team/legal pages, capped by `maxContactPages`.
- Email extraction filters obvious placeholder domains and static asset filenames such as `@2x.png`.
- Phone extraction removes common ZIP/year/partial-number false positives and deduplicates by normalized digits.
- Search pagination uses Google Maps' internal map endpoint and advances by 20-result offsets.

# Actor input Schema

## `mode` (type: `string`):

SEARCH/FULL: scrape search results by keywords. DETAIL: scrape direct Maps URLs/place IDs. REVIEWS: emit one review per item. CONTACTS: enrich direct places with website contacts.

## `searchStringsArray` (type: `array`):

Google Maps search terms, e.g. restaurants, dentists, plumbers, coffee shops.

## `locationQuery` (type: `string`):

Location appended to every search term, e.g. New York, London, Berlin, 90210.

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

Direct Google Maps place/search URLs. Used in DETAIL, REVIEWS and CONTACTS modes.

## `placeIds` (type: `array`):

Google Place IDs, e.g. ChIJvSQIgqFZwokRFYQbJdzceSs.

## `featureIds` (type: `array`):

Google Maps data IDs in the form 0x...:0x....

## `datasetId` (type: `string`):

Optional dataset containing googleMapsUrl, placeId, cid, dataId or featureId fields.

## `maxCrawledPlacesPerSearch` (type: `integer`):

Hard cap per search query. Google Maps returns about 20 places per HTTP page.

## `scrapePlaceDetailPage` (type: `boolean`):

Fetch each place detail endpoint for richer fields such as business description, posts, attributes and links.

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

Visit business websites and extract emails, phones and social media profiles.

## `maxContactPages` (type: `integer`):

Homepage plus contact/about/team/legal pages per business website.

## `scrapeReviews` (type: `boolean`):

Try to fetch Google Maps review payloads using the HTTP reviews endpoint.

## `maxReviews` (type: `integer`):

Maximum reviews to fetch for each place when scrapeReviews is enabled.

## `reviewsSort` (type: `string`):

Review order for the Google review endpoint.

## `outputMode` (type: `string`):

PLACE\_ITEMS emits one item per place with nested reviews. REVIEW\_ITEMS emits one item per review.

## `maxImages` (type: `integer`):

Maximum image URLs to keep per place.

## `categoryFilterWords` (type: `array`):

Keep only places whose categories contain at least one of these words.

## `placeMinimumStars` (type: `number`):

Skip places below this rating when rating is available.

## `website` (type: `string`):

Filter businesses by website presence.

## `skipClosedPlaces` (type: `boolean`):

Skip permanently closed places when Google exposes that status.

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

Google Maps UI/result language.

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

Google results country code, e.g. US, GB, DE, FR.

## `maxConcurrency` (type: `integer`):

How many place/detail/contact requests to run in parallel.

## `maxRetries` (type: `integer`):

Retry budget for HTTP 429/5xx and parse failures.

## `maxProxyRetries` (type: `integer`):

Dedicated retry budget for proxy / transport failures.

## `proxy` (type: `object`):

Apify proxy configuration. Residential proxies are recommended for Google Maps at scale.

## `rawOutput` (type: `boolean`):

Attach raw Google Maps nested arrays for debugging.

## Actor input object example

```json
{
  "mode": "FULL",
  "searchStringsArray": [
    "coffee shops"
  ],
  "locationQuery": "New York, NY",
  "placeIds": [],
  "featureIds": [],
  "maxCrawledPlacesPerSearch": 1,
  "scrapePlaceDetailPage": true,
  "scrapeContacts": true,
  "maxContactPages": 1,
  "scrapeReviews": false,
  "maxReviews": 0,
  "reviewsSort": "relevant",
  "outputMode": "PLACE_ITEMS",
  "maxImages": 5,
  "categoryFilterWords": [],
  "placeMinimumStars": 0,
  "website": "allPlaces",
  "skipClosedPlaces": false,
  "language": "en",
  "countryCode": "US",
  "maxConcurrency": 2,
  "maxRetries": 3,
  "maxProxyRetries": 3,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "rawOutput": false
}
```

# 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 = {
    "mode": "FULL",
    "searchStringsArray": [
        "coffee shops"
    ],
    "locationQuery": "New York, NY",
    "maxCrawledPlacesPerSearch": 1,
    "scrapePlaceDetailPage": true,
    "scrapeContacts": true,
    "maxContactPages": 1,
    "scrapeReviews": false,
    "maxReviews": 0,
    "outputMode": "PLACE_ITEMS",
    "maxImages": 5,
    "language": "en",
    "countryCode": "US",
    "maxConcurrency": 2,
    "maxRetries": 3,
    "maxProxyRetries": 3,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    },
    "rawOutput": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("trakk/google-maps-business-intelligence").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 = {
    "mode": "FULL",
    "searchStringsArray": ["coffee shops"],
    "locationQuery": "New York, NY",
    "maxCrawledPlacesPerSearch": 1,
    "scrapePlaceDetailPage": True,
    "scrapeContacts": True,
    "maxContactPages": 1,
    "scrapeReviews": False,
    "maxReviews": 0,
    "outputMode": "PLACE_ITEMS",
    "maxImages": 5,
    "language": "en",
    "countryCode": "US",
    "maxConcurrency": 2,
    "maxRetries": 3,
    "maxProxyRetries": 3,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
    "rawOutput": False,
}

# Run the Actor and wait for it to finish
run = client.actor("trakk/google-maps-business-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "FULL",
  "searchStringsArray": [
    "coffee shops"
  ],
  "locationQuery": "New York, NY",
  "maxCrawledPlacesPerSearch": 1,
  "scrapePlaceDetailPage": true,
  "scrapeContacts": true,
  "maxContactPages": 1,
  "scrapeReviews": false,
  "maxReviews": 0,
  "outputMode": "PLACE_ITEMS",
  "maxImages": 5,
  "language": "en",
  "countryCode": "US",
  "maxConcurrency": 2,
  "maxRetries": 3,
  "maxProxyRetries": 3,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "rawOutput": false
}' |
apify call trakk/google-maps-business-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=trakk/google-maps-business-intelligence",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Scraper",
        "description": "Fast HTTP-only Google Maps scraper for places, reviews, photos, phones, emails, websites, social profiles, opening hours and lead data. Export clean business contacts at scale with no browser runtime.",
        "version": "0.1",
        "x-build-id": "9hbgoWkCseUZE24Qy"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/trakk~google-maps-business-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-trakk-google-maps-business-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/trakk~google-maps-business-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-trakk-google-maps-business-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/trakk~google-maps-business-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-trakk-google-maps-business-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "FULL",
                            "SEARCH",
                            "DETAIL",
                            "REVIEWS",
                            "CONTACTS"
                        ],
                        "type": "string",
                        "description": "SEARCH/FULL: scrape search results by keywords. DETAIL: scrape direct Maps URLs/place IDs. REVIEWS: emit one review per item. CONTACTS: enrich direct places with website contacts.",
                        "default": "FULL"
                    },
                    "searchStringsArray": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "Google Maps search terms, e.g. restaurants, dentists, plumbers, coffee shops.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "locationQuery": {
                        "title": "Location",
                        "type": "string",
                        "description": "Location appended to every search term, e.g. New York, London, Berlin, 90210.",
                        "default": ""
                    },
                    "startUrls": {
                        "title": "Google Maps URLs",
                        "type": "array",
                        "description": "Direct Google Maps place/search URLs. Used in DETAIL, REVIEWS and CONTACTS modes.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "placeIds": {
                        "title": "Place IDs",
                        "type": "array",
                        "description": "Google Place IDs, e.g. ChIJvSQIgqFZwokRFYQbJdzceSs.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "featureIds": {
                        "title": "Data IDs / feature IDs",
                        "type": "array",
                        "description": "Google Maps data IDs in the form 0x...:0x....",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "datasetId": {
                        "title": "Input Dataset",
                        "type": "string",
                        "description": "Optional dataset containing googleMapsUrl, placeId, cid, dataId or featureId fields."
                    },
                    "maxCrawledPlacesPerSearch": {
                        "title": "Max places per search",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Hard cap per search query. Google Maps returns about 20 places per HTTP page.",
                        "default": 120
                    },
                    "scrapePlaceDetailPage": {
                        "title": "Scrape detail page",
                        "type": "boolean",
                        "description": "Fetch each place detail endpoint for richer fields such as business description, posts, attributes and links.",
                        "default": true
                    },
                    "scrapeContacts": {
                        "title": "Scrape website contacts",
                        "type": "boolean",
                        "description": "Visit business websites and extract emails, phones and social media profiles.",
                        "default": true
                    },
                    "maxContactPages": {
                        "title": "Max website pages",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Homepage plus contact/about/team/legal pages per business website.",
                        "default": 5
                    },
                    "scrapeReviews": {
                        "title": "Scrape reviews",
                        "type": "boolean",
                        "description": "Try to fetch Google Maps review payloads using the HTTP reviews endpoint.",
                        "default": false
                    },
                    "maxReviews": {
                        "title": "Max reviews per place",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum reviews to fetch for each place when scrapeReviews is enabled.",
                        "default": 0
                    },
                    "reviewsSort": {
                        "title": "Reviews sort",
                        "enum": [
                            "relevant",
                            "newest",
                            "highest",
                            "lowest"
                        ],
                        "type": "string",
                        "description": "Review order for the Google review endpoint.",
                        "default": "relevant"
                    },
                    "outputMode": {
                        "title": "Output mode",
                        "enum": [
                            "PLACE_ITEMS",
                            "REVIEW_ITEMS"
                        ],
                        "type": "string",
                        "description": "PLACE_ITEMS emits one item per place with nested reviews. REVIEW_ITEMS emits one item per review.",
                        "default": "PLACE_ITEMS"
                    },
                    "maxImages": {
                        "title": "Max images",
                        "minimum": 0,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Maximum image URLs to keep per place.",
                        "default": 20
                    },
                    "categoryFilterWords": {
                        "title": "Category filter words",
                        "type": "array",
                        "description": "Keep only places whose categories contain at least one of these words.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "placeMinimumStars": {
                        "title": "Minimum rating",
                        "minimum": 0,
                        "maximum": 5,
                        "type": "number",
                        "description": "Skip places below this rating when rating is available.",
                        "default": 0
                    },
                    "website": {
                        "title": "Website filter",
                        "enum": [
                            "allPlaces",
                            "withWebsite",
                            "withoutWebsite"
                        ],
                        "type": "string",
                        "description": "Filter businesses by website presence.",
                        "default": "allPlaces"
                    },
                    "skipClosedPlaces": {
                        "title": "Skip closed places",
                        "type": "boolean",
                        "description": "Skip permanently closed places when Google exposes that status.",
                        "default": false
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Google Maps UI/result language.",
                        "default": "en"
                    },
                    "countryCode": {
                        "title": "Country code",
                        "type": "string",
                        "description": "Google results country code, e.g. US, GB, DE, FR.",
                        "default": "US"
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "How many place/detail/contact requests to run in parallel.",
                        "default": 8
                    },
                    "maxRetries": {
                        "title": "Max retries",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Retry budget for HTTP 429/5xx and parse failures.",
                        "default": 5
                    },
                    "maxProxyRetries": {
                        "title": "Max proxy retries",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Dedicated retry budget for proxy / transport failures.",
                        "default": 5
                    },
                    "proxy": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify proxy configuration. Residential proxies are recommended for Google Maps at scale.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    },
                    "rawOutput": {
                        "title": "Include raw place/review arrays",
                        "type": "boolean",
                        "description": "Attach raw Google Maps nested arrays for debugging.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
