# Google Business Profile Audit & Local Rival Benchmark (`crawlyth-forge/google-business-profile-audit`) Actor

Audit a Google Business Profile against the live local results for a keyword. Scores profile, media, review and visibility gaps, measures 30/90-day review velocity and owner replies, and returns peer benchmarks and prioritised fixes. Cookieless, no browser, no API key.

- **URL**: https://apify.com/crawlyth-forge/google-business-profile-audit.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** SEO tools, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Business Profile Audit & Local Rival Benchmarks

Audit a Google Business Profile the way a nearby customer and a local competitor see it. The actor
opens a signed-out Google Maps profile, measures what is filled in, reads the newest reviews and
owner replies, checks owner posts and a gallery sample, then ranks the business against the live
Maps results for a keyword at its own location. Every row ends with a 0-100 score, the evidence for
each check, the peer medians and a short list of fixes ordered by the points they can recover.

No Google login, cookies, browser, API key or separate scraper is needed.

### What makes it different

- **Review velocity is measured, not guessed.** The actor walks Google's newest-first review feed
  until it has covered the last 30 and 90 days (or the per-business cap). It reports the counts,
  the covered window and whether the window is complete; a capped sample is labelled `estimated`
  instead of being presented as a total.
- **Owner behaviour is counted over the sample.** Reply rate and median reply delay come from the
  same reviews, with exact reply dates when Google exposes them and an explicitly approximate
  method when it only prints "2 weeks ago".
- **Competitors are the real local pack.** One keyword search anchored at the business's coordinates
  gives the rank and the first N places a customer nearby sees; the audit compares score, rating,
  review volume and velocity, reply rate, photos, attributes and post recency against their medians.
- **Media is split by contributor.** A small public gallery sample is classified through each item's
  contributor metadata, so owner photos and customer photos are reported separately (sample-scoped).
- **Per-check evidence.** Every check carries its points, maximum, found value, why it matters and
  the fix. Unknown checks are excluded from the score, and `coverage` shows how much of the rubric
  could be assessed.

### Input modes

| Mode | Use it with | What happens |
|---|---|---|
| `business` | `businessName` + `city` (and optionally `primaryKeyword`) | Finds the matching place, then audits it and the keyword's local competitors. |
| `place` | `placeUrls`: Maps place links, `ChIJ...` Place IDs, `0x...:0x...` feature IDs or `maps.app.goo.gl` share links | Verifies each place against Google's place header before auditing it. Several targets can be audited in one run. |

`primaryKeyword` is the customer search used for rank and competitors (for example `pizza`,
`emergency plumber`, `dentist`). When it is empty the actor uses the profile's primary category.

#### Inputs and defaults

| Input | Default | Effect |
|---|---|---|
| `mode` | `business` | `business` finds by name + city; `place` verifies each supplied link/ID. |
| `businessName` | `Joe's Pizza` | Business name for `business` mode. |
| `city` | `New York` | City/location for `business` mode. |
| `placeUrls` | `[]` | Maps place links, `ChIJ...` Place IDs, feature IDs or share links for `place` mode. |
| `primaryKeyword` | `pizza` | Customer search used for rank and competitors; empty uses the primary category. |
| `competitorCount` | `5` | Top N local results to benchmark (0-20). 0 disables discovery. |
| `includeCompetitors` | `true` | Run the keyword search and comparison. |
| `includeCompetitorRecords` | `true` | Emit a separate row per competitor with its own checklist and score. |
| `includeClosedCompetitors` | `false` | Keep permanently closed places in the benchmark. |
| `maxReviewsPerBusiness` | `180` | Newest-first review cap; the walk stops earlier once 90 days are covered. |
| `includePosts` | `true` | Read visible owner updates/offers/events and score the latest post date. |
| `maxPostsPerBusiness` | `3` | Recent posts included per row (1-20). |
| `includeMediaBreakdown` | `true` | Read a small gallery sample for video presence and the owner/customer split. |
| `photoSampleSize` | `10` | Gallery items in that sample (1-30). |
| `includePhotoOwnerSplit` | `true` | Fetch contributor metadata and classify owner vs customer photos. |
| `language` | `en` | Maps interface language (100+ codes). |
| `country` | `us` | Country context (`gl`): us, gb, ca, au, de, fr, es, it, nl, br, in, jp, mx. |
| `maxItems` | `50` | Hard cap on dataset rows, including notes for unresolved inputs. |

