# Google Maps Leads – Businesses, Phone, Website (`publicrows/google-maps-business-leads`) Actor

Local business leads from Google Maps for any search and place: name, category, address, phone, website, rating, reviews count, opening hours, coordinates and the Maps link. Licensed source, no browser, no scraping; a 100-place search answers in seconds. $2 per 1,000 businesses, first 20 free.

- **URL**: https://apify.com/publicrows/google-maps-business-leads.md
- **Developed by:** [PublicRows](https://apify.com/publicrows) (community)
- **Categories:** Lead generation, Business, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 business returneds

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 – Businesses, Phone, Website

Local business leads from Google Maps for any search and place: name, category, address, phone, website, rating, reviews count, opening hours, coordinates and the Maps link. Licensed source, no browser, no scraping; a 100-place search answers in seconds. $2 per 1,000 businesses, first 20 free.

### Who this is for

Sales teams building local prospect lists, agencies auditing a client's local competitors, and AI agents that need a trustworthy list of businesses in a place: give it a search and a city, get one row per business with the contact details the business publishes on Google.

### Sample output

```json
{
  "search": "...",
  "rank": "...",
  "name": "...",
  "category": "...",
  "additional_categories": "...",
  "address": "...",
  "city": "...",
  "postcode": "..."
}
```

### What you get

One row per organisation. Every row also carries `_source` (attribution) and the recipe version.

| Field | Type |
| --- | --- |
| `search` | string, always present |
| `rank` | number, always present |
| `name` | string, always present |
| `category` | string |
| `additional_categories` | string |
| `address` | string |
| `city` | string |
| `postcode` | string |
| `region` | string |
| `country_code` | string |
| `phone` | string |
| `website` | url |
| `domain` | string |
| `rating` | number |
| `reviews_count` | number |
| `price_level` | string |
| `is_claimed` | boolean |
| `open_status` | string |
| `work_hours` | string |
| `total_photos` | number |
| `booking_url` | url |
| `latitude` | number |
| `longitude` | number |
| `place_id` | string |
| `cid` | string, always present |
| `google_maps_url` | url |
| `is_sponsored` | boolean |
| `row_key` | string, always present |
| `source_url` | string |

Each search is one request to the licensed supplier per block of up to 100 places; the rows are what Google Maps shows for that search and place at that moment, sponsored pins included and flagged in `is_sponsored`.

`phone` and `website` are what the business lists on its own Google profile; this actor keeps firm-level contact details only and never collects reviews, photos or the people behind a listing.

Searches are not de-duplicated across lines: the same business can appear under two searches, with its own `row_key` each time; `cid` identifies the business.

### Pricing

Pay per organisation: $0.002 each ($2.00 per 1,000). The first 20 rows of every run are free, so a test costs nothing.

### How to run

1. Keep the defaults for the standard sample, or set the inputs (listed last, below).
2. Run. Results land in the dataset as JSON, CSV or Excel.
3. From code or an agent: call it through the API, or as an MCP tool via mcp.apify.com.

### Source and fair use

Data: Google Maps results through the DataForSEO SERP API, licensed. The data is bought from the supplier under its API terms on every run; nothing is scraped from any website. Rows are facts about organisations, and no personal data of individuals is included.

### FAQ

**How fresh is the data?** Each run fetches live from the source.
**Can I get more fields?** Open an issue naming the field and where it appears at the source.
**Something broke?** Open an issue. Issues are answered within 12 hours.
**Found it useful?** A short review on this page helps other people find it, and tells us what to improve.

### Inputs

- `searches`: What to search on Google Maps, one search per line: a category, a brand or a phrase ("dentist", "vegan restaurant", "Shopify agency"). Each line is one request.
- `locationName`: Where to search, as City,Region,Country in Google's naming ("Austin,Texas,United States", "Manchester,England,United Kingdom", "Pune,Maharashtra,India"). Ignored when a coordinate is given.
- `coordinate`: Optional centre point instead of a place name: latitude,longitude,zoom such as 30.2672,-97.7431,13z. Zoom 13z covers a city district, 10z a metro area.
- `language`: Language of the result labels (category names, status).
- `maxPerSearch`: Places per search, up to 700. Each block of up to 100 is one supplier request.
- `sandbox`: Use the supplier's free test environment: dummy rows, nothing charged. For trying the inputs only.
- `dfsLogin`: Optional: your own DataForSEO API login, if you prefer the supplier charge on your account.
- `dfsPassword`: Optional: your own DataForSEO API password.
- `maxItems`: Stop after this many rows.

# Actor input Schema

## `searches` (type: `string`):

What to search on Google Maps, one search per line: a category, a brand or a phrase ("dentist", "vegan restaurant", "Shopify agency"). Each line is one request.

## `locationName` (type: `string`):

Where to search, as City,Region,Country in Google's naming ("Austin,Texas,United States", "Manchester,England,United Kingdom", "Pune,Maharashtra,India"). Ignored when a coordinate is given.

## `coordinate` (type: `string`):

Optional centre point instead of a place name: latitude,longitude,zoom such as 30.2672,-97.7431,13z. Zoom 13z covers a city district, 10z a metro area.

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

Language of the result labels (category names, status).

## `maxPerSearch` (type: `integer`):

Places per search, up to 700. Each block of up to 100 is one supplier request.

## `sandbox` (type: `boolean`):

Use the supplier's free test environment: dummy rows, nothing charged. For trying the inputs only.

## `dfsLogin` (type: `string`):

Optional: your own DataForSEO API login, if you prefer the supplier charge on your account.

## `dfsPassword` (type: `string`):

Optional: your own DataForSEO API password.

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

Stop after this many rows.

## Actor input object example

```json
{
  "searches": "dentist",
  "locationName": "Austin,Texas,United States",
  "coordinate": "",
  "language": "en",
  "maxPerSearch": 20,
  "sandbox": false,
  "maxItems": 100
}
```

# Actor output Schema

## `rows` (type: `string`):

Dataset items, one per organisation (search, rank, name, category, additional_categories, address, city, postcode, region, country_code, phone, website, domain, rating, reviews_count, price_level, is_claimed, open_status, work_hours, total_photos, booking_url, latitude, longitude, place_id, cid, google_maps_url, is_sponsored, row_key, source_url). Append ?format=csv or ?format=xlsx for other formats.

## `runSummary` (type: `string`):

Pages fetched, response classes, cost estimate and the quality-gate checks for this 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 = {
    "searches": "dentist",
    "locationName": "Austin,Texas,United States",
    "coordinate": "",
    "language": "en",
    "maxPerSearch": 20,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("publicrows/google-maps-business-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 = {
    "searches": "dentist",
    "locationName": "Austin,Texas,United States",
    "coordinate": "",
    "language": "en",
    "maxPerSearch": 20,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("publicrows/google-maps-business-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 '{
  "searches": "dentist",
  "locationName": "Austin,Texas,United States",
  "coordinate": "",
  "language": "en",
  "maxPerSearch": 20,
  "maxItems": 100
}' |
apify call publicrows/google-maps-business-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,publicrows/google-maps-business-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/ZebfL3u1DZsWKfFG1/builds/qGFOkqXhaDqbu6XGK/openapi.json
