# SEO Audit Crawler: Site Audit, Broken Links & Page Scores (`promur/seo-audit-crawler`) Actor

Audit any website for technical and on-page SEO: every page scored 0-100 with prioritised issues and fix hints, broken links, redirect chains, duplicate titles, missing meta tags, canonicals, hreflang, structured data, sitemap coverage and AI-crawler access. Respects robots.txt.

- **URL**: https://apify.com/promur/seo-audit-crawler.md
- **Developed by:** [PROMUR s.r.o.](https://apify.com/promur) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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: Site Audit, Broken Links & Page Scores

Run a **technical and on-page SEO audit** of any website: the Actor crawls the site through its links and **XML sitemap**, and gives **every page a 0-100 score** with a list of **prioritised issues and how to fix them** - plus **broken links, redirect chains, duplicate titles and descriptions, canonicals, hreflang, structured data, sitemap coverage** and which **AI crawlers** (GPTBot, ClaudeBot, Google-Extended, PerplexityBot ...) the site's robots.txt lets in. Results as data, ready for Google Sheets, Looker Studio, your client report or an AI agent.

Plain HTTP, no browser - fast and inexpensive. robots.txt is respected.

### Why this Actor

**Price, quality, reliability, responsibility - in balance:**

- 💵 **Low price** - $5 per 1,000 pages, link checks, sitemap reading and the site report included.
- 🔍 **Actionable rows** - a 0-100 score per page and 25 issue types, each with priority and a fix hint.
- 🔁 **Dependable runs** - plain HTTP, no browser: fast, stable, and the same site gives the same result twice.
- 🤝 **Responsible crawling** - robots.txt is read first and disallowed pages are never requested (or charged).

**What you get:**

- 🧮 **A score and a to-do list per page** - each issue has an ID, priority (high / medium / low), category, plain-English message and a fix hint.
- 🔗 **Broken links and redirects** - every crawled page's status, the redirect chain of each URL, and the links that point to 4xx / 5xx pages (internal by default, external on request).
- 🗺️ **Sitemap coverage** - XML sitemaps (from robots.txt or `/sitemap.xml`, including sitemap indexes) seed the crawl; pages missing from the sitemap and sitemap-only pages (not linked) are flagged.
- 🧬 **Duplicates** - pages that share a title or meta description.
- 🌍 **International and rich results** - hreflang (with self-reference check), JSON-LD / microdata types, Open Graph and Twitter Card tags.
- 🤖 **AI-crawler access** - whether robots.txt allows GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, anthropic-ai, Google-Extended, PerplexityBot, CCBot, Applebot-Extended, Bytespider, meta-externalagent and Amazonbot.
- 🛡️ **Polite** - robots.txt is read first and disallowed pages are never requested (or charged).

### Checks

| Category | Issues |
| --- | --- |
| Technical | HTTP errors (4xx / 5xx), not HTTPS, redirect chains, redirects, slow server response (> 1.5 s), heavy HTML (> 2 MB), mixed content, missing viewport, missing `lang` |
| Indexability | noindex (meta robots or X-Robots-Tag), missing or foreign canonical, not in the XML sitemap |
| Content | missing / too long / too short / duplicate title, missing / too long / too short / duplicate meta description, missing or multiple H1, skipped heading levels, thin content (< 200 words) |
| Images | images without alt text |
| Links | broken links on the page |
| Social, structured data, international | missing Open Graph, no structured data, hreflang without self-reference |

Score: 100 minus 15 per high, 7 per medium and 3 per low issue (never below 0).

### How to use

1. Paste the site's start URL (e.g. `https://www.example.com`) under **Websites or pages** - several sites are fine.
2. Set **Max pages per site** (default 100). Optional: check external links, crawl URLs with query parameters, or switch to **Only these pages** to audit a fixed list of URLs.
3. Click **Start**. Sort the **Pages** view by score, open the **Issues** view, and read the site report in **SUMMARY** (Storage → Key-value store).

```json
{
    "urls": ["https://www.example.com"],
    "mode": "site",
    "maxPagesPerSite": 500,
    "checkExternalLinks": true
}
```

### Output

One row per page: `url`, `finalUrl`, `statusCode`, `redirects`, `responseTimeMs`, `sizeBytes`, `contentType`, `xRobotsTag`, `title`, `titleLength`, `metaDescription`, `metaDescriptionLength`, `h1`, `headingCounts`, `robotsMeta`, `noindex`, `canonical`, `canonicalIsSelf`, `lang`, `hreflang`, `wordCount`, `imagesCount`, `imagesWithoutAlt`, `internalLinks`, `externalLinks`, `nofollowLinks`, `ogTitle`, `ogDescription`, `ogImage`, `twitterCard`, `structuredDataTypes`, `hasViewport`, `charset`, `mixedContentCount`, `depth`, `inSitemap`, `brokenLinks`, `score`, `issueCount`, `issues`, `site`, `scrapedAt`.

```json
{
    "url": "https://www.example.com/shoes",
    "statusCode": 200,
    "score": 75,
    "title": "Shoes",
    "titleLength": 5,
    "metaDescriptionLength": 0,
    "h1": ["Shoes"],
    "brokenLinks": [{ "url": "https://www.example.com/old-sale", "status": 404 }],
    "issues": [
        { "id": "broken_links", "priority": "high", "category": "links", "message": "1 broken links on the page.", "fix": "Fix or remove the broken links (see brokenLinks)." },
        { "id": "description_missing", "priority": "medium", "category": "content", "message": "No meta description.", "fix": "Add a meta description of 70-160 characters." },
        { "id": "title_too_short", "priority": "low", "category": "content", "message": "The title is only 5 characters.", "fix": "Use 30-60 characters with the main keyword." }
    ]
}
```

**Site report (`SUMMARY`):** per site - pages audited, average score, status-code counts, top issues with the number of pages affected, broken links, robots.txt and sitemap facts, sitemap URL count, pages disallowed by robots.txt, pages left in the queue, and AI-crawler access.

### Pricing

**$5.00 per 1,000 pages audited** - link checks, sitemap reading and the site report are included.

- A 200-page site: **$1.00**.
- A weekly audit of 10 client sites with 500 pages each: **$25 a week**.

Set *Maximum cost per run* in the run options: the crawl stops at that number of pages.

### FAQ

**Does it measure Core Web Vitals?** No - it does not run a browser. It measures server response time and HTML size; use PageSpeed Insights for lab metrics.

**JavaScript-rendered sites?** The audit reads the HTML the server sends. Content that only appears after JavaScript runs is not seen (which is also a useful SEO finding).

**Why were some pages not crawled?** robots.txt disallows them (counted in `pagesDisallowedByRobots`), they are files (PDF, images), they have query parameters (switch on *Crawl URLs with query parameters*), or the page limit was reached (`pagesLeftInQueue`).

### Support

Missing a check you need? Open an issue on the **Issues** tab - we usually add it fast.

# Actor input Schema

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

In <b>Crawl the site</b> mode: one start URL per site (usually the home page). In <b>Only these pages</b> mode: the exact pages to audit.

## `mode` (type: `string`):

Crawl a whole site from its start page and sitemap, or audit only the pages you list.

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

Crawl mode: how many pages to audit per site (closest to the start page first).

## `checkLinks` (type: `boolean`):

Check the status of internal links beyond the crawled pages, to find broken links. Pages that were crawled are always checked.

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

Check links to other websites too (one light request per link; the other site's robots.txt is respected).

## `maxLinkChecks` (type: `integer`):

Upper limit of extra link checks per site (not charged).

## `includeQueryUrls` (type: `boolean`):

Follow links like <code>/shop?color=red\&page=2</code>. Off by default: filter and sort URLs can multiply endlessly.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com"
  ],
  "mode": "site",
  "maxPagesPerSite": 50,
  "checkLinks": true,
  "checkExternalLinks": false,
  "maxLinkChecks": 300,
  "includeQueryUrls": false
}
```

# Actor output Schema

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

One row per page: url, finalUrl, statusCode, redirects, responseTimeMs, sizeBytes, title, titleLength, metaDescription, metaDescriptionLength, h1, headingCounts, robotsMeta, noindex, canonical, canonicalIsSelf, lang, hreflang, wordCount, imagesCount, imagesWithoutAlt, internalLinks, externalLinks, ogTitle, ogImage, twitterCard, structuredDataTypes, hasViewport, mixedContentCount, depth, inSitemap, brokenLinks, score, issueCount, issues (id, priority, category, message, fix), site, scrapedAt.

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

Per site: pages audited, average score, status codes, top issues with the number of pages affected, broken links, robots.txt and sitemap facts, pages disallowed by robots.txt, and which AI crawlers (GPTBot, ClaudeBot, Google-Extended, PerplexityBot, CCBot ...) robots.txt allows.

# 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://apify.com"
    ],
    "maxPagesPerSite": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("promur/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 = {
    "urls": ["https://apify.com"],
    "maxPagesPerSite": 50,
}

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

```

## MCP server setup

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