### Output

Each row has `recordType`: `audit` (the requested business), `competitor` (a benchmarked local
place), or `note` (an input that could not be resolved).

**Identity and profile:** `name`, `placeId`, `featureId`, `cid`, `address`, `latitude`, `longitude`,
`categories`, `primaryCategory`, `secondaryCategories`, `rating`, `reviewsCount`,
`ratingHistogram`, `reviewTopics`, `description`, `website`, `phone`, `openingHours`,
`hoursComplete`, `hoursMissingDays`, `specialHoursNotices`, `attributes`, `attributeCount`,
`serviceOptions`, `photoCount`, `actionLinks`, `menuLink`, `bookingLink`, `orderLink`,
`hasBookingOrMenuLink`, `businessStatus`, `mapsUrl`.

**Activity and reviews:** `reviewSampleSize`, `reviewSampleCoveredDays`, `reviewsLast30d`,
`reviewsLast90d`, `reviewsLast30dComplete`, `reviewsLast90dComplete`, `reviewVelocity30d`,
`reviewVelocity90d`, `reviewVelocityMethod`, `ownerReplyRate`, `ownerReplyCount`,
`ownerMedianReplyDays`, `ownerReplyDelayMethod`, `reviewFeedStatus`, `postCount30d`,
`postCount90d`, `latestPostAt`, `latestPostDaysAgo`, `recentPosts`, `mediaSampleSize`,
`videoSampleCount`, `ownerPhotoSampleCount`, `visitorPhotoSampleCount`, `ownerPhotoSampleShare`.

**Audit and benchmark (audit row):** `score`, `grade`, `coverage`, `earnedPoints`,
`assessedWeight`, `scoreBreakdown`, `checks[]`, `benchmark`, `gapsVsCompetitorMedian[]`,
`prioritizedFixes[]`, `limitations[]`.

No reviewer names, review text, avatars or profile links are written. The review feed is reduced to
dates, ratings, reply dates and counts.

### The 100-point rubric

Every check is worth the points below. `partial` earns a fraction; `unknown` earns nothing but is
also removed from the denominator, so a business is never punished for data Google did not expose.
`coverage` is the assessed share of the 100 points.

| Area | Check | Points | Full marks when |
|---|---|---|---|
| Profile | Website | 6 | A website URL is linked |
| Profile | Phone | 4 | A phone number is listed |
| Profile | Opening hours | 8 | All seven days have hours |
| Profile | Description | 6 | At least 80 characters |
| Profile | Categories | 4 | Primary plus at least one additional category |
| Profile | Attributes | 4 | At least five attributes |
| Media | Photos | 8 | 100+ photos (25+ = 6, 10+ = 4, 1+ = 2) |
| Media | Fresh photos | 3 | A sampled photo is at most 90 days old |
| Media | Owner posts | 7 | Latest visible post is at most 30 days old |
| Media | Video | 2 | A video appears in the gallery sample |
| Reviews | Rating | 7 | 4.5+ (4.0+ = 5, 3.5+ = 3, 3.0+ = 1) |
| Reviews | Review volume | 7 | 100+ reviews (50+ = 5, 20+ = 3, 5+ = 1) |
| Reviews | Reviews in 30 days | 7 | 3+ in a complete 30-day window (1-2 = 5) |
| Reviews | Owner reply rate | 7 | 80%+ of the sample (50%+ = 5, 20%+ = 3, >0 = 1) |
| Reviews | Reply speed | 3 | Median delay at most 7 days (30 days = 2, slower = 1) |
| Visibility | Keyword rank | 9 | Rank 1-3 (4-10 = 7, 11-20 = 4, lower = 1) |
| Conversion | Booking/order/menu link | 6 | Any such link is shown, for categories that use one |
| Profile | Special-hours notice | 2 | Google shows a holiday-hours notice |

