# Google Maps Scraper — Places & Reviews (Worldwide) (`rastriq/gmaps-discover-enrich`) Actor

Extract business data from Google Maps worldwide: names, addresses, phones, websites, ratings, review histograms, popular times and more. No browser, fast, from $2 per 1,000 places. Search by keyword and location in any country.

- **URL**: https://apify.com/rastriq/gmaps-discover-enrich.md
- **Developed by:** [Rastriq — Structured data from the world](https://apify.com/rastriq) (community)
- **Categories:** Lead generation, Travel, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $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/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 Scraper — Places & Reviews (Worldwide) 🌍

Extract business data from **Google Maps in any country** by search term and location — fast, no browser, and **from just $2 per 1,000 places** (half the price of other Google Maps scrapers).

Get names, addresses, phone numbers, websites, coordinates, categories, opening hours, ratings, review counts, review histograms, popular times and more — exported to JSON, CSV or Excel, ready for lead generation, market research or local SEO.

---

### ✨ What you get

For every place found, the scraper returns:

- **Identity** — name, category, subcategories, Google `place_id`
- **Location** — full address, city, postal code, region, latitude & longitude
- **Contact** — phone (local & international format), website
- **Status** — permanently/temporarily closed flags, price level
- **Opening hours** — per-day schedule
- **Ratings** — average score and total review count
- **Photos** — cover photo and photo count
- **Maps URL** — direct link to the place

Enable the **Ratings, popular times & reviews add-on** to also get:

- **Review histogram** — star-by-star distribution (1★–5★)
- **Popular times** — busy hours by day
- **Exact review count** and a sample of **individual reviews** (author, rating, text, language)

---

### 💲 Pricing — pay only for what you need

Transparent **pay-per-result** pricing with no monthly fee and no per-run start fee. Mix and match tiers:

| Tier | What you get | Price |
|---|---|---|
| **Basic place** | Name, address, phone, website, rating, hours, coordinates | **$2 per 1,000 places** |
| **+ Enrichment add-on** | Review histogram (1-5 stars), popular times, exact review count, photos count, booking URL, international phone | **+$3 per 1,000 places** |
| **+ Individual reviews** | Author, rating, text, language per review | **+$1 per 1,000 reviews** |

**Examples:**

| Scenario | Price |
|---|---|
| 1,000 basic places | $2.00 |
| 1,000 places + histogram & popular times | $5.00 |
| 1,000 places + histogram + 5 reviews each (5,000 reviews) | $10.00 |
| 1,000 basic places + 5 reviews each (no histogram) | $7.00 |

You only pay for what you enable. Reviews are charged per review extracted, not per place.

---

### 🚀 How to use it

1. In **🔍 Search term(s)**, type what you'd search on Google Maps (e.g. `restaurant`, `dentist`, `hotel`). Add several terms to widen coverage.
2. In **📍 Location**, enter a city or area (e.g. `Lisboa, Portugal`, `Austin, USA`). Use one location per run.
3. Pick your **🌍 Language** and **🗺 Country**.
4. Set **💯 Number of places to extract** (start with a low number like 20–50 for your first test).
5. *(Optional)* turn on **⭐️ Ratings, popular times & reviews** for richer data.
6. Click **Start** and download your results as JSON, CSV or Excel.

> 💡 **Tip:** start with a small run to preview the data and cost before scaling up.

---

### 📥 Input example

```json
{
  "queries": ["restaurant"],
  "locationQuery": "Lisboa, Portugal",
  "country": "pt",
  "language": "pt",
  "maxResults": 50,
  "enrich": true
}
````

| Field | Description |
|---|---|
| `queries` | One or more search terms |
| `locationQuery` | City / area (worldwide) |
| `country` | Country of the search |
| `language` | Language of the results |
| `maxResults` | Total places to extract (0 = no limit) |
| `enrich` | Add review histogram, popular times & review count |

***

### 📤 Output example

```json
{
  "name": "Taberna Gourmet",
  "category": "Restaurant",
  "address": "R. da Boavista 12, 1200-001 Lisboa",
  "city": "Lisboa",
  "postal_code": "1200-001",
  "lat": 38.7071,
  "lng": -9.1499,
  "phone": "+351 21 000 0000",
  "website": "https://example.pt",
  "rating": 4.6,
  "reviews_count": 399,
  "reviews_by_star": { "one": 8, "two": 6, "three": 20, "four": 95, "five": 270 },
  "maps_url": "https://www.google.com/maps/place/..."
}
```

Results are also organized into ready-to-read table **views**: Overview, Contact, Ratings, Reviews and Enrich status.

***

### 🌍 Worldwide coverage

Works in any country — just set the **Location**, **Country** and **Language**. The postal-code and province helpers are specific to **Spain** (INE codes); for other countries use the free-text **Location** field.

***

### ❓ FAQ

**Is scraping Google Maps legal?**
This Actor extracts publicly available business information. You are responsible for how you use the data and for complying with applicable laws (including GDPR for any personal data).

**Why is it cheaper than other scrapers?**
It runs over plain HTTP (no headless browser), so it uses far less compute, and we pass those savings on to you.

**How do I get more places?**
Increase **Number of places** or add more search terms. For full-area coverage set it to `0` (no limit).

**Can I schedule it or call it via API?**
Yes — like any Apify Actor, you can schedule runs, use the API, and integrate with Make, Zapier and others.

***

### 🛟 Support

Found a bug or need a new field? Open an issue on the Actor's **Issues** tab and we'll take a look.

# Actor input Schema

## `searches` (type: `array`):

One search per line — type exactly as you would in Google Maps. Include the city or area in the search itself for the best results.<br><br>Examples:<br>• <code>restaurant Madrid Spain</code><br>• <code>dentist 28001</code><br>• <code>hotel near Times Square New York</code>

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

Maximum total places to extract across all searches. <b>0 = no limit</b> (careful — large runs cost more). Start with 10–50 for a quick test.

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

Language in which place names, categories and reviews will appear in the output.

## `country` (type: `string`):

Google Maps region for the search. Set this to the country you are targeting. Default is <b>United States</b> — change it when scraping another country.

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

When enabled, each place gets an extra request to fetch: star-rating histogram (1–5 stars), popular times chart, exact review count, photos count, booking URL and more detailed phone/contact info.

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

Number of individual text reviews to extract per place (<b>0 = none</b>; the star histogram and popular times are still collected if the add-on is on). Each review is billed separately.

## `postalCodes` (type: `string`):

Spanish postal codes, comma-separated. Ranges allowed: <code>28001-28010</code>. Runs an independent grid search per code.

## `provinceCode` (type: `string`):

Two-digit INE province code — automatically generates every postal code in that province. Example: <code>28</code> = Madrid, <code>08</code> = Barcelona.

## `gridMode` (type: `string`):

How the search area is divided into cells when using postal-code / province mode.<br><br><b>Adaptive (recommended):</b> automatically subdivides dense cells when Google's ~40-result cap is hit — gets more results in crowded areas without over-requesting sparse ones.<br><b>H3 hexagonal:</b> Uber H3 tiling — ~15% less overlap between cells than squares.<br><b>Fixed square:</b> original uniform grid.

## `gridStepKm` (type: `number`):

Size of each grid cell in kilometres. Smaller = more cells = better coverage in dense areas, but higher cost. Default 2 km is a good balance for most cities.

## `concurrency` (type: `integer`):

Number of parallel requests. Higher = faster but higher risk of rate-limiting. Default 10 works well for most runs.

## `h3Resolution` (type: `integer`):

Hexagonal grid resolution. Only used when Grid strategy = H3. 7 ≈ 1.2 km radius (default), 8 ≈ 460 m (dense urban), 6 ≈ 3.5 km (rural).

## `adaptiveMinStepKm` (type: `number`):

Minimum cell radius before stopping subdivision. Only used when Grid strategy = Adaptive. Default 0.3 km prevents infinite subdivision in very dense areas.

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

Legacy: search terms. Use 'searches' instead.

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

Legacy: location string. Use 'searches' instead.

## `maxPerCp` (type: `integer`):

Cap per postal-code cell (advanced).

## Actor input object example

```json
{
  "searches": [
    "restaurant Madrid Spain"
  ],
  "maxResults": 20,
  "language": "en",
  "country": "us",
  "enrich": false,
  "maxReviews": 0,
  "gridMode": "adaptive",
  "gridStepKm": 2,
  "concurrency": 10,
  "h3Resolution": 7,
  "adaptiveMinStepKm": 0.3,
  "queries": [
    "restaurant"
  ],
  "locationQuery": "New York, USA",
  "maxPerCp": 50
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset con todas las fichas extraídas.

# 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 = {
    "searches": [
        "restaurant Madrid Spain"
    ],
    "maxResults": 20,
    "enrich": false,
    "maxReviews": 0,
    "postalCodes": "",
    "provinceCode": "",
    "queries": [
        "restaurant"
    ],
    "locationQuery": "New York, USA"
};

// Run the Actor and wait for it to finish
const run = await client.actor("rastriq/gmaps-discover-enrich").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 = {
    "searches": ["restaurant Madrid Spain"],
    "maxResults": 20,
    "enrich": False,
    "maxReviews": 0,
    "postalCodes": "",
    "provinceCode": "",
    "queries": ["restaurant"],
    "locationQuery": "New York, USA",
}

# Run the Actor and wait for it to finish
run = client.actor("rastriq/gmaps-discover-enrich").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 '{
  "searches": [
    "restaurant Madrid Spain"
  ],
  "maxResults": 20,
  "enrich": false,
  "maxReviews": 0,
  "postalCodes": "",
  "provinceCode": "",
  "queries": [
    "restaurant"
  ],
  "locationQuery": "New York, USA"
}' |
apify call rastriq/gmaps-discover-enrich --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=rastriq/gmaps-discover-enrich",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Scraper — Places & Reviews (Worldwide)",
        "description": "Extract business data from Google Maps worldwide: names, addresses, phones, websites, ratings, review histograms, popular times and more. No browser, fast, from $2 per 1,000 places. Search by keyword and location in any country.",
        "version": "0.1",
        "x-build-id": "QHGZkf37eEfbbCHvn"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/rastriq~gmaps-discover-enrich/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-rastriq-gmaps-discover-enrich",
                "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/rastriq~gmaps-discover-enrich/runs": {
            "post": {
                "operationId": "runs-sync-rastriq-gmaps-discover-enrich",
                "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/rastriq~gmaps-discover-enrich/run-sync": {
            "post": {
                "operationId": "run-sync-rastriq-gmaps-discover-enrich",
                "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": {
                    "searches": {
                        "title": "🔍 Search",
                        "type": "array",
                        "description": "One search per line — type exactly as you would in Google Maps. Include the city or area in the search itself for the best results.<br><br>Examples:<br>• <code>restaurant Madrid Spain</code><br>• <code>dentist 28001</code><br>• <code>hotel near Times Square New York</code>",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max places to extract",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum total places to extract across all searches. <b>0 = no limit</b> (careful — large runs cost more). Start with 10–50 for a quick test.",
                        "default": 0
                    },
                    "language": {
                        "title": "Results language",
                        "enum": [
                            "en",
                            "af",
                            "az",
                            "id",
                            "ms",
                            "bs",
                            "ca",
                            "cs",
                            "da",
                            "de",
                            "et",
                            "es",
                            "es-419",
                            "eu",
                            "fil",
                            "fr",
                            "gl",
                            "hr",
                            "zu",
                            "is",
                            "it",
                            "sw",
                            "lv",
                            "lt",
                            "hu",
                            "nl",
                            "no",
                            "uz",
                            "pl",
                            "pt-BR",
                            "pt-PT",
                            "ro",
                            "sq",
                            "sk",
                            "sl",
                            "fi",
                            "sv",
                            "vi",
                            "tr",
                            "el",
                            "bg",
                            "ky",
                            "kk",
                            "mk",
                            "mn",
                            "ru",
                            "sr",
                            "uk",
                            "ka",
                            "hy",
                            "iw",
                            "ur",
                            "ar",
                            "fa",
                            "am",
                            "ne",
                            "hi",
                            "mr",
                            "bn",
                            "pa",
                            "gu",
                            "ta",
                            "te",
                            "kn",
                            "ml",
                            "si",
                            "th",
                            "lo",
                            "my",
                            "km",
                            "ko",
                            "ja",
                            "zh-CN",
                            "zh-TW"
                        ],
                        "type": "string",
                        "description": "Language in which place names, categories and reviews will appear in the output.",
                        "default": "en"
                    },
                    "country": {
                        "title": "Search country",
                        "enum": [
                            "",
                            "us",
                            "af",
                            "al",
                            "dz",
                            "as",
                            "ad",
                            "ao",
                            "ai",
                            "aq",
                            "ag",
                            "ar",
                            "am",
                            "aw",
                            "au",
                            "at",
                            "az",
                            "bs",
                            "bh",
                            "bd",
                            "bb",
                            "by",
                            "be",
                            "bz",
                            "bj",
                            "bm",
                            "bt",
                            "bo",
                            "ba",
                            "bw",
                            "bv",
                            "br",
                            "io",
                            "bn",
                            "bg",
                            "bf",
                            "bi",
                            "kh",
                            "cm",
                            "ca",
                            "cv",
                            "ky",
                            "cf",
                            "td",
                            "cl",
                            "cn",
                            "cx",
                            "cc",
                            "co",
                            "km",
                            "cg",
                            "cd",
                            "ck",
                            "cr",
                            "ci",
                            "hr",
                            "cu",
                            "cy",
                            "cz",
                            "dk",
                            "dj",
                            "dm",
                            "do",
                            "ec",
                            "eg",
                            "sv",
                            "gq",
                            "er",
                            "ee",
                            "et",
                            "fk",
                            "fo",
                            "fj",
                            "fi",
                            "fr",
                            "gf",
                            "pf",
                            "tf",
                            "ga",
                            "gm",
                            "ge",
                            "de",
                            "gh",
                            "gi",
                            "gr",
                            "gl",
                            "gd",
                            "gp",
                            "gu",
                            "gt",
                            "gn",
                            "gw",
                            "gy",
                            "ht",
                            "hm",
                            "va",
                            "hn",
                            "hu",
                            "is",
                            "in",
                            "id",
                            "ir",
                            "iq",
                            "ie",
                            "il",
                            "it",
                            "jm",
                            "jp",
                            "jo",
                            "kz",
                            "ke",
                            "ki",
                            "kp",
                            "kr",
                            "kw",
                            "kg",
                            "la",
                            "lv",
                            "lb",
                            "ls",
                            "lr",
                            "ly",
                            "li",
                            "lt",
                            "lu",
                            "mo",
                            "mk",
                            "mg",
                            "mw",
                            "my",
                            "mv",
                            "ml",
                            "mt",
                            "mh",
                            "mq",
                            "mr",
                            "mu",
                            "yt",
                            "mx",
                            "fm",
                            "md",
                            "mc",
                            "mn",
                            "me",
                            "ms",
                            "ma",
                            "mz",
                            "mm",
                            "na",
                            "nr",
                            "np",
                            "nl",
                            "an",
                            "nc",
                            "nz",
                            "ni",
                            "ne",
                            "ng",
                            "nu",
                            "nf",
                            "mp",
                            "no",
                            "om",
                            "pk",
                            "pw",
                            "ps",
                            "pa",
                            "pg",
                            "py",
                            "pe",
                            "ph",
                            "pn",
                            "pl",
                            "pt",
                            "pr",
                            "qa",
                            "re",
                            "ro",
                            "ru",
                            "rw",
                            "sh",
                            "kn",
                            "lc",
                            "pm",
                            "vc",
                            "ws",
                            "sm",
                            "st",
                            "sa",
                            "sn",
                            "rs",
                            "sc",
                            "sl",
                            "sg",
                            "sk",
                            "si",
                            "sb",
                            "so",
                            "za",
                            "gs",
                            "ss",
                            "es",
                            "lk",
                            "sd",
                            "sr",
                            "sj",
                            "sz",
                            "se",
                            "ch",
                            "sy",
                            "tw",
                            "tj",
                            "tz",
                            "th",
                            "tl",
                            "tg",
                            "tk",
                            "to",
                            "tt",
                            "tn",
                            "tr",
                            "tm",
                            "tc",
                            "tv",
                            "ug",
                            "ua",
                            "ae",
                            "gb",
                            "um",
                            "uy",
                            "uz",
                            "vu",
                            "ve",
                            "vn",
                            "vg",
                            "vi",
                            "wf",
                            "eh",
                            "ye",
                            "zm",
                            "zw"
                        ],
                        "type": "string",
                        "description": "Google Maps region for the search. Set this to the country you are targeting. Default is <b>United States</b> — change it when scraping another country.",
                        "default": "us"
                    },
                    "enrich": {
                        "title": "Extract rating histogram, popular times & extra contact details",
                        "type": "boolean",
                        "description": "When enabled, each place gets an extra request to fetch: star-rating histogram (1–5 stars), popular times chart, exact review count, photos count, booking URL and more detailed phone/contact info.",
                        "default": false
                    },
                    "maxReviews": {
                        "title": "Individual reviews per place",
                        "minimum": 0,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Number of individual text reviews to extract per place (<b>0 = none</b>; the star histogram and popular times are still collected if the add-on is on). Each review is billed separately.",
                        "default": 0
                    },
                    "postalCodes": {
                        "title": "Postal codes",
                        "type": "string",
                        "description": "Spanish postal codes, comma-separated. Ranges allowed: <code>28001-28010</code>. Runs an independent grid search per code."
                    },
                    "provinceCode": {
                        "title": "Province code (INE)",
                        "type": "string",
                        "description": "Two-digit INE province code — automatically generates every postal code in that province. Example: <code>28</code> = Madrid, <code>08</code> = Barcelona."
                    },
                    "gridMode": {
                        "title": "Grid strategy",
                        "enum": [
                            "adaptive",
                            "h3",
                            "fixed"
                        ],
                        "type": "string",
                        "description": "How the search area is divided into cells when using postal-code / province mode.<br><br><b>Adaptive (recommended):</b> automatically subdivides dense cells when Google's ~40-result cap is hit — gets more results in crowded areas without over-requesting sparse ones.<br><b>H3 hexagonal:</b> Uber H3 tiling — ~15% less overlap between cells than squares.<br><b>Fixed square:</b> original uniform grid.",
                        "default": "adaptive"
                    },
                    "gridStepKm": {
                        "title": "Grid cell size (km)",
                        "minimum": 0.5,
                        "maximum": 10,
                        "type": "number",
                        "description": "Size of each grid cell in kilometres. Smaller = more cells = better coverage in dense areas, but higher cost. Default 2 km is a good balance for most cities.",
                        "default": 2
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Number of parallel requests. Higher = faster but higher risk of rate-limiting. Default 10 works well for most runs.",
                        "default": 10
                    },
                    "h3Resolution": {
                        "title": "H3 resolution",
                        "minimum": 5,
                        "maximum": 9,
                        "type": "integer",
                        "description": "Hexagonal grid resolution. Only used when Grid strategy = H3. 7 ≈ 1.2 km radius (default), 8 ≈ 460 m (dense urban), 6 ≈ 3.5 km (rural).",
                        "default": 7
                    },
                    "adaptiveMinStepKm": {
                        "title": "Adaptive min cell size (km)",
                        "minimum": 0.1,
                        "maximum": 2,
                        "type": "number",
                        "description": "Minimum cell radius before stopping subdivision. Only used when Grid strategy = Adaptive. Default 0.3 km prevents infinite subdivision in very dense areas.",
                        "default": 0.3
                    },
                    "locationQuery": {
                        "title": "locationQuery",
                        "type": "string",
                        "description": "Legacy: location string. Use 'searches' instead."
                    },
                    "maxPerCp": {
                        "title": "maxPerCp",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Cap per postal-code cell (advanced).",
                        "default": 50
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
