# SEO Audit Crawler – On-Page Checker, Broken Links & Site Report (`rowharbor1988/seo-audit-crawler`) Actor

Crawl a website and audit every page for on-page SEO: titles, meta descriptions, headings, alt texts, canonicals, noindex, structured data, redirects and broken internal links. 0-100 score per page plus a shareable HTML site report. No browser – fast and cheap.

- **URL**: https://apify.com/rowharbor1988/seo-audit-crawler.md
- **Developed by:** [rowharbor1988](https://apify.com/rowharbor1988) (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 $1.40 / 1,000 audited pages

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

## SEO Audit Crawler – On-Page Checker, Broken Links & Site Report

Audit a whole website for on-page SEO in minutes. The Actor crawls your site through internal links and the sitemap, checks every page against more than 30 common SEO rules, gives each page a **0–100 score** and writes a **shareable HTML site report** with broken links, duplicate titles and the pages that need work first.

No browser, no API keys, no setup – just enter a URL.

### What it checks

| Area | Checks |
|---|---|
| Title | missing, empty, too long (> 60), too short (< 10), several title tags, duplicates across the site |
| Meta description | missing, too long (> 160), too short (< 50), several, duplicates across the site |
| Headings | no H1, several H1, empty H1, skipped levels (H2 → H4) |
| Images | images without alt attribute (decorative `alt=""` is fine) |
| Links | broken internal links (with the pages that link to them), links to redirects, links without text |
| Indexing | noindex / nofollow (meta robots and X-Robots-Tag), canonical missing / several / pointing elsewhere |
| Technical | HTTP errors, redirects and redirect chains, HTTP instead of HTTPS, slow response, very large HTML, meta refresh |
| Mobile & language | viewport tag, html lang, charset, hreflang alternates |
| Content | thin content (< 200 words), word count |
| Sharing & structured data | Open Graph title/image, Twitter card, JSON-LD types, broken JSON-LD |

### Output

**Dataset – one row per page**: URL, status code, score, number of errors/warnings/notices, the list of issues with explanations, title and description (+ lengths), H1s, heading counts, canonical, robots, indexable, lang, hreflang, word count, images without alt (with examples), internal/external/nofollow link counts, structured data types, Open Graph, redirects, response time and HTML size. Optional: every link with anchor text.

**SITE_REPORT (JSON)** and **REPORT (HTML)** in the key-value store:

- average score, pages with errors, non-indexable pages
- issues ranked by how many pages they affect
- broken internal links and where they are linked from
- duplicate titles and meta descriptions
- internal links that point to redirects
- the 20 lowest-scoring pages

Open the **HTML report** from the run's Output tab and send it straight to a client or colleague.

### Example result (one page)

```json
{
  "url": "https://example.com/blog/",
  "statusCode": 200,
  "score": 84,
  "errors": 0, "warnings": 2, "notices": 6,
  "issues": [
    { "code": "description-missing", "severity": "warning", "message": "Meta description is missing or empty." },
    { "code": "img-alt-missing", "severity": "warning", "message": "3 of 12 image(s) have no alt attribute." }
  ],
  "title": "Blog – Example", "titleLength": 14,
  "h1": ["Our blog"],
  "wordCount": 812,
  "indexable": true,
  "internalLinks": 48, "externalLinks": 6
}
```

### How to use

1. Enter your website, e.g. `https://example.com`.
2. Set **Max pages per website** (start with 20–100 to try it).
3. Run. Results stream into the dataset; the site report is written at the end.

Use **Only these URLs** mode to check a list of landing pages, or schedule the Actor weekly to catch new problems early.

### Score

Every page starts at 100. Each error costs 15 points, each warning 5, each notice 1 (minimum 0). Pages with HTTP errors score 0.

### Pricing

Pay per audited page – no start fee, no monthly fee. Pages that cannot be reached at all (dead domain, timeout) are not charged. Pages skipped by robots.txt and non-HTML files (PDF, images) are not charged.

### Good to know

- The crawler respects robots.txt and crawl-delay by default and identifies itself as `SEOAuditBot`.
- www and non-www count as the same website; subdomains are optional.
- The Actor reads only the HTML the server delivers. Content that only appears after JavaScript runs is not seen – this matches what many search engine crawlers see first.
- No personal data is collected: author tags, e-mail addresses and similar are ignored.

### Support

Found a problem or missing a check? Open an issue on the Actor's Issues tab – I answer quickly.

# Actor input Schema

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

Website start URLs, e.g. https://example.com. In 'Crawl website' mode the Actor follows internal links (and the sitemap) from here. In 'Only these URLs' mode exactly these pages are checked.

## `crawlMode` (type: `string`):

Crawl website: discover pages through internal links and the sitemap. Only these URLs: audit just the URLs you enter.

## `maxPages` (type: `integer`):

Upper limit of audited pages per start URL. You pay per audited page.

## `useSitemap` (type: `boolean`):

Add pages listed in the sitemap (found via robots.txt or /sitemap.xml). Finds pages that are not linked anywhere.

## `maxDepth` (type: `integer`):

How many clicks away from the start page the crawler goes.

## `includeUrlPatterns` (type: `array`):

Optional regular expressions, e.g. /blog/ – only matching URLs are crawled. The start URL is always audited.

## `excludeUrlPatterns` (type: `array`):

Optional regular expressions, e.g. ?page= or /tag/ – matching URLs are not crawled.

## `includeSubdomains` (type: `boolean`):

Also crawl subdomains like blog.example.com. www. and the bare domain always count as the same site.

## `ignoreQueryParams` (type: `boolean`):

Treat /page?a=1 and /page as the same page. Useful for shops with filter parameters.

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

Skip pages disallowed by robots.txt and honour crawl-delay (max 5 s). Turn off only for your own website.

## `includeLinks` (type: `boolean`):

Add every link of the page (URL, anchor text, nofollow) to the result. Makes results larger.

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

How many pages are loaded at the same time. Lower it for small or slow servers.

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

Usually not needed. Use a proxy only if a website blocks the crawler.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://crawlee.dev"
    }
  ],
  "crawlMode": "site",
  "maxPages": 20,
  "useSitemap": true,
  "maxDepth": 20,
  "includeUrlPatterns": [],
  "excludeUrlPatterns": [],
  "includeSubdomains": false,
  "ignoreQueryParams": false,
  "respectRobotsTxt": true,
  "includeLinks": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `report` (type: `string`):

No description

## `siteReport` (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 = {
    "startUrls": [
        {
            "url": "https://crawlee.dev"
        }
    ],
    "maxPages": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rowharbor1988/seo-audit-crawler").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": [{ "url": "https://crawlee.dev" }],
    "maxPages": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rowharbor1988/seo-audit-crawler").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": [
    {
      "url": "https://crawlee.dev"
    }
  ],
  "maxPages": 20
}' |
apify call rowharbor1988/seo-audit-crawler --silent --output-dataset

```

## MCP server setup

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

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/163AdicpfzfwFRbsr/builds/JRg26jOccFQyJRFgT/openapi.json
