# Website SEO Audit - On-Page Analyzer, Meta, Speed & Issues (`santhej/website-seo-audit`) Actor

Instant on-page SEO audit for any list of URLs: title & meta tags, H1s, word count, internal/external links, load time, on-page score & a prioritized list of SEO issues. Bulk-check pages. Clean JSON/CSV for audits & reports. No API keys.

- **URL**: https://apify.com/santhej/website-seo-audit.md
- **Developed by:** [Santhej Kallada](https://apify.com/santhej) (community)
- **Categories:** SEO tools, Developer tools, MCP servers
- **Stats:** 4 total users, 4 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Website SEO Audit — On-Page Analyzer for Title, Meta, Core Web Vitals & Issues

**Audit any page's on-page SEO in seconds — or crawl a whole site. Get the title, meta description, headings, link counts, word count, Core Web Vitals, an on-page score, and a prioritized list of issues — for one URL, a list, or an entire website.**

Two modes: **instant** (audit the exact URLs you give it) and **crawl** (point it at a domain and it crawls the site, returns a per-page audit, and a site-wide summary). Perfect for site audits, client reports, migrations, and pre-publish QA.

---

### Two modes

- **Instant** — paste a list of page URLs; get one audit row per URL.
- **Crawl** — give one starting URL/domain + a page cap (up to 50); get a per-page audit for every crawled page **plus** a site-summary row (avg score, pages with issues, broken links, 4xx/5xx counts).

### What you get per page

- 🏅 **On-page score (0–100)** — overall health at a glance.
- 🏷️ **Title & meta description** — text + length, plus duplicate-title / duplicate-description flags.
- 🔠 **H1 & headings** — first H1 and heading count.
- 🔗 **Internal, external & broken links** — link structure and broken-link count.
- 🧱 **Word count, canonical, HTTPS, structured-data presence, redirect flag**.
- ⚡ **Core Web Vitals & timing** — TTFB, DOM complete, LCP, CLS, total load time, HTTP status.
- 🚩 **Issue list** — missing titles/descriptions, no H1, missing alt text, slow load, redirects, 4xx/5xx, and more.

### What you get for the whole site (crawl mode)

- Site **on-page score** and average page score.
- **Pages crawled**, pages with issues, 4xx/5xx page counts.
- Site-wide **broken links / broken resources**, duplicate titles & descriptions.

### Perfect for

- **SEO audits** — bulk-check a whole site or a content batch.
- **Client reports** — export a clean, professional issue list.
- **Pre-publish QA** — catch missing meta and broken pages before they go live.
- **Migrations** — verify titles, canonicals, and status codes after a move.
- **AI agents** — feed structured audit data into automated SEO workflows and MCP tools.

### How to use it

1. Pick a **mode**: `instant` (list of URLs) or `crawl` (one site).
2. Instant: paste your **page URLs**. Crawl: set **target** + **maxCrawlPages**.
3. Optionally enable **JavaScript rendering** for JS-heavy sites.
4. Run it — export JSON/CSV or pull via the API.

#### Example input — instant

```json
{ "mode": "instant", "urls": ["https://example.com", "https://example.com/pricing"], "enableJavaScript": false }
````

#### Example input — crawl

```json
{ "mode": "crawl", "target": "https://example.com", "maxCrawlPages": 25 }
```

#### Example output (one row per page)

```json
{
  "type": "page",
  "url": "https://example.com",
  "onpage_score": 92,
  "status_code": 200,
  "title": "Example — Home",
  "title_length": 14,
  "description_length": 0,
  "h1_count": 1,
  "word_count": 612,
  "internal_links": 24,
  "external_links": 3,
  "broken_links": 0,
  "is_https": true,
  "canonical": "https://example.com/",
  "duplicate_title": false,
  "largest_contentful_paint_ms": 1240,
  "cumulative_layout_shift": 0.02,
  "load_time_ms": 180,
  "issues": ["no_description"],
  "issue_count": 1
}
```

In crawl mode the first dataset row is a `site-summary` with site-wide metrics.

### Pricing

Pay per page — no monthly fee, no minimum. Instant pages and crawled pages are billed per page; audit 5 pages or 5,000 and pay only for what you check.

### FAQ

**Can it crawl a whole site?** Yes — use `crawl` mode with a starting URL and a page cap (up to 50). Use `instant` mode to audit a specific list of URLs.

**Can it render JavaScript?** Yes — toggle JavaScript rendering for SPA/JS-heavy pages.

**What issues does it detect?** Missing/long/short titles & descriptions, missing H1, missing image alt text, slow load, redirects, 4xx/5xx, and more.

**Good for AI agents?** Yes — clean JSON, ideal for MCP servers, n8n, Make, and LLM agents.

***

*Tags: seo audit, on-page seo, site audit, technical seo, meta tags checker, seo analyzer, page speed, seo issues, website audit, seo crawler.*

# Actor input Schema

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

instant = audit the exact URLs you provide. crawl = crawl a whole site from one starting domain/URL.

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

Full page URLs to audit (include https://). One per line. Up to 1,000 per run. Used in instant mode.

## `target` (type: `string`):

Starting domain or URL to crawl, e.g. https://example.com. Used in crawl mode.

## `maxCrawlPages` (type: `integer`):

Maximum number of pages to crawl in crawl mode. Capped at 50.

## `enableJavaScript` (type: `boolean`):

Render pages with JavaScript before auditing (slower, but accurate for JS-heavy sites).

## Actor input object example

```json
{
  "mode": "instant",
  "urls": [
    "https://apify.com",
    "https://www.python.org"
  ],
  "target": "https://apify.com",
  "maxCrawlPages": 25,
  "enableJavaScript": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

On-page audit per URL with issues.

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

Pages audited and total issues.

# 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",
        "https://www.python.org"
    ],
    "target": "https://apify.com"
};

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

