# Website Health Report: SEO, Broken Links & SSL (`blond_terrarium/website-health-report`) Actor

One finished website health report per site: 0-100 score, prioritized fix list, SEO audit, broken links, SSL and domain expiry, SPF/DMARC email checks, sitemap and tech stack. Markdown + HTML report ready to send to a client. Pay per report.

- **URL**: https://apify.com/blond_terrarium/website-health-report.md
- **Developed by:** [LiveFree Analytics](https://apify.com/blond_terrarium) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $90.00 / 1,000 website health reports

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

## Website Health Report: SEO Audit, Broken Links, SSL & Domain Check in One Report

Get a **finished, client-ready website health report** for any site: a **0-100 health score**, a letter grade and a **prioritized fix list in plain English**, plus the details behind it. That covers the SEO audit, broken links, SSL certificate and domain expiry, SPF/DMARC email records, the XML sitemap and the tech stack. **One report per website, one price.** Each report is saved as **Markdown and a standalone HTML page** you can send to a client.

- ✅ **Health score and grade:** SEO, links, speed, security and sitemap sub-scores
- ✅ **Top fixes in priority order:** urgent, important and minor, each with "how to fix" and example URLs
- ✅ **Broken link checker:** internal and outbound links, with the page each one was found on
- ✅ **SEO audit crawler:** titles, meta descriptions, H1s, thin content, canonicals, noindex, Open Graph, alt text, duplicates
- ✅ **SSL and domain expiry checks**, **SPF and DMARC** email checks
- ✅ **Tech stack:** CMS, e-commerce platform, analytics, CDN, hosting
- ✅ **Free error rows:** offline, blocked or robots-disallowed sites are never charged

### Who it's for

- **Web designers and agencies:** send a prospect or client a real audit in minutes
- **SEO freelancers:** a quick first-pass site audit before a proposal
- **Site owners:** a monthly health check (schedule it) to catch broken links and expiring certificates
- **Website flippers and buyers:** due diligence on a site before you buy

### What you get (real output, shortened)

```
{ "domain": "books.toscrape.com", "healthScore": 81, "grade": "B",
  "headline": "books.toscrape.com: B (81/100). 0 urgent, 4 important, 4 minor fixes.",
  "scores": { "seo": 72, "links": 100, "speed": 100, "security": 100, "sitemap": 40 },
  "topFixes": [ { "priority": 1, "severity": "medium", "area": "SEO", "issue": "Pages without a meta description (20 of 20 pages)",
                  "fix": "Write a 120-160 character meta description that sells the click.", "examples": ["https://books.toscrape.com/", "…"] },
                { "priority": 4, "severity": "medium", "area": "SEO", "issue": "No XML sitemap found", "fix": "Publish /sitemap.xml and list it in robots.txt…" } ],
  "domainChecks": { "registrar": "Amazon Registrar, Inc.", "daysUntilExpiry": 237, "sslValid": true, "sslDaysUntilExpiry": 74, "hasSpf": false, "hasDmarc": false },
  "tech": { "all": ["HSTS", "jQuery", "Amazon Web Services", "Bootstrap"] },
  "reportHtmlUrl": "https://api.apify.com/v2/key-value-stores/…/records/report-books.toscrape.com-html", "charged": true }
```

### Try it in 1 minute

1. Add one or more websites (`example.com`).
2. Optional: pages to audit per site (default 25, up to 200), and switch off outbound link checks, tech stack, domain/SSL or sitemap.
3. Run. Open the **HTML report** link for each site, or export the dataset as CSV, Excel or JSON.

   { "websites": \["example.com", "https://www.example.org"], "maxPagesPerSite": 25 }

### Price

One `health-report` event per website report delivered. The page limit doesn't change the price.

| Apify plan | Per report |
|---|---|
| Free | $0.15 |
| Bronze | $0.13 |
| Silver | $0.11 |
| Gold | $0.09 |

- **No start fee** from us. Only Apify's standard minimum start event (a fraction of a cent).
- **If no report can be produced** (every site offline, blocked or invalid), the run fails with a clear message and **costs nothing**. It never "succeeds" empty.
- Set **Max cost per run** or `maxChargedReports` as a hard spending stop.

### All settings

| Field | Default | What it does |
|---|---|---|
| websites | – | Domains or URLs, one report each |
| maxPagesPerSite | 25 | Pages the SEO crawler audits per site (1-200) |
| checkExternalLinks | true | Also test outbound links |
| includeDomainAndSsl | true | Domain expiry, SSL, SPF/DMARC |
| includeTechStack | true | CMS, analytics, CDN, hosting |
| includeSitemap | true | Find and count the XML sitemap |
| saveHtmlReport | true | Standalone HTML report per site |
| respectRobotsTxt | true | Polite crawling |
| maxConcurrency | 2 | Sites in parallel |
| maxChargedReports | 0 | Hard stop (0 = none) |

### FAQ

**Is it the same as a Lighthouse or PageSpeed score?** No. It measures server response time, not lab Core Web Vitals. It focuses on the fixes that clients pay for: broken links, on-page SEO, SSL, domain and email setup.
**Why do some social links count as fine?** Facebook, LinkedIn, X and similar sites block bots with 4xx codes, so those are treated as "restricted", not broken.
**Can I white-label it?** The HTML report has no Apify branding. Download it and send it as your own.

### Use it from code, no-code tools or AI agents

- **API:** `POST https://api.apify.com/v2/acts/blond_terrarium~website-health-report/run-sync-get-dataset-items?token=YOUR_TOKEN`
- **Make, Zapier, n8n, Google Sheets, webhooks** through Apify integrations
- **AI agents (MCP):** `https://mcp.apify.com?tools=blond_terrarium/website-health-report`. Set a max charge so an agent can't overspend.

# Actor input Schema

## `websites` (type: `array`):

Domains or URLs to check, one report per website (for example example.com or https://www.example.com).

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

How many pages of each site the SEO crawler audits (homepage first, then linked pages). The price per report is the same.

## `checkExternalLinks` (type: `boolean`):

Also test links that point to other websites (catches dead partner/social links).

## `includeDomainAndSsl` (type: `boolean`):

WHOIS/RDAP domain expiry, SSL certificate expiry and SPF/DMARC email records.

## `includeTechStack` (type: `boolean`):

Detect CMS, e-commerce platform, analytics, CDN and hosting from the homepage.

## `includeSitemap` (type: `boolean`):

Find the XML sitemap and count the URLs it lists (up to 10,000).

## `saveHtmlReport` (type: `boolean`):

Save a standalone, client-ready HTML page per site in the key-value store (a Markdown version is always saved).

## `respectRobotsTxt` (type: `boolean`):

Skip pages the site asks crawlers not to visit.

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

How many websites to check at the same time.

## `maxChargedReports` (type: `integer`):

Stop after this many paid reports. The run also stops at your "Max cost per run".

## Actor input object example

```json
{
  "websites": [
    "books.toscrape.com",
    "quotes.toscrape.com"
  ],
  "maxPagesPerSite": 25,
  "checkExternalLinks": true,
  "includeDomainAndSsl": true,
  "includeTechStack": true,
  "includeSitemap": true,
  "saveHtmlReport": true,
  "respectRobotsTxt": true,
  "maxConcurrency": 2,
  "maxChargedReports": 0
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `fixes` (type: `string`):

No description

## `reports` (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 = {
    "websites": [
        "books.toscrape.com",
        "quotes.toscrape.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("blond_terrarium/website-health-report").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 = { "websites": [
        "books.toscrape.com",
        "quotes.toscrape.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("blond_terrarium/website-health-report").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 '{
  "websites": [
    "books.toscrape.com",
    "quotes.toscrape.com"
  ]
}' |
apify call blond_terrarium/website-health-report --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blond_terrarium/website-health-report"
        }
    }
}
```

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/DXkPkY1UGmg2Ksxy3/builds/dLesfAhwyi95nwapK/openapi.json
