# Google Maps Scraper — Emails, Socials & Ad Pixels (`businessmonster/google-maps-business-scraper`) Actor

Extract business leads from Google Maps at scale. Get names, phones, emails, addresses, ratings, and 20+ social media profiles per business. Detects Meta Pixel, Google Analytics, and Google Ads tags to reveal which businesses run paid marketing. Export to JSON, CSV, or Excel, or run via API.

- **URL**: https://apify.com/businessmonster/google-maps-business-scraper.md
- **Developed by:** [Türker Erdinç Çap](https://apify.com/businessmonster) (community)
- **Categories:** Lead generation
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.75 / 1,000 business scrapeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

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

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

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

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

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

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

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

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

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

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

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


# README

## Google Maps Business Scraper with Emails, Socials & Ad Pixel Detection

Extract complete business profiles from Google Maps at scale. This Google Maps scraper collects contact details, social profiles from 19 platforms, and — uniquely — detects whether each business runs **Meta Pixel, Google Analytics, or Google Tag Manager** on its website, including the actual tracking IDs. Enter one or more search queries, pick a country, and get structured lead data in minutes.

### What data does this Google Maps scraper extract?

- 🏢 Business name, category, and full address
- 📞 Phone number and website URL
- 📧 Email address extracted from the business website
- 🌍 19 social profile fields: instagram, facebook, linkedin, youtube, tiktok, x_twitter, threads, pinterest, whatsapp, telegram, snapchat, discord, vimeo, twitch, medium, github, gitlab, behance, dribbble
- 🎯 **Marketing tech detection**: Meta Pixel ID, Google Analytics ID, and Google Tag Manager ID — see which businesses already invest in digital advertising
- ⭐ Rating, review count, opening hours, and GPS coordinates (latitude/longitude)

Fields that can hold multiple matches (email, social profiles) are separated with `" | "`. The full 41-field output schema is published, so AI agents and integrations can read exactly what this Actor returns before running it.

### Why use ad pixel detection for lead generation?

Sales teams and marketing agencies waste hours qualifying leads manually. A business that already runs Meta or Google ads is a proven buyer of digital services. This scraper reveals that signal automatically, so you can filter thousands of Google Maps results down to prospects that already spend money on marketing. Or flip it: filter businesses where `has_meta_pixel` is **false** — they have a website but no ad infrastructure. That is your pitch list.

### How to use it

1. Enter one or more **search terms** (e.g. "dentist in Istanbul", "roofing company Berlin")
2. Type the **country** name in English (e.g. "United States", "Germany", "Turkey" — short forms like "USA" or "UK" also work)
3. Set the **maximum results per search term**
4. Click **Start** and download your results as JSON, CSV, or Excel

Or paste this input and press **Start**:

```json
{
    "queries": ["marketing agency in Berlin", "marketing agency in Munich"],
    "country": "Germany",
    "maxResultsPerQuery": 50
}
````

### Example output

One record — all 41 fields, exactly as the dataset returns them:

```json
{
  "name": "Example Marketing Agency",
  "category": "Advertising Agency",
  "phone": "+49 30 1234567",
  "email": "info@example-agency.de",
  "website": "https://www.example-agency.de/",
  "address": "Hauptstraße 5, 10827 Berlin, Germany",
  "rating": 4.9,
  "review_count": 128,
  "hours": "Open ⋅ Closes 6 PM",
  "lat": 52.4862573,
  "lng": 13.3548185,
  "place_id": "ChIJxxxxxxxxxxxxxxxxxxxx",
  "cid": "12345678901234567890",
  "has_meta_pixel": true,
  "meta_pixel_id": "2786191XXXXXXXX",
  "has_google_analytics": true,
  "google_analytics_id": "G-XXXXXXXXXX",
  "has_gtm": true,
  "gtm_id": "GTM-XXXXXXX",
  "instagram": "https://www.instagram.com/exampleagency",
  "facebook": "https://www.facebook.com/exampleagency",
  "linkedin": "https://www.linkedin.com/company/example-agency",
  "youtube": "https://www.youtube.com/@exampleagency",
  "tiktok": "https://www.tiktok.com/@exampleagency",
  "x_twitter": "https://x.com/exampleagency",
  "threads": "https://www.threads.net/@exampleagency",
  "pinterest": "https://www.pinterest.com/exampleagency",
  "whatsapp": "https://wa.me/49301234567",
  "telegram": "https://t.me/exampleagency",
  "snapchat": "https://www.snapchat.com/add/exampleagency",
  "discord": "https://discord.gg/exampleagency",
  "vimeo": "https://vimeo.com/exampleagency",
  "twitch": "https://www.twitch.tv/exampleagency",
  "medium": "https://medium.com/@exampleagency",
  "github": "https://github.com/exampleagency",
  "gitlab": "https://gitlab.com/exampleagency",
  "behance": "https://www.behance.net/exampleagency",
  "dribbble": "https://dribbble.com/exampleagency",
  "socials": ["instagram", "facebook", "linkedin", "youtube", "tiktok", "x_twitter", "threads", "pinterest", "whatsapp", "telegram", "snapchat", "discord", "vimeo", "twitch", "medium", "github", "gitlab", "behance", "dribbble"],
  "search_query": "marketing agency in Berlin",
  "search_country": "Germany"
}
```

### Pricing — what you actually pay

You pay a simple **pay-per-result** price: see the pricing table above (from $2.00 per 1,000 businesses, with automatic discounts on higher Apify plans).

A note on the "Additional costs" table shown on this page: that is Apify's standard platform price list, displayed on every Actor. For this Actor, those costs are negligible:

- **No proxy charges.** This Actor does not use Apify proxies at all — scraping runs on our own managed infrastructure. The residential/datacenter/SERP proxy prices do not apply to your runs.
- **Minimal compute usage.** The Actor runs as a lightweight 256 MB process. Typical platform overhead is around **$0.02 per 1,000 results** — a fraction of a cent per business.

In short: 1,000 businesses ≈ $2.00 + ~$0.02 platform usage. No hidden costs, no add-ons — everything (emails, social profiles, ad pixel detection) is included in the single per-result price.

### Integrations and API

Run this scraper on a schedule, trigger it via the Apify API, or connect it to **n8n, Make, Zapier, Google Sheets**, and other tools supported by the Apify platform. Results can be exported in JSON, CSV, Excel, and XML formats.

**MCP / AI agents** — connect Claude, ChatGPT or Cursor to `mcp.apify.com` and let your agent discover this Actor, read its input and output schema, and run it as a tool.

### Is it legal to scrape Google Maps?

This scraper extracts publicly available business information only. It does not collect private user data. However, you should ensure that the way you use the extracted data complies with the laws and regulations applicable in your jurisdiction, including GDPR when processing data of EU-based businesses.

### FAQ

**How many results can I get per search?**
Up to 1,000 businesses per search query. Add multiple queries to a single run to scale further.

**Do I need proxies or any setup?**
No. Everything is handled for you — just enter your search terms and start.

**Which countries are supported?**
120+ countries worldwide. Just type the country name in English — common short forms like "USA", "UK", or "UAE" are recognized automatically.

**How is ad & tracking detection done?**
The Actor loads the business website and checks the page source for a Meta Pixel, Google Analytics and Google Tag Manager. It reports what is installed at scrape time as three boolean fields plus the detected IDs (meta\_pixel\_id, google\_analytics\_id, gtm\_id).

**How do I keep costs predictable?**
Lower `maxResultsPerQuery`, and set a maximum charge limit when starting the run. The Actor stops delivering billable results at your limit.

**The email or social fields are empty for some businesses. Why?**
These fields are extracted from each business's website. If a business has no website, or its website does not list an email or social links, those fields will be null.

# Actor input Schema

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

One search term per line. Combine a business type with a location for best results, e.g. "dentist in Berlin", "roofing company Miami", "restaurant in Istanbul". Each term is billed and limited separately.

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

The country to search in. Type the country name in English, e.g. "United States", "Germany", "Turkey". Common short forms like "USA" or "UK" are also accepted.

## `maxResultsPerQuery` (type: `integer`):

Maximum number of businesses to return per search term. Lower this to control cost (you are charged per result); leave as-is for typical runs.

## Actor input object example

```json
{
  "queries": [
    "dentist in New York"
  ],
  "country": "United States",
  "maxResultsPerQuery": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# 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 = {
    "queries": [
        "dentist in New York"
    ],
    "country": "United States"
};

// Run the Actor and wait for it to finish
const run = await client.actor("businessmonster/google-maps-business-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 = {
    "queries": ["dentist in New York"],
    "country": "United States",
}

# Run the Actor and wait for it to finish
run = client.actor("businessmonster/google-maps-business-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 '{
  "queries": [
    "dentist in New York"
  ],
  "country": "United States"
}' |
apify call businessmonster/google-maps-business-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Google Maps Scraper — Emails, Socials & Ad Pixels",
        "description": "Extract business leads from Google Maps at scale. Get names, phones, emails, addresses, ratings, and 20+ social media profiles per business. Detects Meta Pixel, Google Analytics, and Google Ads tags to reveal which businesses run paid marketing. Export to JSON, CSV, or Excel, or run via API.",
        "version": "0.0",
        "x-build-id": "vBaQH50HxfSJkWImu"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/businessmonster~google-maps-business-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-businessmonster-google-maps-business-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/businessmonster~google-maps-business-scraper/runs": {
            "post": {
                "operationId": "runs-sync-businessmonster-google-maps-business-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/businessmonster~google-maps-business-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-businessmonster-google-maps-business-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": [
                    "queries",
                    "country"
                ],
                "properties": {
                    "queries": {
                        "title": "🔍 Search terms",
                        "minItems": 1,
                        "type": "array",
                        "description": "One search term per line. Combine a business type with a location for best results, e.g. \"dentist in Berlin\", \"roofing company Miami\", \"restaurant in Istanbul\". Each term is billed and limited separately.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "📍 Country",
                        "type": "string",
                        "description": "The country to search in. Type the country name in English, e.g. \"United States\", \"Germany\", \"Turkey\". Common short forms like \"USA\" or \"UK\" are also accepted.",
                        "default": "United States"
                    },
                    "maxResultsPerQuery": {
                        "title": "🔢 Max results per search term",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of businesses to return per search term. Lower this to control cost (you are charged per result); leave as-is for typical runs.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
