# Google Maps Leads Scraper (`upadhyay.labs/google-maps-leads-scraper`) Actor

Extract business leads from Google Maps: name, address, phone, email, website, rating, reviews, opening hours, social links and more. Fast HTTP engine, no browser. Search any city worldwide and export to JSON, CSV or Excel. No API key needed. Pay only per lead.

- **URL**: https://apify.com/upadhyay.labs/google-maps-leads-scraper.md
- **Developed by:** [Upadhyay Labs](https://apify.com/upadhyay.labs) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 business lead extracteds

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

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 Scraper

**Google Maps Leads Scraper** extracts **business leads from Google Maps** at scale and turns any
search — like *"plumbers in New York"* — into a clean, structured dataset. For every business you
get its **name, full address, phone number, email, website, rating, reviews, category, opening
hours, social links** and more. No Google API key, no browser extension, and no manual
copy‑pasting.

> 💡 **No code required.** Type a search term, press **Start**, and download your leads as JSON,
> CSV or Excel — or pull them straight into your app through the Apify API.

https://www.youtube.com/watch?v=FZRJ0xREc9U

This Google Maps scraper runs on a fast **HTTP engine** — it talks to Google Maps' own data feed
directly instead of driving a real browser, so it's quick, lightweight and reliable. Because it
runs on the [Apify platform](https://apify.com), you also get scheduling, monitoring, a full REST
API, webhooks, proxy rotation and 50+ ready‑made [integrations](https://apify.com/integrations)
(Make, Zapier, Google Sheets, Slack and more) out of the box.

### What does Google Maps Leads Scraper do?

It automates the lead‑research you'd otherwise do by hand in Google Maps:

- 🔎 **Searches by keyword + location** — run many queries in a single job (e.g. *"dentists in
  Chicago"*, *"hair salons in Miami"*).
- 🏢 **Returns full business details** for up to ~200 places per search in one request, then pages
  through more automatically.
- 📧 **Finds emails and social profiles** by scanning each business's own website (optional).
- 🌍 **Works worldwide** with configurable language and country.
- 🧹 **Cleans and validates** every record before it's saved (phone, URL and email validation,
  de‑duplication by place).

#### Who it's for

| You are…                     | Use it to…                                               |
| ---------------------------- | -------------------------------------------------------- |
| **Sales / SDR teams**        | Build targeted call & email lists for any niche and city |
| **Marketing agencies**       | Research local competitors, ratings and reviews          |
| **Founders**                 | Find suppliers, partners or customers                    |
| **Recruiters**               | Locate companies in a specific area and industry         |
| **Local service businesses** | Scout nearby businesses and map out a territory          |

### What data can you extract?

| Data                                                                      | Example                                           |
| ------------------------------------------------------------------------- | ------------------------------------------------- |
| 🏢 Business name                                                          | Joe's Plumbing & Heating                          |
| 📝 Description (Google's summary, when available)                         | "Family‑run plumbing & heating service"           |
| 📍 Full address + street, neighborhood, city, state, postal code, country | 742 Evergreen Terrace, Springfield, IL 62704      |
| 📞 Phone (formatted + E.164)                                              | (217) 555‑0142 · +12175550142                     |
| 🌐 Website                                                                | https://joesplumbing.com                          |
| 📧 Email                                                                  | from the business website, when published         |
| ⭐ Rating & review count                                                  | 4.8 · 312 reviews                                 |
| 🏷️ Category + full category list                                          | Plumber · \[Plumber, Heating contractor]           |
| 🕑 Opening hours                                                          | Monday: 8 AM–6 PM; …                              |
| 📱 Social links                                                           | Facebook, Instagram, LinkedIn, X, YouTube, TikTok |
| 🧾 "About" attributes (`additionalInfo`)                                  | Accessibility, service options, payments…         |
| 🖼️ Photos · ♿ accessibility · 🌍 timezone                                | —                                                 |
| 🆔 Place identifiers (`placeId`/`fid`, `cid`) + direct Google Maps link   | —                                                 |

### How to scrape Google Maps leads

1. Click **Try for free** / **Start** to open the Actor.
2. In **Search terms**, type what you'd search on Google Maps, including the location —
   e.g. `Dentists in Chicago`. Add as many terms as you like.
3. Set **Maximum items** — how many results you want per search term.
4. (Optional) Turn **Include email** and **Include social links** on or off. These visit each
   business's website, so they add time; leave them off for the fastest run.
5. (Optional) For non‑US searches, set **Language** and **Country**.
6. Press **Start**. Results stream into the **Output** tab as they're found — export as JSON, CSV
   or Excel, or fetch them via the API.

#### Tips for the best results

- Be specific: *"Italian restaurants in Brooklyn"* beats *"restaurants in NY"*.
- Combine many cities/categories in one run — batching is faster and cheaper than one run per
  query.
- Need more than a single city? Use **Location** + **Grid size** to split a region into tiles for
  exhaustive, wide‑area coverage (e.g. *"every dentist in Texas"*).

### Input

The Actor accepts a simple JSON input (or fill the form in the Console — every field has an inline
description). Minimal example:

```json
{
    "searchTerms": ["Plumbers in New York"],
    "maxItems": 100
}
```

Search several markets at once:

```json
{
    "searchTerms": ["Coffee shops in San Francisco", "Pizza restaurants in Boston"],
    "maxItems": 100,
    "includeEmail": true,
    "includeSocialLinks": true
}
```

Fastest possible run (skip the per‑website email/social crawl):

```json
{
    "searchTerms": ["Hotels in Dubai"],
    "maxItems": 500,
    "includeEmail": false,
    "includeSocialLinks": false
}
```

#### Main input options

| Field                             | Description                                                         |
| --------------------------------- | ------------------------------------------------------------------- |
| `searchTerms`                     | Your Google Maps queries, location included (e.g. "Dentists in LA") |
| `maxItems`                        | Max results per search term (1–500)                                 |
| `includeEmail`                    | Scan each business website for an email address                     |
| `includeSocialLinks`              | Scan each business website for social profiles                      |
| `maxEmailPagesFromWebsite`        | How many website pages to scan for an email (1–20)                  |
| `onlyBusinessesWithEmail`         | Keep only results that have an email                                |
| `includeWebsite` / `includePhone` | Include website / phone in the output (free — same request)         |
| `includeOpeningHours`             | Include the weekly opening‑hours schedule                           |
| `categoryFilterWords`             | Keep only businesses whose category matches a word                  |
| `skipClosedPlaces`                | Drop businesses marked closed (fails open if unknown)               |
| `locationQuery` + `gridSize`      | Center + tile a region for wide‑area coverage                       |
| `language` / `countryCode`        | Google interface language (`hl`) and country bias (`gl`)            |
| `startUrls`                       | Google Maps place URLs (name in the path) — one place per URL       |
| `proxyConfiguration`              | Apify Proxy settings (required)                                     |

### Output

Each business is saved as one dataset item. Example:

```json
{
    "businessName": "Macosa Trattoria",
    "description": "Warm Italian joint making pizza, pasta & risotto.",
    "address": "310 Tompkins Ave, Brooklyn, NY 11216",
    "street": "310 Tompkins Ave",
    "neighborhood": "Bedford-Stuyvesant",
    "city": "Brooklyn",
    "state": "New York",
    "postalCode": "11216",
    "countryCode": "US",
    "website": "https://www.macosanyc.com/",
    "phone": "(929) 234-5992",
    "phoneUnformatted": "+19292345992",
    "email": "info@macosanyc.com",
    "rating": 4.5,
    "reviewCount": 491,
    "category": "Italian restaurant",
    "categories": ["Italian restaurant"],
    "openingHours": "Monday: 5–10 PM; Tuesday: 5–10 PM; …",
    "additionalInfo": { "Accessibility": ["Wheelchair accessible entrance"] },
    "socialLinks": { "instagram": "https://www.instagram.com/macosa_trattoria/" },
    "timezone": "America/New_York",
    "latitude": 40.6872959,
    "longitude": -73.9448443,
    "placeId": "0x89c25bd4f9c0eb4b:0x73e8292fe562791f",
    "fid": "0x89c25bd4f9c0eb4b:0x73e8292fe562791f",
    "cid": "8351970794647222559",
    "googleMapsUrl": "https://www.google.com/maps?cid=8351970794647222559",
    "searchTerm": "Italian restaurants in Brooklyn",
    "scrapedAt": "2026-11-06T11:53:47.493Z"
}
```

#### Output fields

| Field                                           | Type           | Description                                            |
| ----------------------------------------------- | -------------- | ------------------------------------------------------ |
| `businessName`                                  | String         | Business name as shown on Google Maps                  |
| `description`                                   | String         | Google's editorial summary, when available             |
| `address`                                       | String         | Full formatted address                                 |
| `street` / `neighborhood`                       | String         | Parsed from the structured address                     |
| `city` / `state` / `postalCode` / `countryCode` | String         | Parsed from the structured address                     |
| `website`                                       | String         | Business website (cleaned)                             |
| `phone` / `phoneUnformatted`                    | String         | Local format and E.164 (`+1…`)                         |
| `email`                                         | String         | From the business website, when published              |
| `rating` / `reviewCount`                        | Number         | Star rating and number of reviews                      |
| `category` / `categories`                       | String / Array | Primary category and full list                         |
| `openingHours`                                  | String         | Weekly schedule                                        |
| `additionalInfo`                                | Object         | Grouped "About" attributes Google lists                |
| `socialLinks`                                   | Object         | Facebook / Instagram / LinkedIn / X / YouTube / TikTok |
| `accessibility`                                 | Array          | Accessibility features (also in `additionalInfo`)      |
| `timezone`                                      | String         | IANA timezone                                          |
| `photos`                                        | Array          | Direct photo URLs                                      |
| `reserveTableUrl`                               | String         | Reservation link (restaurants, where available)        |
| `kgmid`                                         | String         | Google Knowledge Graph ID                              |
| `latitude` / `longitude`                        | Number         | Coordinates                                            |
| `placeId` / `fid` / `cid`                       | String         | Google place identifiers                               |
| `googleMapsUrl`                                 | String         | Direct link to the listing                             |
| `searchTerm`                                    | String         | Query that produced the result                         |
| `scrapedAt`                                     | String         | ISO 8601 timestamp                                     |

### How the scraper works

1. It sends one HTTP request per search term (or map tile) to Google Maps' internal search feed.
2. That single response already contains full detail — name, address, phone, website, rating,
   hours and categories — for up to ~200 businesses.
3. It automatically pages through further results when you request more.
4. When email/social extraction is enabled, it fetches each business's own website (still plain
   HTTP, no browser) to look for an email address and social profile links.
5. Every record is validated, de‑duplicated by place, and written to the dataset.

#### Proxy configuration

[Apify Proxy](https://docs.apify.com/proxy) is **required**. It's used for all Google Maps requests
and for location lookups, with sessions rotated automatically when a request is blocked. Leave the
group on **Automatic** for most runs. If you see blocked or empty Google Maps responses, switch to
[residential proxies](https://docs.apify.com/proxy/residential-proxy) (and set the proxy country to
match your search market):

```json
{
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US"
    }
}
```

### Is it legal to scrape Google Maps?

This Actor collects **publicly available business information** — the same details any person
browsing Google Maps can see. Scraping public data is generally legal, but **you are responsible**
for how you use the results and for complying with Google's Terms of Service and any applicable
laws in your jurisdiction (for example GDPR and CAN‑SPAM when doing outreach). Don't collect
personal data you don't have a lawful basis to process. If in doubt, seek legal advice.

### FAQ

#### How is this different from the Google Places API?

No Google Cloud account, no API key and no per‑call quota tiers — you give it a search term and it
returns structured results directly.

#### Why are some emails or social links missing?

Email and social links are read from each business's **own website**. Not every business lists a
phone or website on Google Maps, and many don't publish an email at all — in those cases the field
is `null`. Set `onlyBusinessesWithEmail` to keep only rows that have one.

#### Why is `priceLevel` usually empty, and `businessStatus` always "OPERATIONAL"?

This data source (Google's search feed) doesn't reliably expose a price tier or a
"permanently closed" flag — those live on the full place page. Rather than guess, the Actor reports
them honestly (`priceLevel` is usually `null`, `businessStatus` is `OPERATIONAL`). No field is ever
fabricated.

#### I'm getting fewer results than `maxItems`.

A single Google Maps search returns at most roughly 200–250 places, and some areas simply have fewer
listings than you asked for. To go further, set `locationQuery` + `gridSize`: the area is split into
tiles, each searched separately, and duplicates are removed. `maxItems` is always a cap for the whole
search term, across all tiles — you never get more than you asked for.

#### Can I use Place IDs or map URLs?

Use **Search terms** or **Start URLs** (a full Google Maps place URL with the business name in its
path). Each Start URL returns exactly that one place — if no result matches its name, it's skipped
(nothing is saved). A bare Place ID can't be resolved by the HTTP engine and is skipped with a warning.

#### Can I schedule runs or send results elsewhere?

Yes. Use Apify [Schedules](https://docs.apify.com/platform/schedules) to run it automatically, and
[integrations](https://apify.com/integrations) or [webhooks](https://docs.apify.com/platform/integrations/webhooks)
to push leads into Google Sheets, a CRM, Slack, or your own app via the API.

### How it compares to other Google Maps scrapers

|                  | This Actor (HTTP engine)              | Typical browser‑based scrapers         |
| ---------------- | ------------------------------------- | -------------------------------------- |
| Engine           | Direct HTTP to Google's data feed     | Headless browser + scrolling           |
| Speed            | Fast — up to ~200 results per request | Slower — renders and scrolls each page |
| Email extraction | Built in (optional website scan)      | Often a separate add‑on                |
| Social links     | Built in                              | Often not included                     |
| Setup            | No API key                            | Varies                                 |

### Related scrapers

Looking for more data sources? Browse the [Apify Store](https://apify.com/store) for scrapers that
pair well with this one — social media, review and contact‑enrichment Actors all read this Actor's
dataset through the same [Apify API](https://docs.apify.com/api/v2).

### Support

Found a bug, need a new field, or want a custom version for your use case? Open an issue.

# Actor input Schema

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

Array of search queries (e.g., 'Plumbers in New York', 'Dentists in London'). Optional if you provide Start URLs instead.

## `startUrls` (type: `array`):

Each URL returns exactly that one place. Direct Google Maps place URLs to scrape instead of (or alongside) Search Terms — e.g. a URL copied from your browser like '.../maps/place/Some+Business/@40.7,-74.0,17z/...'. The business name in the URL's path is used to look it up; a bare '?q=place_id:...' URL with no name in the path cannot be resolved and will be skipped with a warning.

## `maxItems` (type: `integer`):

Maximum number of businesses to save per search term — a hard cap that also covers every tile of a wide-area grid search. A single Google Maps search returns up to roughly 200–250 places; use Wide-area search to go beyond that.

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

Apify Proxy configuration (required for anti-blocking). Leave the group selection on "Automatic" unless your plan includes a premium group like RESIDENTIAL — the Actor falls back automatically if the selected group isn't available.

## `includeWebsite` (type: `boolean`):

Include the business website URL in the output. Free to fetch (comes in the same request as everything else), so leave on unless you specifically want it stripped.

## `includePhone` (type: `boolean`):

Include the business phone number in the output. Free to fetch (comes in the same request as everything else), so leave on unless you specifically want it stripped.

## `includeEmail` (type: `boolean`):

Scan each business's own website for an email address (home/contact/about pages). Not every business publishes one, so this field can be null.

## `maxEmailPagesFromWebsite` (type: `integer`):

When email is not found on Google Maps, scan up to this many pages on the business website (home/contact/about paths + relevant internal links). Higher values improve coverage but increase runtime.

## `onlyBusinessesWithEmail` (type: `boolean`):

If enabled, records without a valid email are skipped so every exported row has an email

## `includeOpeningHours` (type: `boolean`):

Include the weekly opening hours schedule in the output

## `includeSocialLinks` (type: `boolean`):

Scan the business website for social profile links (Facebook, Instagram, LinkedIn, X/Twitter, YouTube, TikTok) — reuses the same website scan as email extraction, so it adds no extra requests when email is also enabled.

## `skipClosedPlaces` (type: `boolean`):

If enabled, businesses marked as permanently or temporarily closed on Google Maps are not saved. Businesses whose status couldn't be determined are kept (fails open).

## `categoryFilterWords` (type: `array`):

Only save businesses whose category contains at least one of these words (case-insensitive, e.g. 'restaurant' won't match 'nail salon'). Leave empty to keep every category.

## `locationQuery` (type: `string`):

A city/region to search across (e.g. 'Austin, TX, USA'), used as the search center for every search term. Only needed if your search terms don't already include a location (e.g. plain 'dentists' rather than 'dentists in Austin, TX') — leave empty otherwise. Setting Grid Size above 1 splits this location into multiple tiles for exhaustive wide-area coverage.

## `gridSize` (type: `integer`):

Only used when Location is set. 1 (default) searches the whole location in one go — a single request already returns up to ~200 results per search term. Raise above 1 only for exhaustive wide-area coverage beyond that (e.g. 'all dentists in Texas'), splitting the location into an N×N grid of tiles. Higher values increase runtime and request volume.

## `language` (type: `string`):

Google interface language code (hl) for localized results — e.g. 'en', 'de', 'fr', 'es'. Affects how names, categories and hours are returned. Defaults to English.

## `countryCode` (type: `string`):

Two-letter country code (gl) that biases which regional results Google returns — e.g. 'us', 'gb', 'de', 'au'. Set it to the country you're searching in for the most accurate results. Defaults to US.

## Actor input object example

```json
{
  "searchTerms": [
    "Coffee shops in New York"
  ],
  "startUrls": [],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "includeWebsite": true,
  "includePhone": true,
  "includeEmail": true,
  "maxEmailPagesFromWebsite": 10,
  "onlyBusinessesWithEmail": false,
  "includeOpeningHours": true,
  "includeSocialLinks": true,
  "skipClosedPlaces": false,
  "categoryFilterWords": [],
  "gridSize": 1,
  "language": "en",
  "countryCode": "us"
}
```

# Actor output Schema

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

Dataset containing all scraped business leads

## `files` (type: `string`):

Key-value store containing internal run state

# 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": [
        "Coffee shops in New York"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "language": "en",
    "countryCode": "us"
};

// Run the Actor and wait for it to finish
const run = await client.actor("upadhyay.labs/google-maps-leads-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 = {
    "searchTerms": ["Coffee shops in New York"],
    "proxyConfiguration": { "useApifyProxy": True },
    "language": "en",
    "countryCode": "us",
}

# Run the Actor and wait for it to finish
run = client.actor("upadhyay.labs/google-maps-leads-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 '{
  "searchTerms": [
    "Coffee shops in New York"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "language": "en",
  "countryCode": "us"
}' |
apify call upadhyay.labs/google-maps-leads-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,upadhyay.labs/google-maps-leads-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/360mg7iSYH3Xr4LN9/builds/ViiVuO3OMTRc4IvUO/openapi.json
