# Site Audit DACH – Full-Site SEO, Broken Pages & Impressum (`webcheck-dach/site-audit-dach`) Actor

Crawl a whole website via its sitemap and audit every page for $0.015/page: score 0–100, broken pages (404/5xx), duplicate titles, missing meta descriptions, H1, noindex, Impressum & privacy links. Input: homepage URL + page limit. Output: one JSON per page plus a site summary.

- **URL**: https://apify.com/webcheck-dach/site-audit-dach.md
- **Developed by:** [Kai Althoff](https://apify.com/webcheck-dach) (community)
- **Categories:** SEO tools, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 page auditeds

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

## Site Audit DACH – Full-Website SEO, Broken Pages & Impressum Crawler

Audit **every page of a website**, not just the homepage. The Actor discovers pages from the **XML sitemap** (including sitemap indexes and `.gz` sitemaps) or, if there is none, by following internal links. It then scores each page **0–100** and builds a **per-site summary**.

Made for the German-speaking market (Germany, Austria, Switzerland): it checks that the **Impressum** and **privacy policy** links are reachable from every page, as German law expects, alongside classic on-page SEO.

### Quick facts for API and AI-agent users

- **Answers questions like:** "Which pages of example.de are broken (404/5xx)?", "Which pages have no meta description or duplicate titles?", "Is the Impressum linked from every page?", "Which pages are set to noindex?"
- **Minimal input:** `{"urls": ["https://www.example.de"], "maxPagesPerSite": 50}`; `maxPagesPerSite` also caps the cost.
- **Output:** one JSON object per page (`score`, `statusCode`, `issues[]` with stable `code`s) plus a per-site summary in the key-value store record `SITE_SUMMARIES` (average score, broken pages, duplicate titles, worst pages).
- **Cost:** $0.015 per audited page. Unreachable URLs are free. A 50-page website ≈ $0.75.
- **No login, no proxies, no personal data.** Plain HTTP requests, no browser.

### Who is this for?

- **Web & SEO agencies**: run a technical audit of a client or prospect site in minutes and show concrete numbers ("23 pages without meta description, 4 broken pages").
- **Website relaunch pitches**: find sites with many broken pages, duplicate titles or missing Impressum links.
- **Site owners**: schedule a weekly crawl with Apify Schedules and catch broken pages and `noindex` mistakes early.

### What you get

**Per page** (dataset):

| Field | Meaning |
|---|---|
| `score`, `grade` | 0–100 score and grade A–F |
| `statusCode` | HTTP status (finds 404 / 5xx pages) |
| `title`, `titleLength`, `metaDescriptionLength`, `h1Count` | On-page SEO basics |
| `noindex` | Page blocked from search engines |
| `impressumLink`, `privacyLink` | Legal links reachable from this page |
| `responseTimeMs`, `htmlSizeKb`, `imagesWithoutAlt` | Speed & accessibility indicators |
| `issues` | Prioritized issues with stable codes, e.g. `NO_META_DESCRIPTION`, `MULTIPLE_H1`, `NO_IMPRESSUM_LINK` |

The **homepage** additionally gets the site-wide checks: HTTPS/SSL validity and expiry, http→https redirect, HSTS, robots.txt, sitemap, favicon, Google Fonts / trackers without consent tool, CMS detection.

**Per website** (key-value store record `SITE_SUMMARIES`):

- average page score and homepage score
- broken pages (4xx/5xx/unreachable)
- duplicate page titles
- count of every issue code across the site
- the 10 worst pages

### Input

```json
{
  "urls": ["https://www.example.de"],
  "maxPagesPerSite": 50,
  "language": "de",
  "maxConcurrency": 10
}
```

`maxPagesPerSite` caps both the crawl and your cost.

### Pricing

**Pay per event: you pay per audited page.** Unreachable URLs are free. The crawler uses plain HTTP requests (no browser, no proxies), which keeps the price per page low. Example: auditing a 50-page website costs 50 page events.

### How it works & limits

- Static HTML analysis without a browser: content rendered only by JavaScript is not visible.
- Pages found in the sitemap are audited in sitemap order; links are followed up to 2 levels deep when no sitemap exists.
- Only pages on the same domain (with or without `www.`) are audited; images, PDFs and other files are skipped.
- Requests to private/internal IP addresses are blocked. Please keep concurrency moderate for small websites.

### Privacy

The Actor **does not extract personal data**: no names, e-mails, phone numbers or addresses. It only records whether elements such as an Impressum link exist and stores page titles.

### Disclaimer

Legal signals (Impressum, privacy links, Google Fonts, tracking) are **technical indicators, not legal advice**.

### Related

For a fast homepage-only check of many websites at once (e.g. lead qualification), use **Website Audit DACH** by the same author.

# Actor input Schema

## `urls` (type: `array`):

Homepages of the websites to crawl, one per line. 'https://' is added automatically if missing.

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

Upper limit of pages audited per website (homepage included). You pay per audited page, so this also caps your cost.

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

Language of the issue messages.

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

How many pages are fetched in parallel per website. Keep it low to be gentle with small servers.

## `requestTimeoutSecs` (type: `integer`):

Timeout for each HTTP request.

## Actor input object example

```json
{
  "urls": [
    "https://www.python.org"
  ],
  "maxPagesPerSite": 10,
  "language": "de",
  "maxConcurrency": 10,
  "requestTimeoutSecs": 20
}
```

# Actor output Schema

## `pages` (type: `string`):

Per-page results with score, status code and top issues.

## `allResults` (type: `string`):

Full per-page audit results including the issues array.

## `siteSummaries` (type: `string`):

Per-website summary: average score, broken pages, duplicate titles, issue counts, worst pages.

# 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 = {
    "urls": [
        "https://www.python.org"
    ],
    "maxPagesPerSite": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("webcheck-dach/site-audit-dach").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 = {
    "urls": ["https://www.python.org"],
    "maxPagesPerSite": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("webcheck-dach/site-audit-dach").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 '{
  "urls": [
    "https://www.python.org"
  ],
  "maxPagesPerSite": 10
}' |
apify call webcheck-dach/site-audit-dach --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,webcheck-dach/site-audit-dach"
        }
    }
}
```

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/3b3nUykEfohVSi0jp/builds/dSj3CzdUXpXh7VSo5/openapi.json