# Run the Actor and wait for it to finish
run = client.actor("santhej/website-seo-audit").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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",
    "https://www.python.org"
  ],
  "target": "https://apify.com"
}' |
apify call santhej/website-seo-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=santhej/website-seo-audit",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Website SEO Audit - On-Page Analyzer, Meta, Speed & Issues",
        "description": "Instant on-page SEO audit for any list of URLs: title & meta tags, H1s, word count, internal/external links, load time, on-page score & a prioritized list of SEO issues. Bulk-check pages. Clean JSON/CSV for audits & reports. No API keys.",
        "version": "0.0",
        "x-build-id": "pJDGGGcVAClY4d8Ef"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/santhej~website-seo-audit/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-santhej-website-seo-audit",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/santhej~website-seo-audit/runs": {
            "post": {
                "operationId": "runs-sync-santhej-website-seo-audit",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/santhej~website-seo-audit/run-sync": {
            "post": {
                "operationId": "run-sync-santhej-website-seo-audit",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "instant",
                            "crawl"
                        ],
                        "type": "string",
                        "description": "instant = audit the exact URLs you provide. crawl = crawl a whole site from one starting domain/URL.",
                        "default": "instant"
                    },
                    "urls": {
                        "title": "Page URLs (instant mode)",
                        "maxItems": 1000,
                        "type": "array",
                        "description": "Full page URLs to audit (include https://). One per line. Up to 1,000 per run. Used in instant mode.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "target": {
                        "title": "Site to crawl (crawl mode)",
                        "type": "string",
                        "description": "Starting domain or URL to crawl, e.g. https://example.com. Used in crawl mode."
                    },
                    "maxCrawlPages": {
                        "title": "Max pages to crawl (crawl mode)",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum number of pages to crawl in crawl mode. Capped at 50.",
                        "default": 25
                    },
                    "enableJavaScript": {
                        "title": "Render JavaScript",
                        "type": "boolean",
                        "description": "Render pages with JavaScript before auditing (slower, but accurate for JS-heavy sites).",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
