# Google Maps Scraper (`iblead/google-maps-scraper`) Actor

Extract Google Maps business data: names, addresses, phones, ratings, reviews, GPS, opening hours. 50M+ businesses across 38 countries. Fast and reliable.

- **URL**: https://apify.com/iblead/google-maps-scraper.md
- **Developed by:** [Ibrahim Demol](https://apify.com/iblead) (community)
- **Categories:** Lead generation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$2.50 / 1,000 business data

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 -- Fast Business Data

Get basic business data from Google Maps -- names, addresses, phone numbers, ratings, GPS coordinates, opening hours, and more. 50M+ businesses across 38 countries. No delays, no rate limits. You get data in seconds.

This actor returns core business information without email enrichment or social profiles. If you need emails and social media links, use the [Google Maps Business Database](https://apify.com/iblead/google-maps-business-database) actor instead.

### What data do you get?

| Field | Description |
|-------|-------------|
| `name` | Business name |
| `address` | Full street address |
| `city` | City name |
| `postal_code` | ZIP / postal code |
| `country_code` | ISO country code |
| `phone` | Phone number from Google Maps listing |
| `website_url` | Business website URL |
| `google_maps_url` | Direct Google Maps link |
| `place_id` | Google Place ID |
| `cid` | Google CID |
| `category` | Primary Google Maps category |
| `categories` | All categories (array) |
| `business_description` | Business description |
| `rating` | Google rating (1.0 - 5.0) |
| `review_count` | Number of Google reviews |
| `latitude` | GPS latitude |
| `longitude` | GPS longitude |
| `business_status` | Open, temporarily closed, permanently closed |
| `claimed` | Whether the owner claimed the listing |
| `photo_url` | Main photo URL |
| `hours` | Opening hours (structured) |
| `timezone` | Business timezone |
| `first_seen_at` | When the business was first indexed |
| `last_seen_at` | Last data refresh timestamp |

**Not included in this actor**: emails, phones from website, social media profiles (Facebook, Instagram, LinkedIn, etc.). For those, use the flagship [Google Maps Business Database](https://apify.com/iblead/google-maps-business-database) actor.

### Use cases

- **Local SEO analysis**: Pull all restaurants, dentists, or plumbers in a city and compare their ratings, review counts, and claimed status.
- **Map-based applications**: Export businesses with GPS coordinates for custom map overlays or location-based features.
- **Business directories**: Build or update a local business directory with verified Google Maps data.
- **Market research**: Count and categorize businesses by type, city, or postal code for market sizing.
- **Data enrichment**: Export place IDs and use them with other IBLead actors (Email Finder, Enricher) for targeted enrichment of specific businesses.

### How to use

1. Get a free API key at [app.iblead.com](https://app.iblead.com) (200 free credits, no credit card).
2. Open this actor in Apify Console.
3. Select a **country** -- 38 countries available.
4. Pick a **category** or **subcategory** to target specific business types. Leave empty to search all.
5. Add a **city** or **postal code** for geographic filtering.
6. Set **max results** and run.

Results are available in your Apify dataset within seconds.

### Input parameters

| Parameter | Required | Type | Description |
|-----------|----------|------|-------------|
| `country` | Yes | String | Country code. 38 countries available. |
| `category` | No | String | Broad category (29 options). |
| `subcategory` | No | String | Exact Google Maps category (4,037 options). |
| `city` | No | String | City name. Comma-separated for multiple. |
| `postal_code` | No | String | ZIP/postal code. Supports prefixes. |
| `min_rating` | No | Number | Minimum Google rating (1.0 - 5.0). |
| `min_reviews` | No | Integer | Minimum number of Google reviews. |
| `max_results` | No | Integer | Maximum businesses to return. Default: 1,000. Max: 100,000. |
| `api_key` | Yes | String | Your IBLead API key. |

### Pricing

This actor charges **$2.50 per 1,000 results** -- cheaper than the flagship actor because it skips email and social media data.

| Actor | Price per 1K | Includes emails | Includes socials | Coverage |
|-------|-------------|----------------|-----------------|---------------|
| **IBLead Scraper (this actor)** | **$2.50** | No | No | 50M+ |
| IBLead (flagship) | $3.50 | Yes | Yes (6 platforms) | 50M+ |
| Compass Google Maps | $4 - $5 | Limited | No | Smaller |

Choose this actor when you need basic business data at the lowest cost. Choose the flagship actor when you need emails and social profiles.

### FAQ

**Why is this cheaper than the flagship actor?**
This actor returns only the core Google Maps data -- no website crawling for emails, no social profile matching. Less data processing per result means a lower price.

**Can I get emails later for specific businesses?**
Yes. Export the `place_id` values from this actor, then feed them into the [Google Maps Email Finder](https://apify.com/iblead/google-maps-email-finder) actor to get emails for just the businesses you care about.

**How is this different from a live Google Maps scraper?**
This actor returns results in seconds instead of waiting minutes or hours, and you are not affected by Google's anti-bot measures.

**What countries are available?**
38 countries, primarily in North America, Europe, and Oceania. The largest is the United States with 18M businesses. The full list includes US, DE, FR, AU, GB, IT, ES, NL, PL, BE, CZ, CH, HU, AT, GR, HR, PT, SE, DK, BG, SK, NO, RS, IE, FI, SI, RO, LT, BA, EE, LV, AL, CY, LU, MK, MT, ME, and IS.

### About IBLead

IBLead covers 50M+ businesses across 38 countries and 4,037 Google Maps categories. Data is refreshed continuously. Sign up at [app.iblead.com](https://app.iblead.com) for 200 free credits to test the API.

# Actor input Schema

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

Select a country. 38 countries available, 50M+ businesses total.
## `category` (type: `string`):

Broad business category (groups multiple Google Maps categories). 'Restaurant' includes Italian Restaurant, Mexican Restaurant, etc.
## `subcategory` (type: `string`):

Exact Google Maps category (e.g. 'Italian Restaurant', 'Dentist', 'Hair Salon'). More precise than macro. Type to search 4000+ categories.
## `city` (type: `string`):

Filter by city name (e.g. 'New York', 'Paris', 'Berlin'). Comma-separated for multiple cities (e.g. 'London,Manchester').
## `postal_code` (type: `string`):

Filter by postal code. Supports prefixes: '75' matches all Paris codes (75001-75020), '1' matches all London codes starting with 1.
## `max_results` (type: `integer`):

Maximum number of businesses to return.
## `min_rating` (type: `number`):

Minimum Google rating (1.0 - 5.0).
## `min_reviews` (type: `integer`):

Minimum number of Google reviews.
## `api_key` (type: `string`):

Your IBLead API key. Sign up free at https://app.iblead.com to get one (200 free credits).

## Actor input object example

```json
{
  "country": "US",
  "category": "Restaurant",
  "city": "New York",
  "max_results": 1000
}
````

# 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 = {
    "country": "US",
    "category": "Restaurant",
    "city": "New York",
    "max_results": 1000
};

// Run the Actor and wait for it to finish
const run = await client.actor("iblead/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 = {
    "country": "US",
    "category": "Restaurant",
    "city": "New York",
    "max_results": 1000,
}

# Run the Actor and wait for it to finish
run = client.actor("iblead/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 '{
  "country": "US",
  "category": "Restaurant",
  "city": "New York",
  "max_results": 1000
}' |
apify call iblead/google-maps-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Scraper",
        "description": "Extract Google Maps business data: names, addresses, phones, ratings, reviews, GPS, opening hours. 50M+ businesses across 38 countries. Fast and reliable.",
        "version": "0.1",
        "x-build-id": "iYCdOqMLCaEEIdNJ8"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/iblead~google-maps-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-iblead-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/iblead~google-maps-scraper/runs": {
            "post": {
                "operationId": "runs-sync-iblead-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/iblead~google-maps-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-iblead-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": [
                    "country",
                    "api_key"
                ],
                "properties": {
                    "country": {
                        "title": "Country",
                        "enum": [
                            "US",
                            "DE",
                            "FR",
                            "AU",
                            "GB",
                            "IT",
                            "ES",
                            "NL",
                            "PL",
                            "BE",
                            "CZ",
                            "CH",
                            "HU",
                            "AT",
                            "GR",
                            "HR",
                            "PT",
                            "SE",
                            "DK",
                            "BG",
                            "SK",
                            "NO",
                            "RS",
                            "IE",
                            "FI",
                            "SI",
                            "RO",
                            "LT",
                            "BA",
                            "EE",
                            "LV",
                            "AL",
                            "CY",
                            "LU",
                            "MK",
                            "MT",
                            "ME",
                            "IS"
                        ],
                        "type": "string",
                        "description": "Select a country. 38 countries available, 50M+ businesses total."
                    },
                    "category": {
                        "title": "Category (macro)",
                        "enum": [
                            "Accommodation",
                            "Agriculture & Garden",
                            "Automotive",
                            "Beauty & Wellness",
                            "Cleaning & Maintenance",
                            "Construction & Home",
                            "Education",
                            "Entertainment & Leisure",
                            "Events & Wedding",
                            "Finance & Insurance",
                            "Funeral",
                            "Government & Public",
                            "Health & Medical",
                            "Manufacturing",
                            "Media & Advertising",
                            "Other",
                            "Pets & Animals",
                            "Professional Services",
                            "Real Estate",
                            "Religion",
                            "Restaurant",
                            "Shopping & Retail",
                            "Social Services",
                            "Sports & Fitness",
                            "Technology & IT",
                            "Transportation & Logistics",
                            "Travel & Tourism",
                            "Utilities",
                            "Wholesale & Supply"
                        ],
                        "type": "string",
                        "description": "Broad business category (groups multiple Google Maps categories). 'Restaurant' includes Italian Restaurant, Mexican Restaurant, etc."
                    },
                    "subcategory": {
                        "title": "Subcategory (Google Maps category)",
                        "type": "string",
                        "description": "Exact Google Maps category (e.g. 'Italian Restaurant', 'Dentist', 'Hair Salon'). More precise than macro. Type to search 4000+ categories."
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "Filter by city name (e.g. 'New York', 'Paris', 'Berlin'). Comma-separated for multiple cities (e.g. 'London,Manchester')."
                    },
                    "postal_code": {
                        "title": "Postal / ZIP code",
                        "type": "string",
                        "description": "Filter by postal code. Supports prefixes: '75' matches all Paris codes (75001-75020), '1' matches all London codes starting with 1."
                    },
                    "max_results": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum number of businesses to return.",
                        "default": 1000
                    },
                    "min_rating": {
                        "title": "Min rating",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "number",
                        "description": "Minimum Google rating (1.0 - 5.0)."
                    },
                    "min_reviews": {
                        "title": "Min reviews",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum number of Google reviews."
                    },
                    "api_key": {
                        "title": "IBLead API Key",
                        "type": "string",
                        "description": "Your IBLead API key. Sign up free at https://app.iblead.com to get one (200 free credits)."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
