# Website SEO Audit Crawler & Broken Link Checker (`siddharth_r/seo-audit-crawler`) Actor

Website SEO audit crawler and broken link checker for technical SEO. Crawl a whole site and get a report per page: status codes, redirects, titles, meta descriptions, H1s, canonicals, noindex, thin content, alt text, speed and broken links. $1 per 1,000 pages.

- **URL**: https://apify.com/siddharth_r/seo-audit-crawler.md
- **Developed by:** [Siddharth Rajagopalan](https://apify.com/siddharth_r) (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 $0.70 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

**Website SEO Audit Crawler** checks a whole website and gives you an **on-page SEO report for each page**: titles, meta descriptions, H1s, canonicals, noindex, thin content, alt text, speed and **broken links**, written as plain-language issues. Try it on your own site.

Use it as a site audit tool or a technical SEO checker before and after a launch.

### SEO audit use cases

- Agencies producing a quick audit for a prospect
- Site owners finding broken links
- Developers checking a site before launch
- Content teams finding thin or duplicate-looking pages

### SEO audit API quick start

**No code:** press **Start**. The form is pre-filled with a working example, and you can download the results as Excel, CSV or JSON.

**From your code:** copy your API token from **Settings > API & Integrations** in Apify Console, then run:

```bash
curl -X POST "https://api.apify.com/v2/acts/siddharth_r~seo-audit-crawler/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls": ["https://www.python.org"], "maxPages": 3}'
```

```python
import requests

rows = requests.post(
    "https://api.apify.com/v2/acts/siddharth_r~seo-audit-crawler/run-sync-get-dataset-items",
    params={"token": "YOUR_API_TOKEN"},
    json={
        "startUrls": [
            "https://www.python.org"
        ],
        "maxPages": 3
    },
    timeout=300,
).json()

for row in rows:
    print(row.get("url"), row.get("seoScore"), row.get("issues"))
```

The call waits for the run to finish and returns the rows as JSON. It can wait up to 5 minutes, so for bigger runs use the **API** tab to start a run and fetch the results later.

### Example response

This is real output, shortened. Long text and lists are trimmed here, and empty fields are hidden.

```json
[
  {
    "url": "https://www.python.org/",
    "seoScore": 80,
    "statusCode": 200,
    "title": "Welcome to Python.org",
    "issueCount": 2,
    "issues": [
      "5 H1 headings; use one",
      "Missing canonical link"
    ],
    "internalLinkCount": 64,
    "externalLinkCount": 64,
    "redirected": false,
    "responseMs": 3,
    "depth": 0,
    "titleLength": 21,
    "metaDescription": "The official home of the Python Programming Language",
    "metaDescriptionLength": 52,
    "h1Count": 5,
    "noindex": false
  }
]
```

### Why use it

- **$1 per 1,000 pages**, with no start fee.
- **Whole-site in one run.** It reads the sitemap and follows internal links.
- **Broken link checking** for internal links, and external links too if you want.
- **A summary report** saved as `SEO_SUMMARY`, with the most common issues across the site.

### Who it's for

SEO agencies and freelancers auditing client sites, marketers checking a site before launch, and developers catching broken links in CI.

### How to use it

1. Fill in the input fields below. They're pre-filled with an example, so you can also just press **Start**.
2. Wait for the run to finish.
3. Open the **Output** tab, and download the results as Excel, CSV or JSON.
4. Schedule the run if you want fresh results automatically.

### Input

```json
{
  "startUrls": ["https://example.com"],
  "maxPages": 200,
  "checkBrokenLinks": true,
  "checkExternalLinks": false
}
```

### Pricing

**$0.001 per page audited**, which is $1 per 1,000 pages.

Apify's free plan includes $5 of usage every month, which covers about 5,000 pages with this tool. Higher Apify plans pay less per result.

### Limits

It reads each page's HTML as served and doesn't run JavaScript, so content added later by scripts isn't checked. It follows `robots.txt`. Page speed is server response time, not a full Lighthouse score.

### SEO audit and broken links FAQ

#### Does it check external links?

Only if you turn on **checkExternalLinks**. Internal link checking is on by default.

#### Does it check rankings or backlinks?

No. It audits what's on your pages.

#### How do I limit the cost?

Set **Max pages**. The crawl stops there.

#### Is it legal to use this tool?

It reads only public pages and public APIs, without logging in or bypassing blocks. Rules on using data, especially personal data, differ by country and purpose, so check the ones that apply to you. This isn't legal advice.

### Support

Found a bug or want a feature? Open an issue on the **Issues** tab. If this tool saved you time, a short review helps others find it.

### Run it on Apify

Running this tool on Apify also gives you:

- **Scheduling:** run it daily or weekly with no setup
- **API access:** start runs and fetch results from your own code
- **Integrations:** connect to Make, Zapier, n8n, Google Sheets and more
- **AI agents:** call it through the Apify MCP server
- **Exports:** download results as Excel, CSV, JSON or HTML
- **Monitoring:** get alerted if a run fails

### Related tools

- [Local Business Leads](https://apify.com/siddharth_r/local-business-leads): find local businesses by type and city, with contacts and website problems to pitch.
- [Website Contact Scraper](https://apify.com/siddharth_r/website-contact-scraper): emails, phones and social profiles from a list of websites.
- [Website Screenshot Tool](https://apify.com/siddharth_r/website-screenshot): bulk full-page screenshots in real Chromium.

# Actor input Schema

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

Sites to audit. The crawl stays on each site.

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

The audit stops after this many pages. Caps your cost.

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

How many clicks from the start page to follow.

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

Also crawl the URLs listed in the site's sitemap.

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

Keep the crawl to URLs that contain any of these, for example /blog/.

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

Never crawl URLs containing any of these, for example /tag/ or ?page=.

## `includeLinkLists` (type: `boolean`):

Add every internal and external URL to each page's row. Off by default, because lists can run to hundreds of URLs; link counts are always included.

## `checkBrokenLinks` (type: `boolean`):

Check every internal link and list the ones that fail.

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

Also check links to other sites. Slower.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.python.org"
  ],
  "maxPages": 20,
  "maxDepth": 5,
  "useSitemap": true,
  "includeLinkLists": false,
  "checkBrokenLinks": true,
  "checkExternalLinks": false
}
```

# Actor output Schema

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

One record per page with its issues.

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

The most common issues across the site.

# 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://www.python.org"
    ],
    "maxPages": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("siddharth_r/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://www.python.org"],
    "maxPages": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("siddharth_r/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://www.python.org"
  ],
  "maxPages": 20
}' |
apify call siddharth_r/seo-audit-crawler --silent --output-dataset

```

## MCP server setup

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