Grades: **A** 85+, **B** 70+, **C** 55+, **D** 40+, **F** below 40. The score is an editorial
completeness and activity rubric, not Google's ranking algorithm.

### How the benchmark works

The keyword search is run at the business's coordinates. The requested business's position is its
`keywordRank`; the other places, excluding other branches of the same brand, become the competitor
set. Each competitor is enriched the same way as the target. The benchmark reports the competitor
medians and gaps for score, rating, reviews, 90-day velocity, reply rate, photos, attributes and
days since the latest post. `prioritizedFixes` merges failed checks and benchmark gaps, highest
recoverable points first. A business that is absent from the checked result window gets
`keywordRank` omitted and a failed rank check; a search that did not run leaves the check unknown.

### Limits

- **Claim status is not reported.** Google's signed-out feeds expose the owner identity and owner
  tools but not a reliable claimed/unclaimed flag, so the actor does not guess it or score it.
- **Review coverage.** The newest-first feed is complete until it reaches the cap. If the cap is hit
  before a window closes, the window's count is a lower bound and the velocity is marked
  `estimated`. Very high-volume profiles can hit the cap before 90 days.
- **Owner replies.** Exact reply dates are used when Google exposes them; otherwise the median uses
  Google's relative label ("2 weeks ago") and is marked `approximate`.
- **Media.** `photoCount` is the profile total. Video presence and the owner/customer split use only
  the sampled items from Google's public gallery; the sample is never presented as the full library.
- **Posts.** Missing visible posts do not prove inactivity; they mean Google exposed no post panel.
- **Links and attributes.** Only the links, categories and attributes Google prints for the place
  are reported. Owner-dashboard-only fields are out of scope.
- **Rank variability.** Rank is a signed-out result list and can differ by location, language, time
  and Google's personalisation. It is a snapshot, not a guaranteed position.
- **Language.** Labels, categories and hours follow the selected `language`; the rubric itself is
  language-independent. Use the business's own country for the most representative result list.

### Example

```json
{
  "mode": "business",
  "businessName": "Joe's Pizza",
  "city": "New York",
  "primaryKeyword": "pizza",
  "competitorCount": 3,
  "maxReviewsPerBusiness": 180
}
```

The first row is the audit for Joe's Pizza; the next rows are the benchmarked local pizza places.
Each audit row lists every failed or partial check, the peer median it missed and the fix that
recovers the most points first.

# Actor input Schema

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

Find the business by name + city, or audit exact Google Maps place links/IDs.

## `businessName` (type: `string`):

Exact business name to find (mode=business). Example: Joe's Pizza.

## `city` (type: `string`):

City, neighbourhood or address used to find the business (mode=business).

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

Maps place URLs, Place IDs (ChIJ...), feature IDs (0x...:0x...), CIDs, or maps.app.goo.gl share links (mode=place). Each is verified against Google's place header before it is audited.

## `primaryKeyword` (type: `string`):

The search a customer would use near the business (e.g. pizza, emergency plumber, dentist). Empty uses the primary category.

## `competitorCount` (type: `integer`):

Top N live Google Maps results for the keyword near the business, excluding the business itself and other branches of the same brand. 0 disables competitor discovery.

## `includeCompetitors` (type: `boolean`):

Run the keyword search and benchmark against the live local results.

## `includeCompetitorRecords` (type: `boolean`):

When on, each benchmarked competitor is a separate dataset row with its own checklist and score. Off keeps only the audit row with the benchmark table.

## `includeClosedCompetitors` (type: `boolean`):

Keep places Google marks permanently closed in the benchmark.

