# Google Maps Review Pain → Verified Local Leads (`thenetaji/google-maps-review-pain-verified-leads`) Actor

Find local businesses whose low-rating reviews contain specified pain phrases, with review evidence and optional published website contact details.

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

## Pricing

from $8.00 / 1,000 analyzed businesses

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 Review Pain and Verified Leads

Find local businesses whose recent low-rating Google Maps reviews repeatedly use specified pain phrases. Qualified rows can include published website contact details.

### Accepted input

Provide at least one `searchQueries` value or one Google Maps CID or URL in `places`. Searches also require `latitude` and `longitude`. `painTerms` is required and accepts one to eight phrases.

```json
{
  "searchQueries": ["dentists in Austin"],
  "latitude": 30.2672,
  "longitude": -97.7431,
  "painTerms": ["rude staff", "long wait", "poor service"],
  "maxReviewRating": 3,
  "minMatchingReviews": 2,
  "reviewPages": 2,
  "includeContacts": true,
  "verifyEmails": true,
  "maxItems": 10
}
```

A phrase is confirmed only when it occurs in reviews from the required number of distinct reviewers. Matching ignores case and punctuation but does not infer related wording or sentiment.

### Response fields

Each row represents one analyzed business:

- `business_input` records whether the business came from a search or an explicit place.
- `business` contains the Google Maps business record.
- `lead_status` is `verified_lead`, `qualified_unverified`, `not_qualified`, `insufficient_evidence`, `not_found`, or `source_error`.
- `review_evidence` contains sampling coverage and review IDs, ratings, and bounded excerpts for every confirmed phrase.
- `contact_evidence` contains published website emails and phones, when enabled.
- `provenance` records the outcome of each collection stage.

```json
{
  "business_input": {
    "type": "search",
    "value": "dentists in Austin"
  },
  "business": {
    "cid": "0x1234:0x5678",
    "name": "Example Dental",
    "address": "100 Congress Ave, Austin, TX",
    "rating": 3.9,
    "website": "https://example-dental.test"
  },
  "lead_status": "verified_lead",
  "review_evidence": {
    "status": "confirmed",
    "sample_scope": "newest_available",
    "pages_requested": 2,
    "pages_fetched": 2,
    "reviews_collected": 38,
    "eligible_low_rating_text_reviews": 12,
    "max_review_rating": 3,
    "minimum_distinct_reviewers": 2,
    "pagination_complete": false,
    "stopped_reason": "page_limit",
    "clusters": [
      {
        "phrase": "long wait",
        "distinct_reviewers": 3,
        "evidence": [
          {
            "review_id": "review-1",
            "rating": 2,
            "text": "the long wait made me late for my appointment"
          }
        ]
      }
    ]
  },
  "contact_evidence": {
    "attempted": true,
    "status": "completed",
    "emails": ["contact@example-dental.test"],
    "phones": ["+1 512 555 0100"],
    "verified_emails": ["contact@example-dental.test"],
    "verification_status": "completed"
  }
}
```

### Coverage and partial results

Evidence describes a bounded sample of the newest available reviews, not the complete review history. Star-only reviews cannot contribute phrase evidence. Duplicate review IDs are removed, and one reviewer can support a phrase only once.

Businesses with too little review text remain in the dataset as `insufficient_evidence`; businesses with an adequate sample but no confirmed phrase are `not_qualified`. A missing explicit place is `not_found`. Collection failures are kept separate as `source_error` and never presented as negative evidence.

Published website contact collection runs for confirmed review pain when a website is available. Mailbox verification is optional; catch-all and unconfirmed addresses do not produce `verified_lead`.

A phrase match is textual review evidence, not a sentiment or authenticity judgment.

For company hiring evidence and current decision-makers, use [LinkedIn Hiring Signals and Buying Committee Contacts](https://apify.com/thenetaji/linkedin-hiring-trigger-buying-committee).

# Actor input Schema

## `searchQueries` (type: `array`):

Optional Google Maps searches such as hotels in Austin. Each search is expanded into businesses to analyze.

## `places` (type: `array`):

Optional Google Maps CIDs or Maps URLs containing a CID to analyze directly.

## `latitude` (type: `number`):

Latitude used with a business search, from -90 to 90.

## `longitude` (type: `number`):

Longitude used with a business search, from -180 to 180.

## `spanMetres` (type: `integer`):

Width of the Google Maps viewport around the supplied coordinates, in metres.

## `painTerms` (type: `array`):

Exact phrases to find in sampled low-rating reviews, such as rude staff, long wait, or dirty room.

## `maxReviewRating` (type: `integer`):

Only reviews at or below this star rating are checked for your exact phrases.

## `minMatchingReviews` (type: `integer`):

Minimum distinct reviewers whose low-rating reviews must contain a phrase before it is confirmed.

## `reviewPages` (type: `integer`):

Number of recent Google Maps review pages to sample for each business.

## `includeContacts` (type: `boolean`):

Collect published website contacts for businesses with confirmed review pain.

## `verifyEmails` (type: `boolean`):

On paid runs, verify published website email addresses. Catch-all and unconfirmed mailboxes are not treated as verified.

## `contactMaxPages` (type: `integer`):

Maximum website pages to check when collecting published contacts.

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

Maximum business rows to save across the run. Set 0 for no limit.

## Actor input object example

```json
{
  "searchQueries": [
    "hotels in Austin"
  ],
  "places": [
    "0x808580f45ee63535:0x1142d6e90e4409f5"
  ],
  "latitude": 30.2672,
  "longitude": -97.7431,
  "spanMetres": 20000,
  "painTerms": [
    "rude staff",
    "dirty",
    "noisy"
  ],
  "maxReviewRating": 3,
  "minMatchingReviews": 2,
  "reviewPages": 2,
  "includeContacts": true,
  "verifyEmails": false,
  "contactMaxPages": 3,
  "maxItems": 20
}
```

# Actor output Schema

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

All records scraped by 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 = {
    "searchQueries": [
        "hostel"
    ],
    "latitude": 37.7981,
    "longitude": -122.4054,
    "spanMetres": 20000,
    "painTerms": [
        "rude staff",
        "dirty",
        "noisy"
    ],
    "maxReviewRating": 3,
    "minMatchingReviews": 2,
    "reviewPages": 2,
    "includeContacts": true,
    "contactMaxPages": 3,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("thenetaji/google-maps-review-pain-verified-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 = {
    "searchQueries": ["hostel"],
    "latitude": 37.7981,
    "longitude": -122.4054,
    "spanMetres": 20000,
    "painTerms": [
        "rude staff",
        "dirty",
        "noisy",
    ],
    "maxReviewRating": 3,
    "minMatchingReviews": 2,
    "reviewPages": 2,
    "includeContacts": True,
    "contactMaxPages": 3,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("thenetaji/google-maps-review-pain-verified-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 '{
  "searchQueries": [
    "hostel"
  ],
  "latitude": 37.7981,
  "longitude": -122.4054,
  "spanMetres": 20000,
  "painTerms": [
    "rude staff",
    "dirty",
    "noisy"
  ],
  "maxReviewRating": 3,
  "minMatchingReviews": 2,
  "reviewPages": 2,
  "includeContacts": true,
  "contactMaxPages": 3,
  "maxItems": 20
}' |
apify call thenetaji/google-maps-review-pain-verified-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thenetaji/google-maps-review-pain-verified-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/f6lYkDwxyXm7f3e73/builds/McVPja295dtDNaMeO/openapi.json
