# 📍Google Maps Scraper ($0.45/1K Results) (`apt_marble/google-maps-scraper`) Actor

$0.45/1K results 🔥 LOW COST Google Maps Scraper built for scale. No proxy setup, no hidden compute fees, no browser overhead. Extract business names, phones, websites, addresses, ratings, reviews, hours, coordinates & more in seconds. Supports multi-query scraping with up to 200 results per search.

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

## Pricing

from $0.45 / 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 Scraper

### Affordable Google Maps data extraction built for scale

Extract structured business data from Google Maps with fast execution, clean datasets, and predictable pricing.

✅ Only **$0.45 per 1,000 results**  
✅ No proxy configuration needed  
✅ No browser overhead  
✅ No hidden compute charges  
✅ Pay only for successful extracted results

Designed for lead generation, local SEO, market research, CRM enrichment, and business intelligence workflows.

Unlike traditional browser-based actors that rely on Playwright or Puppeteer, this actor uses a lightweight infrastructure optimized for speed and low operating costs. That means faster runs, lower resource consumption, and more affordable pricing for large-scale scraping.

---

### Why choose this actor?

Many Google Maps scrapers:
- launch heavy Chromium browsers
- consume large amounts of memory
- increase runtime costs
- require proxy configuration
- become expensive at scale

This actor avoids those problems entirely.

Everything is already included in the pricing:
- proxies
- infrastructure
- scraping costs
- compute handling

You simply run the actor and receive structured results.

| Feature | This Actor | Traditional Browser Actors |
|---|---|---|
| Price per 1,000 results | **$0.45** | $2.00+ |
| Browser automation | No | Yes |
| Hidden proxy fees | No | Often |
| Extra compute charges | Included | Common |
| Bulk queries | Yes | Yes |
| Fast startup time | Yes | Slower |
| Optimized for scale | Yes | Limited |

---

## Data Included

This actor returns rich structured Google Maps business data including:

#### Business Information
- Business name
- Main category
- Multiple categories/types
- Rating
- Review count
- Price level
- Google Maps URL

#### Contact Details
- Phone number
- International phone format
- Website URL
- Domain
- Full address
- Street & street number
- City
- Postal code
- State/region
- Country

#### Location Data
- Latitude
- Longitude
- Coordinates object
- Place ID
- CID / Data ID
- Timezone

#### Opening Hours
- Weekly business hours
- Live open/closed status
- Detailed hours structure

#### Additional Metadata
- Search query used
- Result ranking position
- Service options
- Business status flags
- Neighborhood/location context

---

## Input Configuration

Configure your Google Maps scraping request using the fields below.

| Field | Type | Description |
|---|---|---|
| **Query** | String or List | One or multiple Google Maps search queries. Example: `restaurants in chicago` |
| **Num** | Integer | Maximum number of results per query. Maximum: `200` |
| **Country Code (gl)** | String | Country used for localized Google Maps results. Example: `us`, `gb`, `fr`, `de`, `ma` |
| **Language (hl)** | String | Google interface language. Example: `en`, `fr`, `es`, `de` |
| **Google domain** | String | Google domain to use. Default: `google.com` |
| **Lat/Lng/Zoom (ll)** | String | Optional location bias for more accurate local results |
| **Fields** | String | Comma-separated list of fields to keep in output |

---

## Example Input

### Basic Example