## `maxReviewsPerBusiness` (type: `integer`):

Newest-first review sample per business. The walk stops at this cap or once the 90-day window is covered, whichever comes first. More reviews improve velocity and reply accuracy.

## `includePosts` (type: `boolean`):

Read the visible owner updates, offers and events and score the latest post date.

## `maxPostsPerBusiness` (type: `integer`):

How many recent owner posts to include per business in the row.

## `includeMediaBreakdown` (type: `boolean`):

Read a small public gallery sample to split owner vs customer photos and detect video. Adds one request per sampled item.

## `photoSampleSize` (type: `integer`):

Public gallery items read per business for the owner/customer split and video presence.

## `includePhotoOwnerSplit` (type: `boolean`):

Fetch each sampled item's contributor metadata and compare it with the profile's owner identity.

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

Google Maps interface language for labels, categories and hours.

## `country` (type: `string`):

Country context sent to Google Maps (gl). Use the business's own country.

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

Hard cap on emitted rows (audit rows + competitor rows + notes).

## Actor input object example

```json
{
  "mode": "business",
  "businessName": "Joe's Pizza",
  "city": "New York",
  "placeUrls": [],
  "primaryKeyword": "pizza",
  "competitorCount": 1,
  "includeCompetitors": true,
  "includeCompetitorRecords": true,
  "includeClosedCompetitors": false,
  "maxReviewsPerBusiness": 60,
  "includePosts": true,
  "maxPostsPerBusiness": 2,
  "includeMediaBreakdown": false,
  "photoSampleSize": 10,
  "includePhotoOwnerSplit": false,
  "language": "en",
  "country": "us",
  "maxItems": 10
}
```

# Actor output Schema

## `audits` (type: `string`):

One row per audited business (recordType=audit) plus one row per benchmarked competitor (recordType=competitor) and notes for unresolved inputs.

# 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 = {
    "mode": "business",
    "businessName": "Joe's Pizza",
    "city": "New York",
    "placeUrls": [],
    "primaryKeyword": "pizza",
    "competitorCount": 1,
    "includeCompetitors": true,
    "includeCompetitorRecords": true,
    "includeClosedCompetitors": false,
    "maxReviewsPerBusiness": 60,
    "includePosts": true,
    "maxPostsPerBusiness": 2,
    "includeMediaBreakdown": false,
    "photoSampleSize": 10,
    "includePhotoOwnerSplit": false,
    "language": "en",
    "country": "us",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/google-business-profile-audit").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 = {
    "mode": "business",
    "businessName": "Joe's Pizza",
    "city": "New York",
    "placeUrls": [],
    "primaryKeyword": "pizza",
    "competitorCount": 1,
    "includeCompetitors": True,
    "includeCompetitorRecords": True,
    "includeClosedCompetitors": False,
    "maxReviewsPerBusiness": 60,
    "includePosts": True,
    "maxPostsPerBusiness": 2,
    "includeMediaBreakdown": False,
    "photoSampleSize": 10,
    "includePhotoOwnerSplit": False,
    "language": "en",
    "country": "us",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/google-business-profile-audit").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 '{
  "mode": "business",
  "businessName": "Joe'\''s Pizza",
  "city": "New York",
  "placeUrls": [],
  "primaryKeyword": "pizza",
  "competitorCount": 1,
  "includeCompetitors": true,
  "includeCompetitorRecords": true,
  "includeClosedCompetitors": false,
  "maxReviewsPerBusiness": 60,
  "includePosts": true,
  "maxPostsPerBusiness": 2,
  "includeMediaBreakdown": false,
  "photoSampleSize": 10,
  "includePhotoOwnerSplit": false,
  "language": "en",
  "country": "us",
  "maxItems": 10
}' |
apify call crawlyth-forge/google-business-profile-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/google-business-profile-audit"
        }
    }
}
```

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/dSpvCtFfup0mUTVnR/builds/BbUCmxykx0aSGZhSU/openapi.json
