# Website Audit & Lead Enricher (`bob-tools/website-audit-lead-enricher`) Actor

Turn any list of websites into qualified leads. Get a 0–100 score, contacts, a ready-to-send HTML audit report for each prospect and a one-line outreach hook. Built for web agencies and SEO freelancers.

- **URL**: https://apify.com/bob-tools/website-audit-lead-enricher.md
- **Developed by:** [Valentyna Shtunder](https://apify.com/bob-tools) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$5.00 / 1,000 website 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

## Website Audit & Lead Enricher

Audit hundreds of websites in minutes. For every site you get a **0–100 health score**, a **prioritized list of issues**, **public contact data** and a **client-ready HTML report** you can send as-is.

Built for **web agencies, SEO freelancers, lead generation and sales teams** who need a fast reason to start a conversation with a prospect.

### What it checks

- **Availability & security** — site loads, HTTP errors, HTTPS, SSL validity and expiry, HTTP→HTTPS redirect, mixed content
- **Speed** — server response time, heavy images (>400 KB), optional Google PageSpeed mobile score
- **Mobile** — viewport meta tag (mobile-friendliness)
- **SEO basics** — title length, meta description, H1 headings, image alt text, robots.txt, XML sitemap, favicon
- **Broken links** — tests links on the homepage (configurable)
- **Conversion** — click-to-call phone, contact form / booking, live chat widgets (Intercom, Tawk.to, Crisp, Tidio, HubSpot, Zendesk…), messenger buttons, outdated copyright year

### What you get (per website)

| Field | Description |
|---|---|
| `score` | 0–100 health score |
| `criticalCount`, `importantCount`, `tipCount` | Issue counts by severity |
| `issues` | Prioritized list with explanations in plain language |
| `outreachHook` | One-sentence summary of the top 3 problems — ready for cold outreach |
| `emails`, `phones`, `socialLinks` | Public contact data found on the homepage |
| `chatWidgets` | Detected live chat tools |
| `brokenLinks`, `heavyImages`, `mixedContent` | Technical details |
| `reportUrl` | Link to a clean HTML report for the client |

### Lead generation workflow

1. Run **Google Maps Scraper** (`compass/crawler-google-places`) for your niche and city.
2. Feed the `website` column into this Actor.
3. Sort the results by `score` — the lowest scores are your best prospects.
4. Use `outreachHook` as the opening line of your email and attach the `reportUrl` report.

### How to use

1. Paste website URLs (one per line).
2. Optionally add a free Google PageSpeed API key for performance scores.
3. Run and export results to CSV, Excel, JSON or connect via API, Make, Zapier or n8n.

### Pricing

You pay **per website audited**. Websites that cannot be reached are returned **for free**. Set a maximum cost per run in the run options to stay in control of your budget.

### Example use cases

- Find local businesses with broken or outdated websites and pitch your services
- Enrich a lead list with emails, phones and social profiles
- Monitor your clients' websites for SSL expiry, broken links and regressions
- Send prospects a professional audit report in one click

### Notes

- Only the homepage and publicly available data are analyzed.
- Sites protected against bots (Cloudflare and similar) are returned with `status: blocked` and are **not charged**.
- Use the collected contact data in line with applicable laws (e.g. GDPR, anti-spam rules).
- Found a bug or need a feature? Open an issue on the Actor page.

# Actor input Schema

## `startUrls` (type: `array`):

Websites to audit — one per line. 'https://' is optional.

## `maxLinksToCheck` (type: `integer`):

How many links on the homepage to test for errors (0 disables the check).

## `checkImages` (type: `boolean`):

Flag images larger than 400 KB (checks up to 15 images per site).

## `generateHtmlReport` (type: `boolean`):

Save a client-ready HTML report for every website and return its link.

## `pageSpeedApiKey` (type: `string`):

Adds the Google PageSpeed mobile performance score. Free key from Google Cloud Console.

## `maxConcurrency` (type: `integer`):

How many websites to audit in parallel.

## Actor input object example

```json
{
  "startUrls": [
    "https://apify.com",
    "https://crawlee.dev"
  ],
  "maxLinksToCheck": 30,
  "checkImages": true,
  "generateHtmlReport": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

One record per website: score, issues, contacts and report link.

## `reports` (type: `string`):

Client-ready HTML report for every audited website.

# 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 = {
    "startUrls": [
        "https://apify.com",
        "https://crawlee.dev"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bob-tools/website-audit-lead-enricher").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 = { "startUrls": [
        "https://apify.com",
        "https://crawlee.dev",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bob-tools/website-audit-lead-enricher").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 '{
  "startUrls": [
    "https://apify.com",
    "https://crawlee.dev"
  ]
}' |
apify call bob-tools/website-audit-lead-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bob-tools/website-audit-lead-enricher"
        }
    }
}
```

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/W9K75jRytJfRJRUDd/builds/SXMjZTzx2pzFXzyp1/openapi.json
