# Google Maps Leads Germany (`solutionssmart/gmaps-de-leads`) Actor

Only $0.30 per 1,000 results. Fast, low-cost B2B lead scraper for Germany. Extract business names, addresses, phones, websites, reviews, and GDPR-compliant email addresses directly from Impressum pages.

- **URL**: https://apify.com/solutionssmart/gmaps-de-leads.md
- **Developed by:** [Solutions Smart](https://apify.com/solutionssmart) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 leads

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Maps Leads Germany

### What does Google Maps Leads Germany do?

Google Maps Leads Germany finds businesses on Google Maps in any German city, district, postcode or federal state and returns a clean lead list: name, category, street, postcode (PLZ), city, phone number, website, rating, review count and the business email address from the website or its Impressum.

It works only for Germany. Searches run in German (`hl=de`, `gl=de`), categories come back in German, and phone numbers come in both international (`+49 30 1234567`) and national (`030 1234567`) format.

### Why use Google Maps Leads Germany?

- **Fast and cheap.** One Google request returns 20 complete leads, phone number included. There is no extra request per place, so 1,000 leads take about 50 Google requests.
- **Impressum emails.** German businesses must publish an Impressum, so the Actor checks the homepage first, then the Impressum and Kontakt pages. It decodes the common German obfuscations such as `info (at) firma (punkt) de` and Cloudflare-protected addresses.
- **Whole cities, not just 120 results.** Google stops after about 120 results per search. The Actor splits the area into map tiles and searches them from the centre outwards until it has enough places.
- **Lead filters.** Keep only places with or without a website, with a phone number, or above a minimum rating or review count.

Typical uses: sales prospecting for web design, marketing and software agencies, local market research, and building contact lists for a trade (Handwerk), medical practices or restaurants in one region.

### What data can Google Maps Leads Germany extract?

| Field | Example |
|---|---|
| name | Salon Beispiel |
| category, categories | Friseursalon |
| address, street, postalCode, city, district | Beispielstraße 1, 10115 Berlin, Mitte |
| phone, phoneLocal | +49 30 1234567, 030 1234567 |
| website | https://www.example.de/ |
| email, emails | info@example.de |
| socialLinks | Instagram, Facebook, LinkedIn, XING links |
| rating, reviewCount | 4.6, 128 |
| lat, lng, mapsUrl, placeId | coordinates, Google Maps link, Google Place ID |

### How to scrape Google Maps leads in Germany

1. Enter one or more German search terms, such as `Friseur`, `Zahnarzt` or `Steuerberater`. Don't add the city to the term.
2. Enter the location: a city (`Köln`), district (`München-Schwabing`), postcode (`50667`) or federal state (`Bayern`).
3. Set **Max places** and, if needed, the filters.
4. Start the Actor and download the results as Excel, CSV or JSON.

### How much will it cost to scrape Google Maps in Germany?

You pay per lead (one business), with the same `lead` event in normal runs and the HTTP API. Apart from Apify's small per-run start event, there is no charge per page or request.

| | Normal run (input) | HTTP API (Standby) |
|---|---|---|
| What is charged | Each lead saved to the dataset | Each lead in the response |
| Billing event | `lead`, charged with each saved item | `lead`, charged once per response |
| How it is charged | `Actor.push_data(item, "lead")`: the item is saved only if it can be charged | One call to Apify's charge API with the request's `X-Actor-Request-ID` |
| Places removed by filters | Not saved, not charged | Not returned, not charged |
| Duplicates (same place for two terms, or after a platform migration) | Skipped, not charged | Skipped, not charged |
| Spending limit reached | The run stops cleanly; leads found so far stay in the dataset | Not checked before answering; the response is charged after it is built |

Platform usage is low because the Actor uses plain HTTP requests, no browser, and 512 MB of memory. Google Maps requests go through Apify Proxy; business websites are fetched directly, without proxy traffic.

### Input

```json
{
	"searchTerms": ["Friseur", "Barbier"],
	"location": "Berlin",
	"maxPlaces": 200,
	"enrichWebsites": true,
	"website": "any",
	"minRating": 4,
	"requirePhone": true
}
```

| Field | Default | Meaning |
|---|---|---|
| searchTerms | `["Friseur"]` | German search terms |
| location | `Berlin` | City, district, postcode or federal state |
| maxPlaces | 100 | Maximum businesses across all terms |
| enrichWebsites | true | Visit websites for email and social links |
| minRating | 0 | Minimum Google rating |
| minReviews | 0 | Minimum number of reviews |
| website | any | `any`, `with` or `without` a website |
| requirePhone | false | Skip places without a phone number |
| skipClosed | true | Skip permanently closed places |
| maxConcurrency | 5 | Map tiles searched in parallel |
| proxyConfiguration | Apify Proxy | Proxy for Google Maps requests |

### Output

One dataset item per business:

```json
{
	"searchTerm": "Friseur",
	"placeId": "ChIJabcdefghijklmnopqrstuv",
	"name": "Salon Beispiel",
	"category": "Friseursalon",
	"categories": ["Friseursalon", "Barbier"],
	"address": "Beispielstraße 1, 10115 Berlin",
	"street": "Beispielstraße 1",
	"postalCode": "10115",
	"city": "Berlin",
	"district": "Mitte",
	"phone": "+49 30 1234567",
	"phoneLocal": "030 1234567",
	"website": "https://www.example.de/",
	"email": "info@example.de",
	"emails": ["info@example.de"],
	"socialLinks": ["https://www.instagram.com/exampleuser"],
	"rating": 4.6,
	"reviewCount": 128,
	"lat": 52.52,
	"lng": 13.405,
	"permanentlyClosed": false,
	"mapsUrl": "https://www.google.com/maps/search/?api=1&query=Salon%20Beispiel&query_place_id=ChIJabcdefghijklmnopqrstuv",
	"scrapedAt": "2026-01-15T12:00:00+00:00"
}
```

### HTTP API

The Actor also runs as an HTTP API in Standby mode. A request returns leads directly in the response, in the same format as the dataset items above. Use it for up to 100 leads at a time; use a normal run for whole cities.

Authenticate with your Apify API token, `Authorization: Bearer <APIFY_TOKEN>`.

| Method and path | What it does |
|---|---|
| `GET /search` | Search with query-string parameters |
| `POST /search` | Same, with a JSON body |
| `GET /` | List of endpoints |

| Parameter | Default | Meaning |
|---|---|---|
| q | required | German search term |
| location | required | City, district, postcode or federal state |
| max | 20 | Leads to return, 1 to 100 |
| enrichWebsites | true | Visit websites for email and social links |
| minRating, minReviews, website, requirePhone, skipClosed | as in the input | Lead filters |

```bash
curl -H "Authorization: Bearer $APIFY_TOKEN" \
	"https://<username>--gmaps-de-leads.apify.actor/search?q=Friseur&location=10115%20Berlin&max=20"

curl -X POST -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
	-d '{"q": "Bäckerei", "location": "Saarbrücken", "max": 10, "website": "without"}' \
	"https://<username>--gmaps-de-leads.apify.actor/search"
```

Response:

```json
{
	"count": 1,
	"items": [{ "name": "Salon Beispiel", "phone": "+49 30 1234567", "email": "info@example.de" }],
	"websitesNotChecked": 0
}
```

`websitesNotChecked` counts websites not visited before the time limit; their email fields are empty. Errors return `{"error": "..."}` with status 400 (bad parameters), 404 (location not found), 503 (Google blocked the search, try again) or 500.

### Tips

- **Max places is a total.** The terms are searched in order, so the first term can use the whole limit. Run one term per run if you need a fixed number for each.
- **Web design leads:** set **Website** to *Has no website* and **Require phone number** to on.
- **Large areas** such as a federal state are covered with up to 400 tiles, so very dense categories may not be complete. Search city by city for full coverage.
- Only places with a German postcode inside the searched area are kept, so border towns such as Saarbrücken or Aachen don't return French, Dutch or Belgian businesses.
- The best email is chosen in this order: the business's own domain, then free-mail providers (`gmx.de`, `web.de`, `t-online.de`), then any other address on the site.

### FAQ, disclaimers and support

**Is it legal to scrape Google Maps?** The Actor collects publicly visible business information. Emails and phone numbers are personal data under the GDPR (DSGVO) when they identify a person, for example a sole trader. You are responsible for having a legal basis for storing and contacting them, and for following the German rules on unsolicited advertising (UWG §7). Consult a lawyer if you are unsure.

**Why are some emails missing?** Some sites have no email, show it only as an image, or only offer a contact form.

**Development.** Run the offline tests with `python -m unittest discover -s tests`. Run locally with `apify run`; for the HTTP API, `APIFY_META_ORIGIN=STANDBY apify run` serves on port 4321.

Found a bug or need a field? Open an issue on the Actor's Issues tab.

# Actor input Schema

## `searchTerms` (type: `array`):

What to search for, in German, one per line, e.g. Friseur, Zahnarzt, Steuerberater. Do not put the location here; Google ignores the map area when the term names a place.

## `location` (type: `string`):

City, district, 5-digit postcode or federal state, e.g. Berlin, München-Schwabing, 50667, Bayern. Only places inside this area are returned. Large areas are searched in up to 400 tiles.

## `maxPlaces` (type: `integer`):

Maximum number of businesses in the dataset, across all search terms. Each business is one dataset item.

## `enrichWebsites` (type: `boolean`):

Visit each business website (homepage, then Impressum/Kontakt) to collect the email address and social profile links. Adds up to 20 seconds per website.

## `minRating` (type: `number`):

Skip places rated below this value (0 to 5). Places without reviews have rating 0.

## `minReviews` (type: `integer`):

Skip places with fewer reviews.

## `website` (type: `string`):

Keep all places, only those with a website, or only those without one (good for selling web design).

## `requirePhone` (type: `boolean`):

Skip places without a phone number.

## `skipClosed` (type: `boolean`):

Skip places Google marks as permanently closed.

## `maxConcurrency` (type: `integer`):

Map tiles searched at the same time. Website visits run at twice this number. Higher is faster but more likely to be rate limited by Google.

## `proxyConfiguration` (type: `object`):

Proxy for Google Maps requests. Business websites are fetched without a proxy.

## Actor input object example

```json
{
  "searchTerms": [
    "Friseur"
  ],
  "location": "Berlin",
  "maxPlaces": 100,
  "enrichWebsites": true,
  "minRating": 0,
  "minReviews": 0,
  "website": "any",
  "requirePhone": false,
  "skipClosed": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Businesses found on Google Maps

# 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 = {
    "searchTerms": [
        "Friseur"
    ],
    "location": "Berlin",
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("solutionssmart/gmaps-de-leads").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 = {
    "searchTerms": ["Friseur"],
    "location": "Berlin",
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("solutionssmart/gmaps-de-leads").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 '{
  "searchTerms": [
    "Friseur"
  ],
  "location": "Berlin",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call solutionssmart/gmaps-de-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,solutionssmart/gmaps-de-leads"
        }
    }
}
```

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/N1RI4QmVYQixGrl8L/builds/kV7cE87Yi7bzZtcSA/openapi.json
