# Google Maps B2B Local Lead, Website Ad-Pixel Gap & Reputation A (`voxatools/google-maps-b2b-local-lead-tech-auditor`) Actor

Extract verified Google Maps B2B local business leads, public HTML emails, 3-state Meta/Google/TikTok ad-pixel gaps vs GTM and Consent Mode v2, 21 booking/call-tracking widgets, and deterministic 0-100 Agency Opportunity Scores with outreach pitch hooks.

- **URL**: https://apify.com/voxatools/google-maps-b2b-local-lead-tech-auditor.md
- **Developed by:** [VoxaTools](https://apify.com/voxatools) (community)
- **Categories:** AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 44.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.60 / 1,000 canonical deduplicated google maps b2b local business leads

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 B2B Local Lead, Website Ad-Pixel Gap & Reputation Auditor Pro

Extract verified local business leads from Google Maps and audit their first-party websites for **missing Meta, Google Ads, TikTok, LinkedIn, Pinterest, and Microsoft retargeting pixels**, **Google Tag Manager (GTM) & Consent Mode v2 readiness**, **21 vertical booking/call-tracking widgets**, **public business emails**, and a deterministic **0–100 Agency Opportunity Score** — all in a single Zero-Browser pass with **$0.00 residential proxy overhead**.

> **Start in 10 Seconds — Zero Setup Required:** Pre-filled with `"dentists in Austin TX"` so you can click **Start** immediately with zero API keys, zero cookies, and zero proxy configuration. With Apify's **$5.00 monthly free credit**, you can extract **1,515 to 1,923 local B2B leads** every month at **$0.00 out-of-pocket cost**.

***

### Why Agencies & B2B Revenue Teams Switch to This Auditor

Most Google Maps scrapers dump raw phone numbers and charge stacked add-on fees (`$5.50–$9.00+ per 1,000 leads`) without telling your sales team *why* a local clinic, law firm, HVAC contractor, or medspa needs your agency today. Worse, generic email scrapers follow `facebook.com`, `yelp.com`, or `linktr.ee` links on Google Business Profiles and falsely report Meta's or Yelp's own tracking tags as belonging to the local merchant.

**Google Maps B2B Local Lead, Website Ad-Pixel Gap & Reputation Auditor Pro** solves both problems in one lightweight HTTP pipeline:

- **Zero-Browser Speed & $0.00 Proxy Overhead:** Runs on lightweight HTTP feeds and static HTML AST inspection in `512 MB` RAM — up to **8x faster** than headless Chromium crawlers with zero residential proxy surcharges.
- **2-Phase First-Party Website Ownership & 33-Host Quarantine:** Automatically unwraps Google redirect links, strips `utm_*`/`gclid`/`fbclid` parameters, resolves link shorteners (`bit.ly`, `tinyurl.com`, `goo.gl`) across up to 4 SSRF-guarded hops, and quarantines **28 social/directory/booking platforms** (`facebook.com`, `instagram.com`, `yelp.*`, `zocdoc.com`, `mindbodyonline.com`, `toasttab.com`, `linktr.ee`, etc.) plus **5 domain-parking marketplaces** (`sedoparking.com`, `hugedomains.com`, `afternic.com`, `dan.com`, `bodis.com`) so third-party pixels are never misattributed.
- **3-State Epistemic Ad-Pixel & Consent Mode v2 Detection:** Cleanly separates hardcoded direct retargeting pixels (`DETECTED_DIRECT_AD_PIXEL_IN_STATIC_HTML`) from dynamic GTM containers (`NOT_OBSERVED_IN_STATIC_HTML_GTM_CONTAINER_PRESENT`) and true static pixel absence (`NOT_OBSERVED_NO_PIXEL_OR_GTM_IN_STATIC_HTML`) — never overclaiming when tags may fire inside GTM.
- **Closed-Form 0–100 Agency Opportunity Score & Zero-Key Pitch Hook:** Scores every lead deterministically across Reputation & Review Scale (`30 pts`), Maps Listing Reachability (`15 pts`), Ad-Pixel & Consent Gap (`30 pts`), and Conversion Funnel & Email Capture (`25 pts`), generating ready-to-send outreach hooks without external LLM API keys.

| Capability / Cost Metric | Legacy Browser Maps Scrapers | Stacked Add-On Maps Scrapers | VoxaTools Local Lead & Pixel Auditor Pro |
| :--- | :--- | :--- | :--- |
| **Runtime Architecture** | Heavy Headless Chromium (`2–4 GB` RAM) | Browser + Multi-Step Enrichment | **Zero-Browser HTTP + Static HTML AST (`512 MB`)** |
| **Base 1,000 Leads Price** | `$4.00 / 1,000` + Proxy Burn | `$1.50–$4.00 / 1,000` + Run Start Fee | **`$2.60 / 1,000` ($0.00 Start Fee, $0.00 Proxy)** |
| **All-Inclusive 1,000 Leads (Emails + Tech + Pitch)** | `$10.00–$25.00+ / 1,000` | `$5.50–$9.00+ / 1,000` | **`$3.30 / 1,000` All-Inclusive Ceiling** |
| **3-State Ad-Pixel vs GTM + Consent Mode v2** | No | No (Boolean Tech Guess Only) | **Yes (6 Ad Pixels + 5 Tag Managers + Consent v2)** |
| **21 Vertical Booking & Call-Tracking Widgets** | No | No | **Yes (CallRail, ServiceTitan, Mindbody, Toast, etc.)** |
| **Social / Directory / Parked Domain Quarantine** | No | Partial | **Yes (28 Directory/Social + 5 Domain Brokers)** |
| **Stateful Weekly Change Radar (`onlyNewOrChangedLeadsSinceLastRun`)** | Manual CSV Diff | Extra Paid Add-On | **Built-In Batched KVS 5-Counter Delta Radar** |

***

### What You Can Do With This Tool

1. **Paid Media & Performance Agency Prospecting:** Find high-review local dentists, personal injury attorneys, medspas, roofers, and HVAC contractors (`4.3★+`, `50+` reviews) whose owned websites have **zero Meta or Google Ads retargeting pixels** (`includeStorefrontTechAndPixelAudit: true`, `onlyMissingAdPixels: true`).
2. **Web Design & Funnel Agency Lead Generation:** Filter specifically for thriving brick-and-mortar businesses that still have **no website** or link their Google Business Profile to a Facebook/Yelp page (`websitePresenceFilter: "NO_WEBSITE_OR_SOCIAL_ONLY_PROSPECTS"`).
3. **GTM & Consent Mode v2 Compliance Audits:** Identify local advertisers running Google Ads or GTM containers without observable Google Consent Mode v2 signals (`hasConsentModeV2Signal: false`).
4. **Reputation Management & Local SEO Outreach:** Target established local businesses suffering from `3.0★–4.1★` star ratings (`minRating: 3.0`, `maxRating: 4.1`, `minReviews: 20`) or missing `AggregateRating` Schema.org JSON-LD markup.
5. **Automated Weekly Territory Monitoring:** Schedule recurring runs with `onlyNewOrChangedLeadsSinceLastRun: true` to receive only newly opened businesses, pixel/widget changes, or review surges at `$0.00` Dataset billing when your territory pack is unchanged.

***

### Quick-Start Guide & Copy-Paste Input Examples

#### Mode 1 — Fast Google Maps B2B Lead Extraction (`$2.60 / 1,000` Leads)

Extract deduplicated Google Maps business profiles, star ratings, review counts, phone numbers, coordinates, and canonical first-party domain classification with Plane 2 disabled:

```json
{
  "queries": [
    "dentists in Austin TX",
    "orthodontists in Miami FL"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "maxLeadsPerQuery": 40,
  "includeStorefrontTechAndPixelAudit": false,
  "includeAgencyPitchDossier": false,
  "maxChargedUsd": 5.0
}
```

#### Mode 2 — High-ROI Missing Ad-Pixel Agency Hunter (`$3.30 / 1,000` All-Inclusive)

Audit up to 2 first-party pages (`/` and `/contact`) per business, filter strictly for owned websites lacking hardcoded Meta/Google/TikTok retargeting pixels, and generate a `0–100` Opportunity Score + custom outreach hook:

```json
{
  "queries": [
    "personal injury lawyers in Austin TX",
    "cosmetic dermatology clinics in Dallas TX"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "maxLeadsPerQuery": 40,
  "includeStorefrontTechAndPixelAudit": true,
  "maxStorefrontPagesPerLead": 2,
  "includeAgencyPitchDossier": true,
  "minRating": 4.2,
  "minReviews": 25,
  "websitePresenceFilter": "FIRST_PARTY_WEBSITE_ONLY",
  "onlyMissingAdPixels": true,
  "maxChargedUsd": 5.0
}
```

#### Mode 3 — "No-Website" & Facebook-Only Local Business Finder (`$2.90 / 1,000` Effective)

Surface established local restaurants, auto repair shops, and contractors with `30+` Google reviews that lack a first-party website (quarantined Plane 2 automatically incurs `$0.00` storefront audit fee!):

```json
{
  "queries": [
    "taco restaurants in Austin TX",
    "roofing contractors in San Antonio TX"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "maxLeadsPerQuery": 60,
  "includeStorefrontTechAndPixelAudit": true,
  "includeAgencyPitchDossier": true,
  "minReviews": 30,
  "websitePresenceFilter": "NO_WEBSITE_OR_SOCIAL_ONLY_PROSPECTS",
  "maxChargedUsd": 5.0
}
```

#### Mode 4 — Reputation Recovery Crisis Campaign (`3.0★–4.1★` Local Businesses)

Pinpoint high-volume local service providers losing customers to sub-`4.2★` Google Maps ratings:

```json
{
  "queries": [
    "HVAC repair in Phoenix AZ",
    "plumbers in Houston TX"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "latitude": 33.4484,
  "longitude": -112.074,
  "viewportRadiusMeters": 50000,
  "maxLeadsPerQuery": 40,
  "includeStorefrontTechAndPixelAudit": true,
  "includeAgencyPitchDossier": true,
  "minRating": 3.0,
  "maxRating": 4.1,
  "minReviews": 20,
  "maxChargedUsd": 5.0
}
```

#### Mode 5 — Weekly Territory Delta Radar (Zero-Waste Incremental Monitoring)

Emit and pay only when a new local competitor enters the pack or an existing business updates its ad pixels, booking widgets, rating, or contact details:

```json
{
  "queries": [
    "medspa in Austin TX"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "maxLeadsPerQuery": 20,
  "includeStorefrontTechAndPixelAudit": true,
  "maxStorefrontPagesPerLead": 2,
  "includeAgencyPitchDossier": true,
  "onlyNewOrChangedLeadsSinceLastRun": true,
  "maxChargedUsd": 2.5
}
```

***

### Input Parameters Reference

| # | Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- | :--- |
| 1 | `queries` | `array<string>` | `["dentists in Austin TX"]` | `1–100` local search queries (`2–500` characters each), e.g. `"plumbers in Miami FL"`. |
| 2 | `countryCode` | `string` | `"us"` | Two-letter ISO 3166-1 alpha-2 country code (`us`, `gb`, `ca`, `au`, `de`, `fr`). |
| 3 | `languageCode` | `string` | `"en"` | BCP-47 language code (`en`, `es`, `de`, `fr`, `pt-BR`). |
| 4 | `latitude` | `number \| null` | `null` | Optional center latitude (`-90` to `90`). Must be paired with `longitude`; uses neutral country span when omitted. |
| 5 | `longitude` | `number \| null` | `null` | Optional center longitude (`-180` to `180`). Must be paired with `latitude`. |
| 6 | `viewportRadiusMeters` | `integer` | `50000` | Viewport radius in meters (`1000`–`250000`) when explicit coordinates are provided. |
| 7 | `maxLeadsPerQuery` | `integer` | `20` | Maximum deduplicated business leads per query (`1`–`200`, paginated in 20-place increments). |
| 8 | `maxQueriesPerRun` | `integer` | `10` | Maximum search queries processed per run (`1`–`100`). |
| 9 | `includeStorefrontTechAndPixelAudit` | `boolean` | `false` | Enables Plane 2 HTML inspection (`+$0.0004` only when a first-party storefront returns verified HTML). |
| 10 | `maxStorefrontPagesPerLead` | `integer` | `2` | Maximum first-party pages inspected per lead (`1` = `/`, `2` = `/` + `/contact`, `3` = `/` + `/contact` + `/about`). |
| 11 | `includeAgencyPitchDossier` | `boolean` | `false` | Enables `0–100` Agency Opportunity Score + outreach pitch hook (`+$0.0003` only when score is non-null). |
| 12 | `minRating` | `number \| null` | `null` | Optional minimum Google Maps star rating (`1.0`–`5.0`). |
| 13 | `maxRating` | `number \| null` | `null` | Optional maximum Google Maps star rating (`1.0`–`5.0`). |
| 14 | `minReviews` | `integer \| null` | `null` | Optional minimum Google Maps review count (`0`–`100000`). |
| 15 | `websitePresenceFilter` | `string` | `"ALL_LEADS"` | `"ALL_LEADS"`, `"FIRST_PARTY_WEBSITE_ONLY"`, or `"NO_WEBSITE_OR_SOCIAL_ONLY_PROSPECTS"`. |
| 16 | `onlyMissingAdPixels` | `boolean` | `false` | Retains only leads where no hardcoded direct Meta/Google/TikTok/LinkedIn/Pinterest/Microsoft pixel was observed. |
| 17 | `onlyNewOrChangedLeadsSinceLastRun` | `boolean` | `false` | Emits and charges only for new or changed businesses compared against `VOXA-LOCAL-LEAD-RADAR-STATE`. |
| 18 | `maxChargedUsd` | `number` | `5.0` | Hard pre-push spend ceiling in USD (`$0.01`–`$500.00`). Halts cleanly before any record can exceed your budget. |
| 19 | `proxyConfiguration` | `object` | `{"useApifyProxy": false}` | Optional proxy fallback settings (`$0.00` direct mode by default). |

***

### Full 50-Field Output Sample

Every Dataset item conforms strictly to the 50-field `LOCAL_BUSINESS_LEAD_TECH_AUDIT_RECORD` contract:

```json
{
  "recordType": "LOCAL_BUSINESS_LEAD_TECH_AUDIT_RECORD",
  "queryInput": "dentists in Austin TX",
  "countryCodeSearchParam": "us",
  "placeId": "ChIJb5gBC-u0RIYRHkntaUcdJGs",
  "cidHex": "0x8644b4eb0b01986f:0x6b241d4769ed491e",
  "businessName": "ATX Family Dental",
  "primaryCategory": "Dentist",
  "categories": [
    "Dentist",
    "Cosmetic dentist",
    "Dental clinic"
  ],
  "address": "ATX Family Dental, 1700 S 1st St, Austin, TX 78704",
  "observedCountryFromAddress": "US",
  "phone": "(512) 717-3147",
  "coordinates": {
    "lat": 30.2482229,
    "lng": -97.7559705
  },
  "googleMapsPlaceUrl": "https://www.google.com/maps/place/?q=place_id:ChIJb5gBC-u0RIYRHkntaUcdJGs",
  "mapsSearchFeedUrl": "https://www.google.com/search?hl=en&gl=us&q=dentists%20in%20austin%20tx",
  "ratingStatus": "VALID_AGGREGATE_RATING",
  "ratingValue": 4.9,
  "reviewCount": 918,
  "rawWebsiteUrlFromMaps": "https://www.atxfamilydental.com/",
  "websiteUrl": "https://www.atxfamilydental.com/",
  "domain": "atxfamilydental.com",
  "storefrontIdentityStatus": "VERIFIED_FIRST_PARTY_STOREFRONT",
  "storefrontAuditVerified": true,
  "adPixelAssessmentState": "NOT_OBSERVED_NO_PIXEL_OR_GTM_IN_STATIC_HTML",
  "visibilityCaveat": "No Meta, Google Ads, TikTok, LinkedIn, or GTM script observed in static HTML; client-side tag injectors after JS hydration remain outside Zero-Browser static scope.",
  "directAdPixelsDetected": [],
  "tagManagersAndAnalyticsDetected": [],
  "hasGtmContainer": false,
  "hasConsentModeV2Signal": false,
  "bookingAndLeadCaptureWidgetsDetected": [],
  "schemaOrgTypesObserved": [
    "WebPage",
    "BreadcrumbList",
    "WebSite",
    "Organization"
  ],
  "schemaAggregateRatingStatus": "NOT_OBSERVED_IN_JSON_LD",
  "observedPublicEmails": [
    "info@atxfamilydental.com"
  ],
  "emailVerificationState": "OBSERVED_PUBLIC_HTML_EMAIL",
  "agencyPitchDossierVerified": true,
  "scoreVersion": "1.0.0",
  "agencyOpportunityScore": 92,
  "agencyOpportunityGrade": "A_HOT_AGENCY_PROSPECT",
  "rawPointsEarned": 92,
  "maxPossiblePoints": 100,
  "scoreCoverageRatio": 1,
  "componentBreakdown": {
    "p1_reputationAndReviewScalePts": 25,
    "p2_mapsListingReachabilityPts": 15,
    "p3_adPixelAndConsentGapPts": 30,
    "p4_storefrontFunnelAndEmailCapturePts": 22
  },
  "agencyOutreachPitchHook": "ATX Family Dental holds a 4.9-star reputation across 918 Google reviews in Austin, yet static HTML on atxfamilydental.com shows zero hardcoded Meta/Google retargeting pixels, zero GTM container, and no embedded online dental scheduler — high-ROI opportunity to convert existing organic search traffic.",
  "recommendedAgencyServices": [
    "META_AND_GOOGLE_RETARGETING_PIXEL_SETUP",
    "ONLINE_BOOKING_AND_CALL_TRACKING_FUNNEL",
    "LOCAL_SEO_SCHEMA_RICH_SNIPPET_DEPLOYMENT"
  ],
  "duplicateListingsCollapsedCount": 0,
  "feedCompletenessStatus": "PARTIAL_PAGINATION_CAPPED",
  "queryDiagnosticStatus": "HEALTHY_2_PLANE_VERIFIED",
  "deltaStatus": "BASELINE_INITIALIZED_OR_RADAR_DISABLED",
  "ppeEventsCharged": [
    "local-business-lead-scraped",
    "storefront-ad-pixel-and-tech-audit",
    "agency-pitch-dossier-and-gap-score"
  ],
  "estimatedRecordChargeUsd": 0.0033,
  "scrapedAt": "2026-11-11T22:08:00.000Z"
}
```

***

### Transparent Pay-Per-Event Pricing & Budget Examples

Zero run-start fees (`$0.00`) and zero charges for deduplicated duplicates, quarantined social/parked storefront audits, or filtered-out listings:

| PPE Event Name | Trigger Condition | Unit Price | Price per 1,000 Leads |
| :--- | :--- | :--- | :--- |
| `local-business-lead-scraped` | Charged once per deduplicated local business record emitted to Dataset | `$0.0026` | **`$2.60 / 1,000`** |
| `storefront-ad-pixel-and-tech-audit` | Optional (`includeStorefrontTechAndPixelAudit: true`) AND `storefrontAuditVerified === true` | `+$0.0004` | **`+$0.40 / 1,000`** |
| `agency-pitch-dossier-and-gap-score` | Optional (`includeAgencyPitchDossier: true`) AND `agencyPitchDossierVerified === true` | `+$0.0003` | **`+$0.30 / 1,000`** |

- **Base Maps Lead Mode:** `$2.60 / 1,000` leads (`1,923` free leads/month on Apify's `$5.00` free credit).
- **Base + Pitch Dossier Mode (or No-Website / Social-Only Leads):** `$2.90 / 1,000` leads (`$2.60 + $0.30`).
- **Base + Storefront Pixel & Email Audit Mode:** `$3.00 / 1,000` leads (`$2.60 + $0.40`).
- **All-Inclusive Full-Stack Agency Mode:** `$3.30 / 1,000` leads (`$2.60 + $0.40 + $0.30` = `1,515` full-stack audited leads/month on Apify's `$5.00` free credit).
- **Atomic Pre-Push Budget Protection & Append-Only Settlement Ledger:** Before pushing any record to Apify's append-only Dataset, the Actor verifies that `cumulativeChargedUsd + fullRecordCost <= maxChargedUsd`, halting cleanly without partial downgrades or unexpected overages. Dataset columns `ppeEventsCharged` and `estimatedRecordChargeUsd` record the pre-push funded schedule at emission time, while post-charge event settlement is audited in `OUTPUT_SUMMARY.billingSummary.billingReconciliationLedger`.

***

### Chained Outbound Ecosystem (Domain Join Key)

Every verified first-party business outputs a normalized canonical `domain` (for example, `"atxfamilydental.com"` or post-redirect `"franklinbbq.com"`), allowing zero-friction chaining with the VoxaTools B2B intelligence suite:

1. **Verify Active Google Search/YouTube Ad Spend (`NOT_OBSERVED_IN_STATIC_HTML_GTM_CONTAINER_PRESENT`):** Pass `domain` directly into **`google-ads-transparency-scraper`** to confirm whether a GTM-equipped clinic or law firm is actively running paid Google Ads.
2. **Inspect Active Facebook & Instagram Ad Creatives:** Pass `domain` or `businessName` into **`meta-ad-library-longevity-spy-scraper`** to benchmark long-running Meta ad winners before your sales call.
3. **Deep DNS Security (DMARC/SPF/DKIM) & Corporate KYB Enrichment:** Pass `domain` into **`b2b-domain-contact-security-kyb-enricher`** to append executive role contacts, TLS X.509 organization proof, and email deliverability posture.

***

### Reliability Commitment & Frequently Asked Questions (FAQ)

#### Automated Daily Canary Verification

Upstream Google Maps feed parsing, pagination offsets, and storefront HTML signature extractors are continuously verified against live multi-vertical benchmarks with strict schema validation and automatic outage isolation (`OUTPUT_SUMMARY` health telemetry).

#### Why does a business with Google Tag Manager show `NOT_OBSERVED_IN_STATIC_HTML_GTM_CONTAINER_PRESENT`?

Because GTM containers can inject Meta or Google Ads tags dynamically after JavaScript execution, claiming "confirmed zero ad pixels" from static HTML alone would be inaccurate. Reporting `NOT_OBSERVED_IN_STATIC_HTML_GTM_CONTAINER_PRESENT` gives your sales team honest epistemic precision — and you can verify live ad spend in seconds by chaining `domain` into `google-ads-transparency-scraper` and `meta-ad-library-longevity-spy-scraper`.

#### Am I charged the `+$0.0004` storefront audit event when a business has no website or links to Facebook/Yelp?

**No (`$0.0000`).** Third-party social/directory links (`facebook.com`, `yelp.*`, `instagram.com`, `zocdoc.com`, etc.) and parked domains are quarantined before Plane 2 billing, so `storefrontAuditVerified` is `false` and the `storefront-ad-pixel-and-tech-audit` event is never charged.

#### What happens if a business's `/contact` page returns `HTTP 404` while its homepage `/` is healthy?

Secondary subpage errors are isolated (`queryDiagnosticStatus: "PARTIAL_SECONDARY_CONTACT_PATH_404_PRIMARY_HEALTHY"`), preserving all pixels, widgets, Schema.org types, and emails extracted from the healthy primary homepage.

# Actor input Schema

## `queries` (type: `array`):

List of Google Maps local business search queries (2 to 500 characters per query; normalized via NFC + whitespace collapse + lowercase and hashed in full without silent truncation; out-of-bounds queries are rejected pre-flight as INVALID_QUERY_LENGTH_REJECTED; e.g., "dentists in Austin TX", "HVAC contractors in Dallas TX", "dentists in Miami FL"). Supports Minimal 1-Field Call for AI Agents.

## `countryCode` (type: `string`):

Two-letter country code passed as gl parameter to Google Maps search feed (e.g., "us", "gb", "ca", "au", "de"). Kept strictly isolated from observed business address jurisdiction.

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

BCP-47 / ISO-639-1 language code passed as hl parameter to Google Maps search feed (e.g., "en", "de", "fr", "es").

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

Optional decimal latitude (-90 to 90, paired with longitude and rounded to 4 decimals in pb & scopeKey) anchoring the Google Maps pb viewport coordinate. When omitted alongside longitude, uses a neutral country-wide continental span so city/region geocoding in q resolves naturally.

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

Optional decimal longitude (-180 to 180, paired with latitude and rounded to 4 decimals in pb & scopeKey) anchoring the Google Maps pb viewport coordinate. When omitted alongside latitude, uses a neutral country-wide continental span.

## `viewportRadiusMeters` (type: `integer`):

Viewport span in meters encoded into the !1d parameter when explicit latitude/longitude coordinates are provided (1,000 to 250,000 meters; default 50,000).

## `maxLeadsPerQuery` (type: `integer`):

Maximum number of deduplicated local business leads emitted per search query across paginated Maps XSSI pages (start offset 0, 20, 40...; 1 to 200, default 20).

## `maxQueriesPerRun` (type: `integer`):

Hard upper bound on search queries processed in a single run (1 to 100, default 10) to guarantee predictable memory and execution bounds.

## `includeStorefrontTechAndPixelAudit` (type: `boolean`):

When true, fetches first-party business websites over direct HTTP (0 browsers, SSRF-guarded) to extract public emails, 3-state Meta/Google/TikTok/LinkedIn pixel vs GTM status, Consent Mode v2, and booking/call-tracking widgets (+$0.0004/lead ONLY when storefrontAuditVerified === true). Default false keeps Minimal 1-Field Call at $2.60/1k (1,923 leads on $5 Free Credit).

## `maxStorefrontPagesPerLead` (type: `integer`):

Maximum first-party HTML pages inspected per lead when includeStorefrontTechAndPixelAudit is true (1 = homepage only; 2 = homepage + /contact; 3 = homepage + /contact + /about).

## `includeAgencyPitchDossier` (type: `boolean`):

When true, computes the closed-form 0-100 Agency Opportunity & Ad-Gap Score (v1.0.0) and synthesizes a vertical-specific B2B outreach pitch hook without requiring external LLM API keys (+$0.0003/lead ONLY when agencyPitchDossierVerified === true).

## `minRating` (type: `number`):

Optional minimum star rating threshold (1.0 to 5.0) to filter local business leads prior to Dataset emission and PPE billing ($0.00 filter fee).

## `maxRating` (type: `number`):

Optional maximum star rating ceiling (1.0 to 5.0, e.g. 4.2) so Reputation Management Agencies can target businesses suffering from low ratings ($0.00 filter fee).

## `minReviews` (type: `integer`):

Optional minimum Google Maps review count threshold (e.g., 15 or 50 reviews) to ensure established operating businesses ($0.00 filter fee).

## `websitePresenceFilter` (type: `string`):

Filter leads by website ownership status: ALL_LEADS (default), FIRST_PARTY_WEBSITE_ONLY (for ad-pixel/SEO audits), or NO_WEBSITE_OR_SOCIAL_ONLY_PROSPECTS (for web-design agencies).

## `onlyMissingAdPixels` (type: `boolean`):

When true (requires includeStorefrontTechAndPixelAudit=true), filters output to businesses where directAdPixelsDetected is empty (NOT_OBSERVED_NO_PIXEL_OR_GTM_IN_STATIC_HTML or NOT_OBSERVED_IN_STATIC_HTML_GTM_CONTAINER_PRESENT).

## `onlyNewOrChangedLeadsSinceLastRun` (type: `boolean`):

When true, compares current results against batched KVS state (VOXA-LOCAL-LEAD-RADAR-STATE) for the matching upstream scopeKey and emits ONLY newly appeared businesses or businesses whose rating/reviews, ad-pixels/widgets, or contact/website changed.

## `maxChargedUsd` (type: `number`):

Strict pre-push atomic PPE budget ceiling in USD (minimum $0.01, default $5.00). Halts record emission cleanly before cumulative event charges can exceed maxChargedUsd.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration used strictly as an Actor-side fallback on HTTP 429 rate limits (default direct Zero-Proxy HTTP; locked to allowApifyProxy: false on Web Funnel).

## Actor input object example

```json
{
  "queries": [
    "dentists in Austin TX"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "viewportRadiusMeters": 50000,
  "maxLeadsPerQuery": 20,
  "maxQueriesPerRun": 10,
  "includeStorefrontTechAndPixelAudit": false,
  "maxStorefrontPagesPerLead": 2,
  "includeAgencyPitchDossier": false,
  "websitePresenceFilter": "ALL_LEADS",
  "onlyMissingAdPixels": false,
  "onlyNewOrChangedLeadsSinceLastRun": false,
  "maxChargedUsd": 5
}
```

# Actor output Schema

## `localBusinessLeadsDataset` (type: `string`):

Structured B2B local business leads with Google Maps reputation, first-party website ad-pixel gap diagnostics, booking widgets, and Agency Opportunity Dossiers.

## `localLeadAuditSummary` (type: `string`):

Executive run summary with per-query diagnostics, 5-counter KVS Delta Radar telemetry, upstream health status, and atomic PPE billing reconciliation ledger.

# 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 = {
    "queries": [
        "dentists in Austin TX"
    ],
    "countryCode": "us",
    "languageCode": "en",
    "viewportRadiusMeters": 50000,
    "maxLeadsPerQuery": 20,
    "maxQueriesPerRun": 10,
    "maxStorefrontPagesPerLead": 2,
    "websitePresenceFilter": "ALL_LEADS",
    "maxChargedUsd": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("voxatools/google-maps-b2b-local-lead-tech-auditor").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 = {
    "queries": ["dentists in Austin TX"],
    "countryCode": "us",
    "languageCode": "en",
    "viewportRadiusMeters": 50000,
    "maxLeadsPerQuery": 20,
    "maxQueriesPerRun": 10,
    "maxStorefrontPagesPerLead": 2,
    "websitePresenceFilter": "ALL_LEADS",
    "maxChargedUsd": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("voxatools/google-maps-b2b-local-lead-tech-auditor").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 '{
  "queries": [
    "dentists in Austin TX"
  ],
  "countryCode": "us",
  "languageCode": "en",
  "viewportRadiusMeters": 50000,
  "maxLeadsPerQuery": 20,
  "maxQueriesPerRun": 10,
  "maxStorefrontPagesPerLead": 2,
  "websitePresenceFilter": "ALL_LEADS",
  "maxChargedUsd": 5
}' |
apify call voxatools/google-maps-b2b-local-lead-tech-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,voxatools/google-maps-b2b-local-lead-tech-auditor"
        }
    }
}
```

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/OTiam97G2N168txyu/builds/Q9WfOVWRWwTim8pU4/openapi.json
