# 📍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:** 42 total users, 4 monthly users, 0.0% runs succeeded, 1 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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Maps 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. Free accounts are limited to 10 results per query.

## `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(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

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

```

## CLI example

```bash
echo '{
  "query": [
    "coffee shops in new york"
  ],
  "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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apt_marble/google-maps-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yOzQY4VYuqVKo5suK/builds/BwI9xnTgAooykUYX9/openapi.json
