# SEO Audit Crawler - Titles, Meta, Broken Links, Duplicates (`dennydevelops/seo-audit-crawler`) Actor

Crawl a website and audit every page for on-page SEO: missing or duplicate titles and meta descriptions, H1 problems, broken links, redirects, noindex, canonicals, thin content, slow pages and structured data. Per-page issues plus a site score.

- **URL**: https://apify.com/dennydevelops/seo-audit-crawler.md
- **Developed by:** [Musedenny](https://apify.com/dennydevelops) (community)
- **Categories:** SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event + usage

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 – Titles, Meta, Broken Links, Duplicates

Crawl a whole website and get an **on-page SEO audit of every page**, plus a site score. It's like a desktop SEO spider, but it runs in the cloud on a schedule and costs a tenth of a cent per page.

For each page it checks:

- **Title and meta description**: missing, too long or too short, duplicated across pages
- **Headings**: missing H1, multiple H1s, H2 count
- **Indexing**: `noindex`, canonical pointing elsewhere, hreflang
- **Links**: links to broken pages (4xx/5xx), links to redirects, inlinks per page (finds orphan pages from your sitemap)
- **Content**: word count (thin content), images, schema.org types, Open Graph tags
- **Technical**: HTTP status, redirects, response time, HTML size, `lang` attribute, mobile viewport, HTTPS

The crawler respects `robots.txt`, stays on the site's own host (www and non-www count as one site), reads the sitemap to find pages that aren't linked, and skips images, PDFs and other files.

### Input

| Field | Default | Meaning |
|---|---|---|
| `startUrls` | – | One start URL (usually the home page) per site |
| `maxPagesPerSite` | 100 | Cap per site (up to 10,000) |
| `useSitemap` | true | Also crawl URLs listed in sitemap.xml |
| `onlyPagesWithIssues` | false | Hide pages with no issues |
| `maxSites` | 100 | Cap on start URLs per run |

### Output

One row per page, worst pages first:

```json
{
  "site": "crawlee.dev",
  "url": "https://crawlee.dev/blog",
  "statusCode": 200,
  "redirectedTo": null,
  "depth": 1,
  "responseTimeMs": 312,
  "title": "Crawlee Blog - learn how to build better scrapers | Crawlee · Build reliable crawlers. Fast.",
  "titleLength": 107,
  "metaDescriptionLength": 87,
  "h1Count": 0,
  "canonical": "https://crawlee.dev/blog",
  "noindex": false,
  "wordCount": 1644,
  "schemaTypes": [],
  "inlinks": 39,
  "issues": ["title-too-long", "missing-h1", "duplicate-title", "duplicate-meta-description"],
  "issueCount": 4,
  "duplicateOf": ["https://crawlee.dev/blog/page/2", "https://crawlee.dev/blog/page/3"],
  "brokenLinks": null,
  "checkedAt": "2026-11-11T19:00:00Z"
}
```

The run's `OUTPUT` record has one summary per site: pages crawled, **score out of 100**, number of errors, warnings and notices, and each issue with the number of pages affected and what it means.

#### Issues

| Code | Severity |
|---|---|
| `broken-page`, `missing-title`, `links-to-broken-pages` | error |
| `duplicate-title`, `title-too-long`, `missing-meta-description`, `duplicate-meta-description`, `missing-h1`, `noindex`, `slow-response`, `missing-viewport`, `not-https` | warning |
| `title-too-short`, `meta-description-too-long`, `meta-description-too-short`, `multiple-h1`, `canonical-elsewhere`, `links-to-redirects`, `thin-content`, `large-page`, `missing-lang`, `redirected`, `missing-og-tags` | notice |

### Limits

- Pages are fetched without running JavaScript. Sites that build their content in the browser show little text.
- Links to other websites aren't checked.

### Pricing (pay per event)

**$0.001 per page** audited, plus $0.001 per run. A 500-page site costs $0.50, with platform usage passed through at cost. Schedule it weekly to catch new problems.

# Actor input Schema

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

Home page or any start URL per site, e.g. "https://apify.com". Each site is crawled within its own host.

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

Caps work and cost per site.

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

Finds pages that are not linked from the navigation.

## `onlyPagesWithIssues` (type: `boolean`):

Hide clean pages. Every page crawled is still billed.

## `maxSites` (type: `integer`):

Caps the number of start URLs per run.

## Actor input object example

```json
{
  "startUrls": [
    "https://crawlee.dev"
  ],
  "maxPagesPerSite": 100,
  "useSitemap": true,
  "onlyPagesWithIssues": false,
  "maxSites": 100
}
```

# Actor output Schema

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

// Run the Actor and wait for it to finish
const run = await client.actor("dennydevelops/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": ["https://crawlee.dev"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dennydevelops/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/IIq9q7eNqqwMoPSSs/builds/gjcBeeUpElGT93fPE/openapi.json
