# SEO Audit Crawler - On-Page SEO Checker for Whole Websites (`rjmacarthy/seo-audit-crawler`) Actor

Crawl a whole website or a URL list and audit every page for on-page SEO issues: titles, meta descriptions, headings, canonicals, indexability, hreflang, structured data, mixed content. Severity-ranked issues, 0-100 score, duplicate detection, site summary. $0.01/page.

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

## Pricing

from $10.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

## SEO Audit Crawler - On-Page SEO Checker for Whole Websites

Crawl a whole website (or audit a list of URLs) and get a **severity-ranked list of on-page SEO issues for every page**, a 0-100 SEO score per page, and one **site summary** with issue counts, duplicate titles and meta descriptions, non-indexable pages and the slowest pages. It checks titles, meta descriptions, H1/heading order, canonicals, indexability (noindex meta, X-Robots-Tag, robots.txt, canonicalised, non-200), hreflang, Open Graph, structured data (JSON-LD types and parse errors), mixed content, image alt text, word count and redirects. At **$0.01 per page** it costs a quarter of the leading SEO audit Actor, and its **"only changed pages" mode** turns it into a scheduled SEO monitor that alerts you only when something changes. It runs over plain HTTP with no browser, so audits are fast and cheap.

### What data can you get

| Field | Description |
|---|---|
| `url`, `finalUrl`, `statusCode`, `redirectChain` | Requested URL, where it ended up, HTTP status and every redirect hop |
| `responseTimeMs`, `contentType`, `sizeBytes` | Server response time, content type and HTML size |
| `indexable`, `indexabilityReason` | Whether search engines can index the page; if not, why: `non-200`, `robots-blocked`, `noindex-meta`, `noindex-header`, `canonical-elsewhere` |
| `title`, `metaDescription` | `{text, length}` for each |
| `h1[]`, `h2Count`, `headingOrderIssues[]` | Headings and skipped heading levels ("H2 followed by H4") |
| `canonical`, `hreflang[]`, `metaRobots`, `xRobotsTag` | Canonical URL (tag or HTTP header), language alternates and robots directives |
| `openGraph`, `twitterCard` | og:title / og:description / og:image and twitter:card |
| `structuredData` | JSON-LD and microdata `@type` list, plus the number of invalid JSON-LD blocks |
| `wordCount`, `textToHtmlRatio` | Visible text volume |
| `images`, `links` | `{total, missingAlt}` and `{internal, external, nofollow}` |
| `lang`, `viewport`, `charset`, `mixedContent[]` | Language, mobile viewport tag, encoding, http:// resources on https pages |
| `duplicateTitleOf[]`, `duplicateDescriptionOf[]` | Other pages on the same site with the same title / description |
| `inSitemap`, `brokenLinks[]` | Whether the URL is in the XML sitemap; broken internal links (optional) |
| `issues[]` | `{code, severity: error/warning/notice, message}`, sorted by severity |
| `score` | 0-100: 100 minus 10 per error, 4 per warning, 1 per notice |
| `auditHash`, `changeStatus` | For scheduled monitoring |

Plus one free `summary` item per run: pages audited, average score, issue counts by code and severity, duplicate title and description groups, non-indexable pages, the 10 slowest pages and URLs that could not be audited.

#### Issue codes

- **Errors:** `http-error` (4xx/5xx), `missing-title`, `structured-data-invalid`, `mixed-content`, `broken-internal-links`
- **Warnings:** `title-too-long`, `missing-meta-description`, `duplicate-title`, `duplicate-meta-description`, `missing-h1`, `multiple-h1`, `noindex`, `robots-blocked`, `non-indexable-in-sitemap`, `missing-viewport`, `images-missing-alt`, `redirect-chain`, `slow-response`
- **Notices:** `title-too-short`, `meta-description-too-short`, `meta-description-too-long`, `heading-order`, `canonical-elsewhere`, `missing-canonical`, `missing-lang`, `missing-charset`, `missing-open-graph`, `low-word-count`, `low-text-ratio`, `redirected`, `large-page`

### Use cases

