# Google Maps Business Finder & Place Details (`arjun_code/local-business-finder`) Actor

Build a list of local businesses for prospecting or market research. Search Google Maps by keyword and area, filter by postal code or primary category, or paste place links. Export addresses, phone numbers, websites, opening hours, and ratings, with optional review samples and public contact emails.

- **URL**: https://apify.com/arjun_code/local-business-finder.md
- **Developed by:** [ArjunAI Data](https://apify.com/arjun_code) (community)
- **Categories:** Lead generation
- **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 saveds

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

## Google Maps Business Finder & Place Details

Find local business leads on Google Maps for sales prospecting, competitor research, and branch verification. Search by keyword and area, or paste links to specific places. Export one row per business location with its address, phone number, website, opening hours, rating, and Google Maps link.

### Find businesses by keyword and area

1. Choose **Search by keyword and area**. To try the Actor, leave the prefilled **coffee shop** and **Austin, TX** values in place.
2. Set the maximum number of results. Use the postal code and primary category filters to narrow the search.
3. Select **Start**. Open **Businesses** in the results to review the list or export it as CSV, Excel, or JSON.

The prefilled example searches for `coffee shop` in `Austin, TX` and saves up to five places. Search mode is selected by default. Copy this JSON to run the same example through the Apify API.

```json
{
  "keyword": "coffee shop",
  "location": "Austin, TX",
  "maxResults": 5
}
```

### Look up businesses from Google Maps links

Choose **Look up Google Maps place links** and paste one link per line. Turn on review samples or public business emails if you need those fields. Multiple links to the same place produce one result. Branches with different place IDs get separate rows.

```json
{
  "mode": "details",
  "placeUrls": [
    "https://www.google.com/maps/search/?api=1&query=Apple+Union+Square&query_place_id=ChIJZZ3SqIiAhYARdxDXMalu6mY"
  ]
}
```

### Input options

| Parameter | Description |
| --- | --- |
| `mode` | Choose `search` or `details`. Defaults to `search`. |
| `keyword`, `location` | Required strings in `search` mode. Enter a business type or name and an area such as `Austin, TX`. |
| `maxResults` | Maximum unique places to save after filtering in `search` mode. The form starts at 5. An API call that omits the field uses 20. A search can finish with fewer results. |
| `postalCode` | Optional postal code in `search` mode. It becomes part of the search text and filters saved places by their address postal code. Enter a string such as `02116` or `WC2N 5DN`. Matching ignores spaces and letter case. |
| `categories` | Optional array of primary category labels in `search` mode. Select suggestions in the form or type labels as shown on Google Maps. A place qualifies if its primary category matches any label, ignoring case. Leave empty to accept all categories. |
| `placeUrls` | Required array of Google Maps place links in `details` mode. |
| `includeReviewSamples` | Set to `true` to include up to five available review samples per place. Defaults to `false`. |
| `includeBusinessEmails` | Set to `true` to look for public contact emails on business websites and include each source page. Defaults to `false`. |

### Results

The dataset includes the business name, categories, full address, city, region, postal code, country code, coordinates, phone, website, weekly opening hours, rating, review count, rating breakdown, and Maps link. Missing text fields are empty strings, missing numbers are `null`, and unavailable collections are empty.

Open **Businesses** for addresses and contact details. Use **Hours and reviews** for weekly hours, rating breakdowns, and any review samples you requested. **All fields** includes the place ID and the full lookup notice when there is one.

#### Complete business result

The Austin example returned five businesses. This is the dataset API response for the first result (`limit=1`), with every field returned for that place.

```json
[
  {
    "placeId": "ChIJ1S_Bov20RIYRe7MiR8tYawY",
    "name": "Jo's Coffee – South Congress",
    "category": "Coffee shop",
    "categories": ["Coffee shop", "Cafe", "Takeout Restaurant", "Sandwich shop"],
    "address": "1300 S Congress Ave, Austin, TX 78704",
    "city": "Austin",
    "region": "Texas",
    "postalCode": "78704",
    "countryCode": "US",
    "latitude": 30.2510458,
    "longitude": -97.7493717,
    "phone": "(512) 852-2300",
    "website": "https://www.joscoffee.com/south-congress-jos",
    "openingHours": {
      "Friday": ["7 AM–7 PM"],
      "Saturday": ["7 AM–7 PM"],
      "Sunday": ["7 AM–7 PM"],
      "Monday": ["7 AM–7 PM"],
      "Tuesday": ["7 AM–7 PM"],
      "Wednesday": ["7 AM–7 PM"],
      "Thursday": ["7 AM–7 PM"]
    },
    "rating": 4.4,
    "reviewCount": 2012,
    "ratingsByStar": {"1": 77, "2": 60, "3": 128, "4": 383, "5": 1364},
    "mapsUrl": "https://www.google.com/maps/place/Jo%27s+Coffee+%E2%80%93+South+Congress/data=!4m7!3m6!1s0x8644b4fda2c12fd5:0x66b58cb4722b37b!8m2!3d30.2510458!4d-97.7493717!16s%2Fm%2F020z01l!19sChIJ1S_Bov20RIYRe7MiR8tYawY?hl=en",
    "checkedAt": "2026-11-13T07:03:17.280752+00:00"
  }
]
```

The optional fields are off in this example. Turn on `includeReviewSamples` to add `reviewSamples` with `rating`, `publishedAt`, and `text`. Turn on `includeBusinessEmails` to add `businessEmails` with `email` and `sourceUrl`.

### Pricing

Each unique business saved in a run costs **$0.004** through the **Business saved** event. **Actor Start** costs **$0.01 per startup unit**, with one unit per GB of allocated memory and a minimum of one unit.

| Result at the default 2 GB | Startup | Business results | Total |
| --- | ---: | ---: | ---: |
| Five businesses saved | $0.02 | $0.02 | **$0.04** |
| Zero businesses saved | $0.02 | $0.00 | **$0.02** |

The price includes Apify platform usage during the run, filters, and optional review and email fields. Duplicate places and notice rows incur zero result fees. A partial run charges for startup and the businesses it saved.

### Read results through the API

Start a run with `POST /v2/actors/arjun_code~local-business-finder/runs` and one of the JSON inputs above. Authenticate with your Apify API token in the `Authorization` header. Use the Apify API or schedule a saved task when you need to refresh the same search.

After the run finishes, fetch results at `GET /v2/datasets/{defaultDatasetId}/items` and the lookup summary at `GET /v2/key-value-stores/{defaultKeyValueStoreId}/records/OUTPUT`. Select rows with a `placeId` for a list of businesses.

In Apify Console, **Lookup status (OUTPUT)** shows the outcome and additional counts. Use `status`, `stopReason`, and `resultCount` to decide how to handle the output. With pay-per-event pricing, `billing.chargedCount` counts the business result events for the run.

| Status | Meaning |
| --- | --- |
| `completed` | The run finished and saved results. |
| `no_match` | The search completed and found zero matches for the input and filters. |
| `partial` | The lookup stopped early. Check `message` and `stopReason` for the cause. The dataset includes any businesses already saved. |
| `invalid_input` | Check `message` for the input to correct. |
| `failed` | The lookup stopped with an error. The message explains what to do next. |

#### Complete run summary (`OUTPUT`)

The same Austin run stopped after saving the requested five places.

```json
{
  "status": "completed",
  "message": "Saved 5 businesses.",
  "mode": "search",
  "candidateCount": 6,
  "checkedCount": 5,
  "resultCount": 5,
  "filteredCount": 0,
  "prefilteredCount": 0,
  "duplicateCount": 0,
  "failedCount": 0,
  "invalidUrlCount": 0,
  "stopReason": "result_limit",
  "durationSeconds": 3.94,
  "scrollCount": 0,
  "billing": {
    "eventName": "business-result",
    "chargedCount": 5
  }
}
```

`candidateCount` counts unique candidates discovered. `prefilteredCount` counts candidates skipped before a detail lookup. `checkedCount` counts detail checks, and `filteredCount` counts places excluded after those checks.

### FAQ and support

#### Why did the search return fewer results than I requested?

`maxResults` is a cap on saved businesses. The available listings and your filters determine how many match. `no_match` means the search finished with zero matches. If you see `partial`, check the message in **Businesses** or **Lookup status (OUTPUT)**. A smaller search area can help when the list stops loading.

#### Where do the emails and reviews come from?

The email option looks for public contact email addresses on the business website and includes the source page with each address. A business stays in the results if no email is found. The review option includes up to five available samples per place. Use the review count to see the total shown on the listing.

#### How do I report a problem?

Open the Actor's **Issues** tab and include the run ID, the search terms or place links, and what you expected to see.

This Actor is an independent tool for finding businesses listed on Google Maps.

# Actor input Schema

## `mode` (type: `string`):

Choose how to find businesses on Google Maps.

## `placeUrls` (type: `array`):

For link lookup, paste one Google Maps place link per line. Repeated links to the same place produce one result.

## `keyword` (type: `string`):

💡 In search mode, enter a business type such as coffee shop or a name such as Apple Union Square.

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

In search mode, enter a city, neighborhood, or area such as Austin, TX or London, UK. Set a postal code to keep only results in that postal area.

## `maxResults` (type: `integer`):

In search mode, enter a whole number of at least 1. The limit applies after filters. The form starts at 5. An API search uses 20 if you omit this field.

## `postalCode` (type: `string`):

Include this postal code in the search and only save places with a matching address code. Enter it as text, such as 02116 or WC2N 5DN.

## `categories` (type: `array`):

Choose suggested categories or type labels as they appear on Google Maps. A place qualifies if its primary category matches any selected label. 💡 Leave empty to accept all categories.

## `includeReviewSamples` (type: `boolean`):

Add up to five available review samples per place, with rating, date, and text when present. Open Hours and reviews in the results to see them.

## `includeBusinessEmails` (type: `boolean`):

Look for publicly listed contact emails and include each source page. ⏱️ This can make the run take longer.

## Actor input object example

```json
{
  "mode": "search",
  "placeUrls": [
    "https://www.google.com/maps/search/?api=1&query=Apple+Union+Square&query_place_id=ChIJZZ3SqIiAhYARdxDXMalu6mY"
  ],
  "keyword": "coffee shop",
  "location": "Austin, TX",
  "maxResults": 5,
  "categories": [],
  "includeReviewSamples": false,
  "includeBusinessEmails": false
}
```

# Actor output Schema

## `businesses` (type: `string`):

No description

## `summary` (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 = {
    "keyword": "coffee shop",
    "location": "Austin, TX",
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("arjun_code/local-business-finder").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 = {
    "keyword": "coffee shop",
    "location": "Austin, TX",
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("arjun_code/local-business-finder").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 '{
  "keyword": "coffee shop",
  "location": "Austin, TX",
  "maxResults": 5
}' |
apify call arjun_code/local-business-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,arjun_code/local-business-finder"
        }
    }
}
```

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/wmdfFJF7558H68wxx/builds/M8D3sdjCY3axQeCdJ/openapi.json