```json
{
  "query": ["coffee shops in london"],
  "num": 50
}
````

### Multi-City Lead Generation

```json
{
  "query": [
    "dentists in miami",
    "dentists in orlando",
    "dentists in tampa"
  ],
  "num": 200,
  "gl": "us",
  "hl": "en"
}
```

### International Search

```json
{
  "query": ["restaurants in marrakech"],
  "num": 100,
  "gl": "ma",
  "hl": "fr"
}
```

### Limit Output Fields

```json
{
  "query": ["lawyers in chicago"],
  "fields": "title,phone,website,rating,address"
}
```

***

## Tips

- Use multiple queries in one run to scrape several cities or keywords at once.
- Set `gl` to the country you're targeting for more accurate local rankings.
- Use the `fields` option to reduce dataset size and export only the columns you need.
- For best local precision, use the optional `ll` parameter with latitude, longitude, and zoom values.

# Actor input Schema

## `query` (type: `array`):

One or more Google Maps search queries (e.g. `dentists in chicago`).

## `num` (type: `integer`):

Results to return per query (max 200). Google Maps caps at ~120 results per query in dense areas.

## `gl` (type: `string`):

Country for Google Maps results — `us`, `ca`, `gb`, `de`, `ma`, etc. 240+ codes supported.

## `hl` (type: `string`):

Interface language for Google results — `en`, `fr`, `es`, `de`, etc. 150+ languages supported.

## `google_domain` (type: `string`):

Which Google domain to query, e.g. `google.com`, `google.co.uk`, `google.fr`. 84 domains supported.

## `ll` (type: `string`):

Optional geo pin. Format: `@LAT,LNG,ZOOMz` (e.g. `@40.7580,-73.9855,15z` for Times Square). Without this, results are localized automatically. Right-click on Google Maps to copy coordinates.

## `fields` (type: `string`):

Comma-separated list of fields to keep — leave blank to get everything. Example: `title,address,phone,website,email,city,state`.

## Actor input object example

```json
{
  "query": [
    "coffee shops in new york"
  ],
  "num": 200,
  "gl": "us",
  "hl": "en",
  "google_domain": "google.com"
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

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

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": [
        "coffee shops in new york"
    ],
    "num": 200,
    "gl": "us",
    "hl": "en",
    "google_domain": "google.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_marble/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 = {
    "query": ["coffee shops in new york"],
    "num": 200,
    "gl": "us",
    "hl": "en",
    "google_domain": "google.com",
}

# Run the Actor and wait for it to finish
run = client.actor("apt_marble/google-maps-scraper").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 '{
  "query": [
    "coffee shops in new york"
  ],
  "num": 200,
  "gl": "us",
  "hl": "en",
  "google_domain": "google.com"
}' |
apify call apt_marble/google-maps-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "📍Google Maps Scraper ($0.45/1K Results)",
        "description": "$0.45/1K results 🔥 LOW COST Google Maps Scraper built for scale. No proxy setup, no hidden compute fees, no browser overhead. Extract business names, phones, websites, addresses, ratings, reviews, hours, coordinates & more in seconds. Supports multi-query scraping with up to 200 results per search.",
        "version": "0.0",
        "x-build-id": "PGYPTTVUxx00njgEb"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apt_marble~google-maps-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apt_marble-google-maps-scraper",
                "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/apt_marble~google-maps-scraper/runs": {
            "post": {
                "operationId": "runs-sync-apt_marble-google-maps-scraper",
                "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/apt_marble~google-maps-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-apt_marble-google-maps-scraper",
                "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",
                "required": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Query",
                        "minItems": 1,
                        "uniqueItems": true,
                        "type": "array",
                        "description": "One or more Google Maps search queries (e.g. `dentists in chicago`).",
                        "items": {
                            "type": "string"
                        }
                    },
                    "num": {
                        "title": "Num",
                        "minimum": 1,
                        "maximum": 200,
                        "type": "integer",
                        "description": "Results to return per query (max 200). Google Maps caps at ~120 results per query in dense areas.",
                        "default": 20
                    },
                    "gl": {
                        "title": "Country Code (gl)",
                        "type": "string",
                        "description": "Country for Google Maps results — `us`, `ca`, `gb`, `de`, `ma`, etc. 240+ codes supported.",
                        "default": "us"
                    },
                    "hl": {
                        "title": "Language (hl)",
                        "type": "string",
                        "description": "Interface language for Google results — `en`, `fr`, `es`, `de`, etc. 150+ languages supported.",
                        "default": "en"
                    },
                    "google_domain": {
                        "title": "Google domain",
                        "type": "string",
                        "description": "Which Google domain to query, e.g. `google.com`, `google.co.uk`, `google.fr`. 84 domains supported.",
                        "default": "google.com"
                    },
                    "ll": {
                        "title": "Lat/Lng/Zoom (ll)",
                        "type": "string",
                        "description": "Optional geo pin. Format: `@LAT,LNG,ZOOMz` (e.g. `@40.7580,-73.9855,15z` for Times Square). Without this, results are localized automatically. Right-click on Google Maps to copy coordinates."
                    },
                    "fields": {
                        "title": "Fields",
                        "type": "string",
                        "description": "Comma-separated list of fields to keep — leave blank to get everything. Example: `title,address,phone,website,email,city,state`."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