- **SEO agencies and freelancers:** run a technical on-page audit for a new client in minutes and export it to a spreadsheet.
- **Site owners:** find missing or duplicate titles and meta descriptions, pages you accidentally noindexed, and canonical mistakes.
- **Scheduled monitoring:** run it weekly with "Only changed pages" to be told only when a page's SEO changes, for example after a deploy that removes a title or adds `noindex`.
- **Migrations:** audit a list of old and new URLs for redirects, status codes and indexability.
- **Marketing teams:** check Open Graph tags and structured data before a launch.

### How to use

1. Add your website to **Start URLs**.
2. Choose **Crawl mode**: `site` follows internal links from the start URL (and seeds from the sitemap); `list` audits only the URLs you give.
3. Set **Max pages** (default 50) and click **Start**.
4. Open the **Page audit**, **Issues per page** or **Site summary** view, or download everything as JSON, CSV or Excel.

#### Input examples

Audit a website (crawl up to 100 pages):

```json
{
    "startUrls": [{ "url": "https://books.toscrape.com/" }],
    "crawlMode": "site",
    "maxPages": 100
}
```

Check a list of URLs for indexability, redirects and status codes, including pages robots.txt disallows:

```json
{
    "startUrls": [
        { "url": "https://crawler-test.com/robots_protocol/meta_noindex" },
        { "url": "https://crawler-test.com/canonical_tags/page_with_external_canonical" },
        { "url": "https://crawler-test.com/status_codes/status_404" }
    ],
    "crawlMode": "list",
    "respectRobotsTxt": false
}
```

Weekly monitoring that outputs only pages whose audit changed, with internal links checked:

```json
{
    "startUrls": [{ "url": "https://example.com/" }],
    "maxPages": 200,
    "onlyChanged": true,
    "checkStatusOfLinks": true
}
```

### Output example

A page item (real output, trimmed):

```json
{
  "type": "page",
  "url": "https://books.toscrape.com/catalogue/category/books_1/index.html",
  "finalUrl": "https://books.toscrape.com/catalogue/category/books_1/index.html",
  "statusCode": 200,
  "redirectChain": [],
  "responseTimeMs": 206,
  "indexable": true,
  "indexabilityReason": null,
  "title": { "text": "Books | Books to Scrape - Sandbox", "length": 33 },
  "metaDescription": { "text": null, "length": 0 },
  "h1": ["Books"],
  "headingOrderIssues": ["H1 followed by H3"],
  "canonical": null,
  "metaRobots": "NOARCHIVE,NOCACHE",
  "structuredData": { "types": [], "parseErrors": 0 },
  "wordCount": 295,
  "textToHtmlRatio": 3.5,
  "images": { "total": 20, "missingAlt": 0 },
  "links": { "internal": 73, "external": 0, "nofollow": 0 },
  "viewport": true,
  "mixedContent": ["http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"],
  "duplicateTitleOf": [],
  "issues": [
    { "code": "mixed-content", "severity": "error", "message": "1 http:// resource(s) loaded on an https page." },
    { "code": "missing-meta-description", "severity": "warning", "message": "Page has no meta description." },
    { "code": "heading-order", "severity": "notice", "message": "Heading levels are skipped: H1 followed by H3." },
    { "code": "missing-canonical", "severity": "notice", "message": "Page has no canonical URL." }
  ],
  "score": 82,
  "scrapedAt": "2026-11-10T12:32:35.193Z"
}
```

The summary item (trimmed):

```json
{
  "type": "summary",
  "url": "https://books.toscrape.com/",
  "pagesAudited": 10,
  "averageScore": 81.2,
  "issuesBySeverity": { "error": 10, "warning": 12, "notice": 40 },
  "issuesByCode": [
    { "code": "mixed-content", "severity": "error", "pages": 10 },
    { "code": "missing-meta-description", "severity": "warning", "pages": 10 },
    { "code": "duplicate-title", "severity": "warning", "pages": 2 }
  ],
  "duplicateTitles": [
    { "text": "All products | Books to Scrape - Sandbox", "urls": ["https://books.toscrape.com/", "https://books.toscrape.com/index.html"] }
  ],
  "notIndexablePages": [],
  "slowestPages": [{ "url": "https://books.toscrape.com/index.html", "responseTimeMs": 210 }]
}
```

