# Lead Scraper: Google Maps + LinkedIn (`akash9078/lead-scraper-google-maps-linkedin`) Actor

Scrapes Google Maps businesses via the official Google Places API (New) and enriches them with LinkedIn company and people profile URLs found through Google search.

- **URL**: https://apify.com/akash9078/lead-scraper-google-maps-linkedin.md
- **Developed by:** [Akash Kumar Naik](https://apify.com/akash9078) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 place results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

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

### What is Lead Scraper: Google Maps + LinkedIn?

Lead Scraper: Google Maps + LinkedIn is an Apify Actor that extracts verified business leads from Google Maps using the official Google Places API (New) and enriches every lead with LinkedIn company and decision-maker profile URLs. It is designed for B2B lead generation, sales prospecting, market research, and local business intelligence. The Actor uses only the official Google Places API and Google search (`site:` operator) — it never scrapes LinkedIn directly, never logs in, and makes no requests to LinkedIn.

### What can this Actor do?

- Search Google Maps businesses by **category** and **region**.
- Return structured business data: name, address, latitude, longitude, phone, website, rating, review count, opening hours, photos, price level, business status.
- Enrich each lead with a **LinkedIn company URL** and up to **3 decision-maker profiles** (owner, founder, director, manager, CEO) with fuzzy match scores.
- Tile the region into a grid and recursively split dense cells to bypass the 60-result-per-query cap.
- Deduplicate by place ID across cells and drop permanently closed businesses.
- Push results to the default dataset and write a `RUN_SUMMARY` to the key-value store.

### What data can this Actor extract?

Each dataset item contains: `placeId, name, category, address, lat, lng, phone, website, rating, ratingCount, googleMapsUrl, businessStatus, linkedinCompanyUrl, linkedinCompanyMatchScore, people[], source, scrapedAt, opening_hours, photos, reviews, price_level`.

### Platform advantages

Your Actor and the Apify platform come as a package. This Actor benefits from Apify monitoring, access to API, scheduling, integrations, proxy rotation, and pay-per-event pricing. Runs are monitored in Apify Console, results are accessible via API, and runs can be scheduled or chained with other Actors.

### How to use this Actor

1. Provide a business **category** and a **region**.
2. Optionally provide a Google Places API key (or rely on the Apify environment variable `GOOGLE_MAPS_API_KEY`).
3. Set **maxLeads** and optional LinkedIn settings.
4. Run the Actor and download results from the dataset (JSON or CSV).

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| category | string | yes | — | Business category, e.g. "dental clinic" |
| region | string | yes | — | Region, e.g. "Sambalpur, Odisha, India" |
| googleApiKey | string (secret) | no | env | Google Places API key |
| maxLeads | integer | no | 100 | Maximum leads (up to 1000) |
| enableLinkedIn | boolean | no | true | Enable LinkedIn enrichment |
| linkedInMaxBusinesses | integer | no | 50 | Cap businesses sent to LinkedIn lookup |
| regionCode | string | no | — | ISO-2 country code |
| languageCode | string | no | en | Language code |

### Output example

```json
{
  "placeId": "ChIJ...",
  "name": "Acme Dental Clinic",
  "category": "dentist",
  "address": "Main St, Sambalpur, Odisha, India",
  "lat": 21.4669,
  "lng": 83.9812,
  "phone": "+91 ...",
  "website": "https://example.com",
  "rating": 4.5,
  "ratingCount": 120,
  "googleMapsUrl": "https://maps.google.com/...",
  "businessStatus": "OPERATIONAL",
  "linkedinCompanyUrl": "https://linkedin.com/company/acme-dental",
  "linkedinCompanyMatchScore": 0.85,
  "people": [
    { "name": "Jane Doe", "headline": "Founder", "url": "https://linkedin.com/in/jane-doe", "matchScore": 0.8 }
  ],
  "source": "google_maps",
  "scrapedAt": "2026-11-10T00:00:00.000Z"
}
```

### How much will it cost to scrape Google Maps leads?

This Actor uses pay-per-event pricing. Events: `apify-actor-start` (synthetic start), `place-result` (per lead), `api-call` (per Google Places API call), `serp-query` (per Google SERP query for LinkedIn enrichment). Users can set a maximum run cost; the Actor stops charging and pushing once the limit is reached.

### Pricing

- `apify-actor-start`: synthetic start event (first 5 seconds of compute).
- `place-result`: charged per lead returned.
- `api-call`: charged per Google Places API call.
- `serp-query`: charged per Google SERP query used for LinkedIn enrichment.

### FAQ

#### Is LinkedIn scraped directly?

No. Only Google search results are used via the `site:` operator.

#### Does it store API keys?

Keys are never logged or stored in output.

#### Can I run without LinkedIn?

Yes — set `enableLinkedIn` to false.

#### What if my region returns fewer than maxLeads?

The Actor returns all available results and reports counts in RUN_SUMMARY.

#### How is cost controlled?

Set `maxTotalCostUsd`; the Actor stops once the user's spending limit is reached.

#### Disclaimers and legality

User is responsible for lawful use of lead data under GDPR, CAN-SPAM, DPDP, and other applicable laws. Google Maps Platform terms restrict caching and storing Places content beyond place IDs; review before reselling.

### Interlinking

For related tools, see other Apify Actors for web scraping, data extraction, and automation on the Apify Store.

### Keywords

Google Maps scraper, Google Places API, lead generation, B2B leads, business leads, LinkedIn enrichment, decision makers, sales prospecting, local business data, company profiles, contact finder, Google Maps to LinkedIn, lead scraper Apify, business directory scraper.

# Actor input Schema

## `category` (type: `string`):

Business category to search.

## `region` (type: `string`):

Region to search.

## `regionCode` (type: `string`):

Optional ISO-2 country code.

## `languageCode` (type: `string`):

Language for results.

## `maxLeads` (type: `integer`):

Maximum number of leads.

## `linkedInMaxBusinesses` (type: `integer`):

Cap businesses sent to LinkedIn lookup.

## Actor input object example

```json
{
  "category": "coffee shop",
  "region": "New York, USA",
  "regionCode": "US",
  "languageCode": "en",
  "maxLeads": 100,
  "linkedInMaxBusinesses": 50
}
```

# Actor output Schema

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

Dataset containing all found leads

## `summary` (type: `string`):

Summary of the search run

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("akash9078/lead-scraper-google-maps-linkedin").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("akash9078/lead-scraper-google-maps-linkedin").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 '{}' |
apify call akash9078/lead-scraper-google-maps-linkedin --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,akash9078/lead-scraper-google-maps-linkedin"
        }
    }
}
```

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/A10du2ch3fUG9wBXf/builds/Akcq0zotfROKYHvai/openapi.json
