# SEO Audit Crawler: Broken Links, Duplicates & Site Health (`steadyutil/seo-audit-crawler`) Actor

Crawl a site for SEO issues: broken links, redirects, duplicate titles, missing meta and on-page health. A Screaming Frog-style site audit. $0.008/URL audited and $0.0002/extra link checked, with lower prices on higher Apify plans. Default cap 50 pages/site.

- **URL**: https://apify.com/steadyutil/seo-audit-crawler.md
- **Developed by:** [SteadyUtil](https://apify.com/steadyutil) (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

from $6.40 / 1,000 urls audited

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/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: Broken Links, Duplicates & Site Health

**SEO Audit Crawler** crawls a whole website the way a search engine does and gives you a full technical SEO audit. It finds **broken links and images, redirect chains, duplicate titles, meta descriptions and content, canonical and hreflang mistakes, noindex and sitemap problems, orphan pages and soft 404s**. Every site gets a **0–100 health score** and a **shareable HTML report**, and every page gets a row with its issues.

Think of it as a cloud Screaming Frog / Ahrefs Site Audit that you can run on a schedule, through the API, for many sites at once, and pay only for the pages you audit.

### Why use it?

- **Whole-site crawl.** It starts from your homepage, follows internal links (www and non-www count as the same site), reads your **XML sitemaps** (from robots.txt or /sitemap.xml, including sitemap indexes and .gz files), and also audits pages that only appear in the sitemap.
- **Broken links with the pages that contain them.** Every unique link, image, script, stylesheet and iframe is checked once, internal and external. Each broken URL lists its status code or error (DNS failure, SSL error, timeout) and **the pages that link to it**, with anchor texts. Links behind bot protection (403/429/999 challenges) are not reported as broken, so you get no false alarms from LinkedIn and friends.
- **60+ checks per page**, each with a severity (error, warning or notice) and a plain-English message:
  - **Status:** 4xx/5xx pages, redirects, redirect chains and loops, meta-refresh redirects, internal links pointing to redirects.
  - **Indexability:** noindex (meta and X-Robots-Tag), canonical to another page, broken or redirecting canonicals, multiple canonicals, cross-domain canonicals, robots.txt blocks.
  - **Sitemaps:** sitemap URLs that redirect or error, noindex or canonicalized URLs in the sitemap, URLs in the sitemap blocked by robots.txt, **orphan pages** (in the sitemap but not linked), and indexable pages missing from the sitemap.
  - **Content:** missing, duplicate, too long or too short titles and meta descriptions; missing or multiple H1s; skipped heading levels; **duplicate content** (same body text); thin pages; images without alt text.
  - **International:** hreflang without return links, without a self-reference, with invalid codes, or pointing to broken pages.
  - **Technical:** slow responses, HTML over 1 MB, mixed content, missing viewport, lang, Open Graph and structured data, invalid JSON-LD, too many links, empty anchors, deep pages (more than 4 clicks), URL hygiene (length, uppercase, underscores, parameters), nofollow internal links.
- **Site-wide checks:** soft 404s (random URLs answering 200), http→https redirect (and whether it's permanent), www/non-www duplicates, HSTS, compression, robots.txt and sitemap presence, failing sitemaps listed in robots.txt.
- **Link graph data:** click depth, inlinks, internal and external outlinks for every page.
- **Shareable HTML report** for each site, plus clean JSON/CSV/Excel data for your own dashboards.
- **Polite by default.** It respects robots.txt and Crawl-delay and limits parallel requests per site. You set the page limit and only pay for what is crawled.

### How to use it

1. Add one or more **websites** (homepages or any start pages).
2. Set **Max pages per site** (default 200; up to 20,000).
3. Optionally narrow the crawl: only a folder, include/exclude URL patterns, max click depth, ignore query parameters.
4. Run it. Open the **HTML report** link in the "Site scores" view, or use the **Pages**, **Issues** and **Broken links** views and export them.
5. Schedule it weekly to catch new broken links and regressions, or call it from the API after each deploy.

#### Input examples

Full audit of one site:

```json
{
  "startUrls": [{ "url": "https://www.example.com/" }],
  "maxPagesPerSite": 2000
}
```

Only the blog, skip tag pages, no external link checks:

```json
{
  "startUrls": [{ "url": "https://www.example.com/blog/" }],
  "stayInStartPath": true,
  "excludeUrlPatterns": ["/blog/tag/**", "/blog/page/*"],
  "checkExternalLinks": false,
  "maxPagesPerSite": 500
}
```

Quick health check of many client sites (score, broken links and report only):

```json
{
  "startUrls": [{ "url": "https://client-one.com/" }, { "url": "https://client-two.com/" }],
  "maxPagesPerSite": 100,
  "pageOutput": "none"
}
```

### Output

The dataset has three kinds of rows, marked by `type`:

- **`page`**: one per crawled URL, with status, indexability, score, issues and all the SEO fields.
- **`broken-link`**: one per broken URL, with the pages linking to it.
- **`site-summary`**: one per website, with score, grade, issue totals, an issue table, duplicates, sitemap and robots.txt info, site-wide checks and the HTML report URL.

Page row (trimmed):

```json
{
  "type": "page",
  "url": "https://books.toscrape.com/catalogue/category/books/academic_40/index.html",
  "statusCode": 200,
  "indexable": true,
  "score": 86,
  "errors": 0,
  "warnings": 2,
  "notices": 6,
  "issueCodes": ["missing-meta-description", "mixed-content", "thin-content", "missing-canonical", "..."],
  "issues": [{ "code": "mixed-content", "severity": "warning", "message": "HTTPS page loads HTTP resources", "detail": "1 resources" }],
  "depth": 1,
  "inlinks": 52,
  "outlinksInternal": 53,
  "inSitemap": false,
  "brokenLinksOnPage": [],
  "title": "Academic | Books to Scrape - Sandbox",
  "titleLength": 36,
  "metaDescription": null,
  "h1": ["Academic"],
  "canonical": null,
  "robotsMeta": "NOARCHIVE,NOCACHE",
  "hreflangs": [],
  "structuredDataTypes": [],
  "wordCount": 106,
  "responseTimeMs": 250,
  "htmlSizeKb": 20.9
}
```

Broken link row:

```json
{
  "type": "broken-link",
  "url": "https://crawler-test.com/status_codes/status_404",
  "statusCode": 404,
  "linkType": "link",
  "internal": true,
  "foundOnCount": 1,
  "foundOn": ["https://crawler-test.com/"],
  "anchorTexts": ["404"]
}
```

The key-value store also has `SUMMARY` (all sites) and `REPORT-<domain>.html` (one report per site).

### Use with AI agents (MCP)

This Actor works as a tool for AI agents through the [Apify MCP server](https://docs.apify.com/mcp). Connecting to the server is free. When an agent runs this Actor, the run is billed to **the caller's Apify account** at this Actor's [pay-per-event prices](#pricing), with lower prices on higher Apify plans. Apify's free plan includes $5 of usage each month.

Pin this Actor with:

`https://mcp.apify.com/?tools=fetch-actor-details,steadyutil/seo-audit-crawler`

The `tools` query parameter **replaces** the default tool set, rather than adding to it. This URL loads `fetch-actor-details` and this Actor (the tool name is `steadyutil--seo-audit-crawler`), plus the run and storage helpers the server attaches when an Actor is selected. To also keep Store search or docs tools, add those names to the same `tools` list, comma-separated. You can list several SteadyUtil Actors the same way.

The hosted server signs you in with OAuth on first connect. Clients that cannot use OAuth can send an Apify API token as an `Authorization: Bearer <APIFY_TOKEN>` header instead (see below). Create a token in [Apify Console](https://console.apify.com/settings/integrations), treat it like a password, and keep it out of repositories.

#### Claude Desktop / claude.ai

Claude Desktop does not accept a remote MCP server URL in its config file. In **Settings > Connectors**, choose **Add custom connector**, name it `Apify`, and enter this URL as the remote MCP server:

`https://mcp.apify.com/?tools=fetch-actor-details,steadyutil/seo-audit-crawler`

The same connector works on [claude.ai](https://claude.ai) and in Claude Desktop. Sign in with Apify when prompted.

#### Claude Code

Add the server with:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=fetch-actor-details,steadyutil/seo-audit-crawler"
```

Or put the same URL in a project `.mcp.json` using the `mcpServers` shape shown under Cursor, including `"type": "http"`. In a Claude Code session, use `/mcp` to sign in and check the connection.

#### Cursor

Add this to `.cursor/mcp.json` (this project) or `~/.cursor/mcp.json` (all projects):

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

#### VS Code

VS Code uses a `servers` key, typically in `.vscode/mcp.json`:

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

#### Clients without OAuth

If your client cannot sign in with OAuth, add your Apify API token as a request header. Do not commit a file that contains a real token:

```json
{
  "mcpServers": {
    "apify": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyutil/seo-audit-crawler",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

For VS Code, put the same `headers` object inside the `servers.apify` entry.

#### Example prompts

- Audit https://books.toscrape.com for technical SEO issues. Crawl up to 30 pages and give me the site score, broken links and duplicate titles.
- Check https://example.com for noindex, canonical and hreflang problems and summarize the worst issues.
- Crawl only the /blog section of this site and list broken internal links and thin-content pages.

### Pricing

Pay per event. You only pay for what you get. Apify Store plan discounts apply automatically (lower prices on higher Apify plans).

| Event | Price |
| --- | --- |
| `page-audited`: one URL of your site crawled and audited (pages, redirects and error pages) | **$8.00 per 1,000** ($0.008) |
| `link-checked`: one extra link, image, script or external URL checked (each unique URL once per run) | **$0.20 per 1,000** ($0.0002) |

URLs blocked by robots.txt, bot-protection pages and network failures are **not charged**. Your "Maximum cost per run" is respected exactly: the crawl stops at your budget.

Example: a 500-page site with 1,000 unique links costs about $4.00 + $0.20 = **$4.20**.

### FAQ

**Does it render JavaScript?**
No. It audits the HTML your server sends, like most SEO crawlers in their default mode. That keeps it fast and cheap. For sites that build all their content in the browser, the audit shows what search engines see before rendering.

**Can it crawl sites that block bots?**
Pages behind Cloudflare/DataDome-style challenges are flagged as `botProtection` and not charged. You can add a proxy in the input, but for your own site it's better to allow-list the crawler.

**Why are some sitemap URLs not crawled?**
The page limit applies to sitemap URLs too. Links found by crawling come first, then sitemap-only URLs. Raise **Max pages per site** for a complete audit, which is also needed for reliable orphan-page detection.

**How is the score calculated?**
Each page starts at 100 and loses 10 points per error, 4 per warning and 1 per notice. The site score is the average page score minus site-wide problems (5 per error, 2 per warning, 0.5 per notice).

**Is it allowed?**
It reads public pages and respects robots.txt and Crawl-delay by default. Audit sites you own or have permission to audit, and keep the concurrency low for small servers.

### Support and feedback

Questions, bugs or feature requests: open an issue on the Actor page or email **support@steadyutil.com**.

# Actor input Schema

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

Homepages (or any start pages) of the sites to audit, as {url: 'https://example.com'}. Each host is crawled separately and gets its own score and HTML report. Several start URLs on the same host are combined into one crawl. Each crawled URL costs $0.002; extra link checks cost $0.0002 each.

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

Maximum URLs crawled and audited per site (pages, redirects and error pages). Default 50 so a first agent call stays cheap; raise this for a full-site audit (up to 20000). Extra link checks of uncrawled URLs are limited by maxLinkChecksPerSite.

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

How many clicks from the start page to follow. Omit for no depth limit. URLs found only in the sitemap are crawled regardless of depth.

## `useSitemaps` (type: `boolean`):

Find sitemaps in robots.txt (or /sitemap.xml) and cross-check them: non-200, redirected, noindex and canonicalized URLs in the sitemap, orphan pages and pages missing from the sitemap.

## `crawlSitemapUrls` (type: `boolean`):

After the link crawl, also audit sitemap URLs that no internal link points to (needed to find orphan pages).

## `maxSitemapUrls` (type: `integer`):

Upper limit on URLs read from XML sitemaps per site (not a charge). Default 50000. Lower it if you only need a sample.

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

Optional. Only crawl URLs matching these glob patterns ('/blog/\*\*', 'https://example.com/docs/\*') or /regular expressions/. Start URLs are always crawled.

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

Optional. Glob patterns or /regular expressions/ for URLs not to crawl, e.g. /tag/\*\*, /search\*, /?.\*sort=/.

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

If true, treat subdomains (blog.example.com, shop.example.com) as part of the site. www and non-www are always the same site. Default false.

## `stayInStartPath` (type: `boolean`):

If true, only crawl URLs under the start URL's path, e.g. https://example.com/blog/ audits just the blog. Default false.

## `ignoreQueryParameters` (type: `boolean`):

Treat /page?sort=price and /page as the same URL. Useful for shops and faceted navigation. Tracking parameters (utm\_\*, gclid, fbclid...) are always removed.

## `respectNofollow` (type: `boolean`):

Skip links marked rel=nofollow (and all links on pages with a nofollow robots meta), like search engines do.

## `checkInternalLinks` (type: `boolean`):

When the page limit, depth or filters stop the crawl, still check the status of the remaining internal links so broken ones are reported.

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

If true (default), check every unique outbound link for 4xx/5xx errors and dead domains. Links behind bot protection (403/429/999) are not reported as broken. Each unique check costs $0.0002.

## `checkResources` (type: `boolean`):

If true (default), check images, scripts, stylesheets and iframes used on the pages for errors. Counts toward maxLinkChecksPerSite.

## `maxLinkChecksPerSite` (type: `integer`):

Upper limit on extra URL checks per site (canonical/hreflang targets first, then internal links, resources, external links). Each unique URL is checked once and costs $0.0002. Default 200.

## `siteChecks` (type: `boolean`):

Check soft 404s (random URL returning 200), http to https redirect, www/non-www consistency, HSTS and compression.

## `pageOutput` (type: `string`):

Which page rows to save in the dataset. Allowed: all (default), issuesOnly (pages with errors/warnings only), none (site summaries and broken-link rows only). The HTML report always covers all crawled pages.

## `outputBrokenLinks` (type: `boolean`):

Save one row per broken URL with the pages linking to it.

## `htmlReport` (type: `boolean`):

If true (default), save a shareable HTML report per site to the key-value store (REPORT-<domain>.html). The link is in the site-summary row (reportUrl).

## `slowResponseMs` (type: `integer`):

Pages whose HTML takes longer than this many milliseconds to download are flagged as slow. Default 1500.

## `thinContentWords` (type: `integer`):

Pages with fewer than this many words of body text (excluding nav, header and footer) are flagged as thin content. Default 200.

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

Don't crawl URLs disallowed by robots.txt, and honor Crawl-delay (concurrency drops to 1). Disallowed URLs that appear in the sitemap are reported. Turn off only for your own site.

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

How many pages of one site are fetched at the same time. Default 5. Keep it low for small servers.

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

Timeout in seconds for each HTTP request. Default 30.

## `maxRetries` (type: `integer`):

Retries for network errors and 429/5xx responses.

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

Optional. Most sites work without a proxy. Residential proxy traffic is charged per MB.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://books.toscrape.com/"
    }
  ],
  "maxPagesPerSite": 50,
  "useSitemaps": true,
  "crawlSitemapUrls": true,
  "maxSitemapUrls": 50000,
  "includeUrlPatterns": [
    "/blog/**"
  ],
  "excludeUrlPatterns": [
    "/tag/**",
    "/search*"
  ],
  "includeSubdomains": false,
  "stayInStartPath": false,
  "ignoreQueryParameters": false,
  "respectNofollow": false,
  "checkInternalLinks": true,
  "checkExternalLinks": true,
  "checkResources": true,
  "maxLinkChecksPerSite": 200,
  "siteChecks": true,
  "pageOutput": "all",
  "outputBrokenLinks": true,
  "htmlReport": true,
  "slowResponseMs": 1500,
  "thinContentWords": 200,
  "respectRobotsTxt": true,
  "maxConcurrency": 5,
  "requestTimeoutSecs": 30,
  "maxRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `issues` (type: `string`):

No description

## `brokenLinks` (type: `string`):

No description

## `sites` (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": [
        {
            "url": "https://books.toscrape.com/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyutil/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://books.toscrape.com/" }] }

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

```

## MCP server setup

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