A `RUN_SUMMARY` record in the key-value store adds per-site counts, warnings, the number of requests and the run duration.

### Pricing

Pay per event, no monthly fee:

| Event | Price |
|---|---|
| `page` - one page crawled and audited | **$0.01** |
| Summary item | free |

Examples: a 50-page site ≈ **$0.50**; a 1,000-page site ≈ **$10**. Checking internal links (`checkStatusOfLinks`) costs nothing extra. URLs that could not be fetched, non-HTML files and URLs skipped because of robots.txt are not charged. In "Only changed pages" mode, unchanged pages are free: you pay only for new or changed pages that are output, so a scheduled run with no changes costs almost nothing (just the Actor start). Set a **Maximum cost per run** and the crawl stops cleanly at that budget, still producing the summary.

### Tips and limits

- **Max pages** caps each site in site mode and the whole list in list mode. 0 means no limit, so set a budget too.
- Duplicate detection compares indexable pages on the same site within one run, so it covers only the pages you crawled.
- The crawler requests at most 2 pages at a time per host and identifies itself as `SEOAuditCrawler`. If a site blocks it, set a browser user agent in **User agent** or enable Apify Proxy.
- HTML is audited as served, without running JavaScript. Pages that build their titles or content in the browser (client-side rendered single-page apps) may show missing tags that a browser-based audit would find.
- The sitemap is read from robots.txt `Sitemap:` lines or `/sitemap.xml`. The crawler reads up to 5 sitemap files (following sitemap indexes) and skips gzipped (`.xml.gz`) sitemaps.
- `checkStatusOfLinks` checks up to 200 internal links per page, and each URL only once per run. For external links, images and a link-by-link report, use our [Broken Link Checker](https://apify.com/rjmacarthy/broken-link-checker).
- In "Only changed pages" mode, keep **Max pages** above the site's size. If the cap cuts the crawl short, the set of crawled pages can differ between runs, and pages that were skipped last time show up as `new`.
- Page audits are saved once the crawl ends, because duplicates can only be found then. If the run gets close to its timeout, the crawl stops early so the audits are still saved.

### FAQ

**Is it legal?** The Actor only fetches public pages that any visitor can see, and respects robots.txt by default. It does not log in or collect personal data. You are responsible for auditing only sites you are allowed to crawl, and for following their terms of service and the laws that apply to you.

**How is the score calculated?** It starts at 100 and subtracts 10 per error, 4 per warning and 1 per notice, with a minimum of 0. It is meant for comparing pages and tracking change, not as a Google ranking factor.

**What counts as a change in "Only changed pages" mode?** A change in status code, final URL, indexability, title, meta description, H1s, canonical, robots directives, hreflang, structured data, duplicates or the set of issues found. Response time is ignored, so a slow day doesn't flag every page. The first run outputs every page with `changeStatus: "new"`. The state is kept per site in a named key-value store, `seo-audit-crawler-state`.

**Does it respect robots.txt?** Yes, by default. Turn off **Respect robots.txt** to audit disallowed URLs anyway. Pages that robots.txt blocks for Googlebot are flagged `robots-blocked`.

**Can I use a proxy?** Usually you don't need one. If a site blocks the run's IP, enable Apify Proxy (datacenter). Residential proxies are not supported. If you select them, the Actor logs a warning and uses Apify datacenter proxy instead.

**Why is a page missing from the output?** It may be blocked by robots.txt, return a non-HTML file, redirect to another site, or have been blocked (HTTP 429 or a bot challenge). The summary's `notAudited` list gives the reason for each URL.

### Integrations

- **API:** start runs and fetch results with the [Apify API](https://docs.apify.com/api/v2) or the JavaScript/Python clients. Use `?view=pages`, `?view=issues` or `?view=summary` on the dataset items endpoint.
- **Make, Zapier, n8n:** use the Apify app to run audits on a schedule and send the summary or changed pages to Slack, Sheets or email.
- **MCP:** call the Actor from AI agents through the [Apify MCP server](https://mcp.apify.com).
- **Schedules and webhooks:** schedule weekly runs with "Only changed pages" and add a webhook on run success.

### Changelog

- **0.1** (2026-11-10): First release. Site and list modes, sitemap seeding, robots.txt, 31 issue codes with severities, score, duplicate titles and descriptions, site summary, optional internal link check, "only changed pages" monitoring.

### Ready-to-run examples

- [Audit an online store's on-page SEO in one crawl](https://apify.com/rjmacarthy/seo-audit-crawler/examples/audit-online-store-on-page-seo)

### More scrapers by the same developer

- [Domain WHOIS Lookup - Bulk RDAP, Expiry, DNS & Availability](https://apify.com/rjmacarthy/domain-whois-lookup)
- [AI Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude](https://apify.com/rjmacarthy/ai-search-visibility-tracker)
- [Apple App Store Scraper: Apps, Search & Reviews](https://apify.com/rjmacarthy/app-store-scraper)
- [Broken Link Checker & SEO Site Audit - 404s & Redirects](https://apify.com/rjmacarthy/broken-link-checker)
- [Bulk File Downloader - PDFs, Images & Files from URL Lists](https://apify.com/rjmacarthy/bulk-file-downloader)
- [Google Ads Transparency Scraper](https://apify.com/rjmacarthy/google-ads-transparency-scraper)

Browse all my Actors on [my Apify Store profile](https://apify.com/rjmacarthy).

### Support

Found a bug or need another check? Open an issue on the Actor's **Issues** tab and include the run ID.

# Actor input Schema

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

Site mode: the website to crawl, e.g. https://example.com/ - the crawler stays on that host (www. ignored; if the start URL redirects to another host, that host is crawled). List mode: every URL to audit.

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

site = crawl the website by following internal links (plus sitemap URLs). list = audit exactly the URLs you give, nothing else.

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

Maximum pages to audit per start URL (site mode) or in total (list mode). Each audited page is one charged event. 0 = no limit (careful with big sites).

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

Site mode: how many clicks from the start URL to follow. 0 = audit the start URL only.

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

Site mode: also seed the crawl from the sitemap(s) in robots.txt or /sitemap.xml, and flag sitemap URLs that are not indexable.

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

Skip URLs that robots.txt disallows for this crawler. Turn off to audit them anyway (they are still flagged "robots-blocked" if Googlebot is disallowed).

## `checkStatusOfLinks` (type: `boolean`):

Also send a HEAD request to every internal link on each page (first 200 per page, cached) and list the 4xx/5xx ones. Slower, but still charged per page only. For external links and a full link report use our Broken Link Checker.

## `onlyChanged` (type: `boolean`):

For scheduled audits: output only pages whose audit result (status, indexability, title, description, H1, canonical, issues, duplicates...) changed since the last run with this option. Unchanged pages are free: they are not output and not charged. The summary item is always output.

## `userAgent` (type: `string`):

User-Agent header sent with every request. The default names this crawler politely; robots.txt rules are matched against its product token (SEOAuditCrawler).

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

Usually not needed: auditing your own or a client's site works without a proxy. Enable Apify Proxy (datacenter) if the site blocks the run's IP. Residential proxies are not supported: if selected, the Actor falls back to Apify datacenter proxy with a warning.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://books.toscrape.com/"
    }
  ],
  "crawlMode": "site",
  "maxPages": 10,
  "maxDepth": 5,
  "includeSitemap": true,
  "respectRobotsTxt": true,
  "checkStatusOfLinks": false,
  "onlyChanged": false,
  "userAgent": "Mozilla/5.0 (compatible; SEOAuditCrawler/1.0; +https://apify.com/rjmacarthy/seo-audit-crawler)",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per audited page with score, indexability and issues.

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

Severity-ranked issues, duplicates, broken links and mixed content per page.

## `summary` (type: `string`):

Issue counts, duplicate titles/descriptions, non-indexable and slowest pages.

## `allItems` (type: `string`):

Every item with every field.

## `runSummary` (type: `string`):

Counts, sites, warnings, requests and duration.

# 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/"
        }
    ],
    "crawlMode": "site",
    "maxPages": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rjmacarthy/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/" }],
    "crawlMode": "site",
    "maxPages": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("rjmacarthy/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/"
    }
  ],
  "crawlMode": "site",
  "maxPages": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call rjmacarthy/seo-audit-crawler --silent --output-dataset

```

## MCP server setup

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