# Local Business Website & Review Response Auditor (`afkdigital/local-business-website-review-auditor`) Actor

Audit customer-supplied business websites for access, redirects, sampled broken links and contact pages. Assess explicitly known responses in authorized review exports. Evidence, uncertainty and technical priorities for agencies. No Maps discovery or review scraping.

- **URL**: https://apify.com/afkdigital/local-business-website-review-auditor.md
- **Developed by:** [AFK Digital](https://apify.com/afkdigital) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 bounded business audits

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

## Local Business Website & Review Response Auditor

AFK Digital's NEWAPI104 turns **your business list** into an evidence-based technical remediation queue. It checks public HTTP reachability, redirects, a bounded sample of internal links, contact-page navigation, basic business contacts and explicitly known response states in an authorized review export.

The priority score describes technical observations. It does not predict purchase intent, conversion, revenue, legal compliance or whether a business is closed.

### Start with your own list

Provide 1–10 businesses. Set authorizedData to true only if you have permission to provide and process the supplied records. Run the Actor and export its default dataset as JSON/CSV. Review limitations, coverage and needsManualReview before acting.

The prefilled example fetches example.com and includes **three synthetic review records**. It is a connectivity demonstration, not a reputation assessment of a real local business. Replace it with your own records. No browser, Maps account or paid external API is required.

```json
{
  "businesses": [{
    "businessName": "Your authorized business",
    "website": "https://example.com",
    "source": {"type": "customer_supplied", "reference": "CRM record"},
    "reviews": [
      {"reviewId": "r1", "rating": 2, "date": "2026-11-01"},
      {"reviewId": "r2", "rating": 1, "date": "2026-11-02", "responseStatus": "absent"},
      {"reviewId": "r3", "rating": 2, "date": "2026-11-03", "responseStatus": "present"}
    ]
  }],
  "authorizedData": true,
  "maxPagesPerSite": 3,
  "timeoutSeconds": 8,
  "reviewDateRange": {"from": "2026-01-01", "to": "2026-12-31"}
}
```

### Input

| Field | Meaning and limits |
|---|---|
| businesses | 1–10 objects; businessName (1–200 characters), absolute HTTP(S) website |
| source | Optional customer provenance; not fetched |
| reviews | Optional authorized records, at most 500/business; avoid reviewer names, raw text and personal data |
| rating | Numeric 1–5; negative means 1 or 2. Missing rating is excluded and counted |
| reviewId | Optional identifier; duplicate IDs within a business use the first occurrence |
| date | Optional YYYY-MM-DD; missing dates are excluded if a reviewDateRange is set |
| responseStatus | present, absent, unknown; omitted means unknown |
| businessResponse | Optional string/null; a nonempty string proves a visible response; null/empty does not prove absence |
| sourceUrl | Optional HTTP(S) evidence reference; no review-source fetching |
| reviewDateRange | Optional inclusive from/to dates, YYYY-MM-DD |
| maxPagesPerSite | 1–5 sampled page targets including homepage; default 3 |
| timeoutSeconds | 2–15 seconds per network request including DNS/TLS/body read; default 8 |
| authorizedData | Must be true |

Only explicitly absent responses count as unanswered. Contradictory absent responseStatus with a nonempty businessResponse fails validation. Identical records without IDs are deduplicated. Positive reviews are processed but excluded from negative counts. The run input is limited to 2 MB.

### Checks and uncertainty

- Public, robots-aware HTTP GET only. No login, browser rendering, proxy or challenge bypass.
- Homepage access: retry one transient failure or 404/410. A recovered failure is recorded. Repeated timeout, DNS/network/TLS failure, 429 or 5xx remains inconclusive.
- At most three redirect hops. Separate findings for loops, excess hops, missing Location and HTTPS-to-HTTP downgrade.
- Contact links discovered in homepage HTML are checked first, followed by other same-origin homepage links. This is a bounded navigation sample, not a full crawl. External links are not sampled.
- Broken links require **two 404/410 observations**. A 403, timeout, rate limit or challenge is not a broken link.
- Basic contacts: role-based mailto addresses, public tel links and explicit PostalAddress JSON-LD. No employee profiles.
- Review counts use supplied records only. No Google Maps, Trustpilot, G2 or other review scraping. No map discovery integration is included.

### Output

One dataset report per attempted business:

businessName, website, checkedAt, websiteStatus, brokenLinks, contactPageStatus, contactDetails, negativeReviewCount, unansweredNegativeReviewCount, reviewCoverage, findings, evidenceUrls, priority, limitations, coverage, billingEligible and billing.

websiteStatus distinguishes ok, not_found, http_error, bot_blocked, access_denied, inconclusive, redirect_loop, redirect_limit, redirect_missing_location, insecure_redirect, robots_disallowed, robots_unavailable, robots_crawl_delay_exceeds_budget, blocked_private_address and unsafe_redirect. Not-attempted reports explicitly state their reason. websiteStatus.attempts retains observed statuses, such as timeout, server_error and rate_limited. None means the business is closed.

Bot detection is a conservative content/status heuristic. A generic HTTP 401/403 is access_denied; explicit challenge markers can produce bot_blocked. No evasion is attempted.

contactPageStatus includes found_accessible, discovered_not_checked, linked_but_unverified, not_discovered_in_sample, unknown_due_to_access, unknown_non_html and not_checked. **No discovered link is not proof of a missing contact page.**

reviewCoverage reports unknown responses, date exclusions, missing ratings and duplicates. Explicit unanswered negative records retain review ID/rating/date evidence without the review text. Evidence URLs are observed resources or customer-supplied references; references are not independent verification of review authenticity.

SUMMARY in the default key-value store records delivered reports, time/spending-limit stops, billing units and resource limits.

### Priority score

| Technical observation | Points |
|---|---:|
| Confirmed homepage 404/410, deterministic other HTTP error, redirect loop/limit/missing location or HTTPS downgrade | 40 |
| Confirmed broken sampled internal link | 10 each; max 30 |
| No contact-page link discovered in accessible homepage HTML | 10 |
| Explicitly unanswered supplied negative review | 5 each; max 20 |

Score: sum of components, 0–100. High ≥40, medium 15–39, low 0–14. Unknown, blocked or temporary access receives zero homepage penalty and requires manual review. Unknown negative response metadata also requires manual review. A low score with incomplete coverage does not certify a healthy site.

### Network security and resource bounds

Only standard HTTP/80 and HTTPS/443. Reject credentials, control characters, backslashes, local/internal names and unsafe schemes/ports. Every DNS answer must be global/public; reject private, loopback, link-local, multicast, reserved and IPv4-mapped IPv6 addresses. TCP connects to a checked IP while TLS validates the original hostname. Every redirect is checked separately. No proxy environment variables are used for website requests.

Robots.txt is checked per origin, including redirected page origins. A 404/410 robots response permits inspection; unavailable/ambiguous robots stops it. Disallow is respected. Crawl delay above two seconds is outside this product's budget.

Bounds per audit: 5 sampled page targets, 500 supplied reviews, 32 HTTP requests including robots/redirects/retries, 512 KiB response bodies and 90 seconds. Requests are sequential, at most four per second, with robots delay respected. HTML truncation is reported. Overall audit budget is 240 seconds with a 300-second platform timeout; remaining businesses receive explicit unbilled not-checked reports.

No HTML or review text is deliberately stored in output. Original input remains in the run's Apify storage under normal account access/retention settings. Do not supply URL secrets or sensitive personal data.

### Billing unit

**business-audit**: one delivered bounded business audit, regardless of findings. Same unit for clean and problematic reports. Repeating a business/run is a new audit.

Eligibility requires an observed successful homepage, deterministic HTTP/redirect issue, or usable supplied review records. Pure inconclusive, bot/robots blocked or unsafe attempts without usable reviews are unbilled. Invalid input fails before website requests and without an audit event.

No per-finding, per-page, automatic dataset-item or start-event fee. The code rejects unexpected billable event configurations. Spending limits are checked before the next audit and enforced by the SDK during charged dataset delivery.

Price: **USD 0.01 per business-audit (USD 10 per 1,000 audits)**, including platform usage. The same event price applies regardless of finding count. No start, per-page, automatic dataset-row or per-finding fee. billingEligible describes whether the delivered audit qualifies; billing and SUMMARY identify commercial pricing and charged units.

### Clay example

Add an HTTP API enrichment column, one business per row:

- POST https://api.apify.com/v2/acts/afkdigital~local-business-website-review-auditor/run-sync-get-dataset-items?timeout=300\&memory=256
- Configure Authorization: Bearer YOUR_APIFY_TOKEN as a secret, plus Content-Type: application/json.
- Map the business name and website using examples/clay-input.json.
- Read the first array object: priority.score, priority.needsManualReview, websiteStatus.status, evidenceUrls and limitations.
- Use asynchronous /runs plus polling if the integration has a short HTTP timeout.

### n8n example

Use HTTP Request with Header Auth stored in credentials. examples/n8n-http-request.json is a node-settings example, not a full exported workflow. Map your incoming businessName, website and optional reviews to one business input. Route needsManualReview to a human and write evidence/limitations to the CRM. Do not put the token in a URL or workflow JSON.

### Make example

Use HTTP → Make a request with the same endpoint, secret Authorization header and examples/make-input.json as mapped JSON body. Parse the array, then Iterator → router to a remediation table. For shorter connector timeouts: POST /acts/{actorId}/runs, poll /actor-runs/{runId} until SUCCEEDED, then GET /datasets/{defaultDatasetId}/items.

These examples describe mappings and API calls; they are not claims of end-to-end verification inside connected Clay/n8n/Make accounts. The Actor never sends outreach.

### Portfolio scope

| Related AFK Digital product | Boundary for NEWAPI104 |
|---|---|
| API06 B2B Reputation Opportunity Analyzer | Rating/niche filtering remains there; this Actor adds bounded technical checks and response visibility |
| API09 Business Website Enricher | Rich contact enrichment remains there; only basic contacts are included here |
| API11 Low Rating Review Analyzer | Complaint themes remain there; this Actor counts explicit response states |
| NEWAPI15 B2B Tech Stack Detector | Technology detection remains there |
| NEWAPI01 / NEWAPI73 | Email/DNS configuration audits remain there |
| NEWAPI79 local project | Accessibility regression/WCAG testing is excluded here |
| Business discovery actors | Supply their authorized exports as your list; no discovery inside NEWAPI104 |

### Development and deployment

All development is contained in /opt/NEWAPI/NEWAPI104 on adf-netcup-01. Run .venv/bin/python -m unittest discover -s tests -v. Deterministic simulated scenarios and real public-site cloud observations are documented separately in evidence/. Deployments reuse the verified existing Actor. New release candidates are checked privately before public publication.

[Apify PPE documentation](https://docs.apify.com/actors/monetize/pay-per-event) · [Python Actor SDK](https://docs.apify.com/sdk/python/reference/class/Actor)

### Integration request bodies

Clay: map Company Name and Website into this JSON body in the HTTP enrichment column:

```json
{"businesses":[{"businessName":"{{Company Name}}","website":"{{Website}}","reviews":[]}],"authorizedData":true,"maxPagesPerSite":3,"timeoutSeconds":8}
```

n8n HTTP Request body expression (configure the secret Authorization header in credentials):

```javascript
{{ JSON.stringify({businesses:[{businessName:$json.businessName,website:$json.website,reviews:$json.reviews || []}],authorizedData:true,maxPagesPerSite:3,timeoutSeconds:8}) }}
```

Make: use the same JSON body and map the preceding module's businessName and website fields. With the asynchronous pattern, POST /acts/afkdigital~local-business-website-review-auditor/runs; retrieve the returned data.id, poll GET /actor-runs/{id}, then read GET /datasets/{defaultDatasetId}/items after SUCCEEDED. Use a router for other terminal statuses. Treat priority.needsManualReview as a human-review condition.

# Actor input Schema

## `businesses` (type: `array`):

1–10 objects: businessName, website, optional source and reviews (max 500). Reviews use rating 1–5, date YYYY-MM-DD, optional reviewId/sourceUrl/businessResponse and responseStatus present|absent|unknown. Only explicitly absent responses count as unanswered. No raw review text is needed.

## `authorizedData` (type: `boolean`):

Required. You have permission to provide and process this business/review data. Avoid personal reviewer details.

## `maxPagesPerSite` (type: `integer`):

Includes the homepage. Prioritizes discovered same-origin contact links, then other same-origin links. Retries, redirects and robots requests are bounded separately (32 requests/site).

## `timeoutSeconds` (type: `integer`):

Includes DNS, TLS and response reading. One transient homepage failure is retried once. Site budget 90 seconds; run audit budget 240 seconds.

## `reviewDateRange` (type: `object`):

Optional inclusive from/to dates, YYYY-MM-DD. Missing review dates are excluded when a date range is set.

## Actor input object example

```json
{
  "businesses": [
    {
      "businessName": "Example Domain — demonstration, not a local business",
      "website": "https://example.com",
      "source": {
        "type": "customer_supplied",
        "reference": "RFC 2606 example domain"
      },
      "reviews": [
        {
          "reviewId": "synthetic-1",
          "rating": 2,
          "date": "2026-11-01",
          "responseStatus": "unknown"
        },
        {
          "reviewId": "synthetic-2",
          "rating": 1,
          "date": "2026-11-02",
          "responseStatus": "absent"
        },
        {
          "reviewId": "synthetic-3",
          "rating": 2,
          "date": "2026-11-03",
          "responseStatus": "present",
          "businessResponse": "Synthetic demonstration reply"
        }
      ]
    }
  ],
  "authorizedData": true,
  "maxPagesPerSite": 3,
  "timeoutSeconds": 8,
  "reviewDateRange": {
    "from": "2026-01-01",
    "to": "2026-12-31"
  }
}
```

# Actor output Schema

## `reports` (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 = {
    "businesses": [
        {
            "businessName": "Example Domain — demonstration, not a local business",
            "website": "https://example.com",
            "source": {
                "type": "customer_supplied",
                "reference": "RFC 2606 example domain"
            },
            "reviews": [
                {
                    "reviewId": "synthetic-1",
                    "rating": 2,
                    "date": "2026-11-01",
                    "responseStatus": "unknown"
                },
                {
                    "reviewId": "synthetic-2",
                    "rating": 1,
                    "date": "2026-11-02",
                    "responseStatus": "absent"
                },
                {
                    "reviewId": "synthetic-3",
                    "rating": 2,
                    "date": "2026-11-03",
                    "responseStatus": "present",
                    "businessResponse": "Synthetic demonstration reply"
                }
            ]
        }
    ],
    "authorizedData": true,
    "reviewDateRange": {
        "from": "2026-01-01",
        "to": "2026-12-31"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("afkdigital/local-business-website-review-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 = {
    "businesses": [{
            "businessName": "Example Domain — demonstration, not a local business",
            "website": "https://example.com",
            "source": {
                "type": "customer_supplied",
                "reference": "RFC 2606 example domain",
            },
            "reviews": [
                {
                    "reviewId": "synthetic-1",
                    "rating": 2,
                    "date": "2026-11-01",
                    "responseStatus": "unknown",
                },
                {
                    "reviewId": "synthetic-2",
                    "rating": 1,
                    "date": "2026-11-02",
                    "responseStatus": "absent",
                },
                {
                    "reviewId": "synthetic-3",
                    "rating": 2,
                    "date": "2026-11-03",
                    "responseStatus": "present",
                    "businessResponse": "Synthetic demonstration reply",
                },
            ],
        }],
    "authorizedData": True,
    "reviewDateRange": {
        "from": "2026-01-01",
        "to": "2026-12-31",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("afkdigital/local-business-website-review-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 '{
  "businesses": [
    {
      "businessName": "Example Domain — demonstration, not a local business",
      "website": "https://example.com",
      "source": {
        "type": "customer_supplied",
        "reference": "RFC 2606 example domain"
      },
      "reviews": [
        {
          "reviewId": "synthetic-1",
          "rating": 2,
          "date": "2026-11-01",
          "responseStatus": "unknown"
        },
        {
          "reviewId": "synthetic-2",
          "rating": 1,
          "date": "2026-11-02",
          "responseStatus": "absent"
        },
        {
          "reviewId": "synthetic-3",
          "rating": 2,
          "date": "2026-11-03",
          "responseStatus": "present",
          "businessResponse": "Synthetic demonstration reply"
        }
      ]
    }
  ],
  "authorizedData": true,
  "reviewDateRange": {
    "from": "2026-01-01",
    "to": "2026-12-31"
  }
}' |
apify call afkdigital/local-business-website-review-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,afkdigital/local-business-website-review-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/owUVhSNpx6mXK6X9N/builds/NJzhJfm8DP0nEHrPf/openapi.json
