# SEO Audit Crawler: On-Page SEO & Broken Links (`zeus-studio/seo-audit`) Actor

Crawl a website and audit every page: titles, meta descriptions, canonicals, headings, broken internal links, JSON-LD structured data, Open Graph, hreflang and basic accessibility. Each page gets a 0-100 score and a list of fixes. No browser needed. $0.02 per audited page.

- **URL**: https://apify.com/zeus-studio/seo-audit.md
- **Developed by:** [Zeus Studio](https://apify.com/zeus-studio) (community)
- **Categories:** SEO tools, Developer tools, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.00 / 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.

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 crawls a website and checks every page it reaches: title and meta description, canonical tag, robots directives, headings, word count, images without alt text, broken internal links, structured data (JSON-LD), Open Graph tags, hreflang, mixed content and basic accessibility. Each page gets a score from 0 to 100 and a list of issues in plain English, errors first, so you know what to fix before you open a single page.

It needs no browser and no login, so it is fast and cheap to run on a schedule, for example a monthly audit of each client site.

To try it, press **Start** with the example input: three pages of crawlee.dev.

### What you get

One row per page:

```json
{
  "url": "https://www.example-bakery.ch/",
  "startUrl": "example-bakery.ch",
  "statusCode": 200,
  "responseTimeMs": 412,
  "depth": 0,
  "title": "Bäckerei Example | Fresh bread in Basel",
  "titleLength": 39,
  "metaDescription": "Family bakery with twelve shops around Basel.",
  "metaDescriptionLength": 45,
  "canonicalUrl": "https://www.example-bakery.ch/",
  "robotsMeta": null,
  "indexable": true,
  "lang": "de-CH",
  "h1": ["Fresh bread every morning"],
  "wordCount": 640,
  "images": { "total": 12, "missingAlt": 2 },
  "links": {
    "internal": 24,
    "external": 3,
    "broken": [{ "url": "https://www.example-bakery.ch/old-menu", "status": 404 }]
  },
  "structuredDataTypes": ["Bakery", "WebSite"],
  "openGraph": { "title": true, "description": true, "image": false },
  "hreflangCount": 2,
  "issues": [
    { "code": "broken-links", "severity": "error", "message": "1 internal link is broken." },
    { "code": "images-missing-alt", "severity": "warning", "message": "2 of 12 images have no alt text." },
    { "code": "meta-description-too-short", "severity": "notice", "message": "The meta description has 45 characters; aim for 50 to 160." },
    { "code": "open-graph-missing", "severity": "notice", "message": "Missing Open Graph tags: og:image. Shared links show less." }
  ],
  "score": 81,
  "auditedAt": "2026-10-30T10:00:00.000Z"
}
```

Download the results as CSV, Excel or JSON, or send them on to Google Sheets, Make, Zapier, n8n or your own tools through Apify's integrations and API.

### How to use it

1. Add the sites to audit under **Websites**, one per line: a home page such as `https://example.com`, or a bare domain.
2. Set **Max pages per site** to how many pages of each site you want audited.
3. Press **Start**, then sort the results by `score` to find the pages that need the most work. Each row's `issues` list says what to fix, errors first.
4. To track a site over time, save the input as a task and schedule it, for example monthly.

Example input:

```json
{
  "startUrls": ["https://example.com", "example.org"],
  "maxPagesPerSite": 50
}
```

### What it checks

| Severity | Issues |
|---|---|
| Error (−12) | No title; broken internal links (no answer, 400, 404, 410 or 5xx) |
| Warning (−5) | Title over 60 characters; no meta description; noindex in the robots meta tag or X-Robots-Tag header; no H1; no `lang` attribute; no viewport tag; images without alt text; JSON-LD that doesn't parse; HTML slower than 2 seconds; http:// resources on an https page |
| Notice (−1) | Title under 15 characters; meta description over 160 or under 50 characters; several H1s; skipped heading levels; no canonical URL, or one that points to another page; missing Open Graph tags; under 200 words; links without text; form fields without a label |

The score is 100 minus the points above, never below 0.

### How it works

1. Starts at each URL you list, follows its redirects (say, to www.) and audits the site it lands on.
2. Follows links within that site, breadth-first, until it has audited the number of pages you set. Redirects that lead to another site are noted, not followed.
3. Checks every internal link it finds with a HEAD request, up to 300 links or about two minutes per site, and confirms errors with a GET before reporting them.
4. Respects robots.txt and its crawl delay (up to 10 seconds between requests), for every request including redirects. External links are counted, not checked.
5. Gives each request 20 seconds in total, redirects included, and skips a page whose HTML takes more than 10 seconds to parse. Neither is charged.
6. Limits work that isn't charged:
   - A site may fetch 20 pages it can't audit, such as empty pages or pages that keep failing, plus 2 for every page audited.
   - A run may try 20 start URLs that yield no audited page, plus 2 for every page audited.

### Pricing

$0.02 per audited page ($20 per 1,000), plus $0.002 for starting the run. Pages that fail to load, aren't HTML or are disallowed by robots.txt are skipped and not charged, and no page is charged twice in a run. Set a maximum cost per run in the run options to cap your spend.

### FAQ and good to know

- Audit only sites you're allowed to crawl. The actor identifies itself as `SeoAudit` and follows the site's robots.txt rules for it.
- Pages are read as served, without running JavaScript, the way search engines first see them. Content that only appears after scripts run isn't counted.
- Tracking parameters such as `utm_source` or `gclid` are dropped from links, so a page linked with them isn't audited twice. Other variants of one URL that answer without redirecting, such as `/about` and `/about/`, are audited and charged as separate pages; the canonical check flags them.
- The output holds page metadata and counts. It doesn't collect email addresses, phone numbers or names from the pages.
- From the API or an AI agent, pass `{"startUrls": ["https://example.com"]}`; Max pages per site defaults to 25. When no page can be audited, the run fails and its status message says why, so an empty dataset never passes for a result.

### More actors from the same developer

- [UK New Companies: Daily Companies House Feed](https://apify.com/zeus-studio/uk-new-companies): every new UK company, filtered by SIC code.
- [Company Enrichment: Domain to Firmographics](https://apify.com/zeus-studio/company-enricher): industry, products, languages and role emails read from a company's own website.

### Questions and issues

Open an issue on the actor's Issues tab, or email support@zeusstudio.dev.

# Changelog

This Actor's version history is a separate document: https://apify.com/zeus-studio/seo-audit/changelog.md

# Actor input Schema

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

Pages to start from, one per line, for example https://example.com. The audit follows links within each start page's site. Bare domains work too.

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

Stop after auditing this many pages of each site. You pay per audited page.

## Actor input object example

```json
{
  "startUrls": [
    "https://crawlee.dev"
  ],
  "maxPagesPerSite": 3
}
```

# Actor output Schema

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

One row per audited page, with its issues and a 0-100 score.

# 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"
    ],
    "maxPagesPerSite": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("zeus-studio/seo-audit").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"],
    "maxPagesPerSite": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("zeus-studio/seo-audit").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"
  ],
  "maxPagesPerSite": 3
}' |
apify call zeus-studio/seo-audit --silent --output-dataset

```

## MCP server setup

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

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/I3TjEIn9n9x657O60/builds/hcHbfKmZMySnRekG8/openapi.json
