# Website SEO Audit: Score, Issues and Fixes for Any Page (`apt_squirrel/website-seo-audit`) Actor

On-page SEO audit for a list of pages: indexing (noindex, robots.txt, canonical), titles and descriptions, headings, alt texts, structured data, Open Graph, HTTPS, redirects, speed and broken links. A 0-100 score and a plain list of fixes for every page.

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

## Pricing

from $2.00 / 1,000 results

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: Score and Fixes for Any Page

Run an on-page SEO audit on a list of pages and get, for each one, a **score from 0 to 100** and a **plain-English list of what to fix**, ordered by severity.

No browser, no account, no limits on how many pages you check. Built for agencies auditing prospects in bulk, site owners checking every page after a redesign, and marketers who want a weekly check on their key pages.

### What you get that other scrapers do not

- **AI visibility**: which of 13 AI crawlers (GPTBot, ClaudeBot, PerplexityBot, Google-Extended...) robots.txt lets in, and whether the site has llms.txt.
- **Crawl whole sites**: up to 500 internal pages per address, with titles and descriptions repeated across pages listed in the report.
- **Category scores** (meta, content, technical, social, performance), **readability** (Flesch), **top keywords with density**, heading outline and skipped heading levels.
- **Security headers** (HSTS, CSP, X-Frame-Options...).

### What it checks

| Area | Checks |
|---|---|
| Indexing | HTTP status, noindex in meta tags and headers, robots.txt rules for Googlebot, canonical link, sitemap declared in robots.txt |
| Content | title present and 30-60 characters, meta description present and 70-160 characters, exactly one H1, heading structure, word count |
| Technical | HTTPS, redirect chains, server response time, HTML size, viewport for mobile, lang attribute, favicon |
| Images and links | images without alt text, internal, external and nofollow links, and optionally **broken links** |
| Rich results and sharing | structured data (JSON-LD) types and validity, Open Graph title and image, Twitter card, hreflang |

### Output

One row per page:

- `score`, `issueCount`, `errors`, `warnings`
- `issues`: each with `severity` (`error`, `warning`, `notice`), a stable `code` such as `title_length` or `noindex`, and a message that says what is wrong
- all measured facts: `title`, `metaDescription`, `canonical`, `h1`, `headings`, `wordCount`, `images`, `imagesMissingAlt`, `internalLinks`, `externalLinks`, `structuredData`, `openGraph`, `responseTimeMs`, `redirects`, `pageSizeKb`, `indexableByRobotsTxt`, `sitemaps`, `brokenLinks` and more

The score starts at 100 and loses 12 points per error, 5 per warning and 2 per notice. It is a quick way to sort many pages; the issue list is what tells you what to do.

### Input

```json
{
  "urls": ["https://example.com", "https://example.com/pricing"],
  "checkLinksLimit": 50
}
```

`checkLinksLimit` is how many links on each page to test for being broken (up to 500). Set it to 0 for the fastest run.

### Good to know

- This audits what the server sends. Pages that build their content with JavaScript in the browser may show a low word count and missing tags here; that is also how some search engine crawlers first see them.
- Speed here is server response time, not a full browser performance test.

### Run summary

Besides the rows, every run saves a short report as the `SUMMARY` record of the run's key-value store (linked in the run's Output tab): the average score, the ten weakest pages, and the issues found on the most pages: the fix list for a whole site.

### Use it from code, no-code tools and AI agents

- **API**: start a run and get the results in one HTTP call, or use the Apify Python and JavaScript clients. Results download as JSON, CSV, Excel or XML.
- **Integrations**: Make, Zapier, n8n, Google Sheets, Slack and webhooks, from the run's Integrations tab.
- **AI agents**: the actor is available as a tool through the Apify MCP server, so AI assistants and agents can call it directly.

### Pricing

Pay per result: one result is one audited page. Users on paid Apify plans get an automatic discount of up to 33%.

# Actor input Schema

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

Pages to audit, one per line. Each page is one result.

## `checkLinksLimit` (type: `integer`):

How many links on each page to test for being broken. 0 skips the check and is fastest.

## `crawlPages` (type: `integer`):

Also audit up to this many internal pages linked from each address, breadth-first. 0 audits only the listed pages. The run report then lists titles and descriptions repeated across pages.

## Actor input object example

```json
{
  "urls": [
    "https://www.python.org",
    "https://www.gnu.org"
  ],
  "checkLinksLimit": 20,
  "crawlPages": 0
}
```

# Actor output Schema

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

No description

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

No description

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

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

# Run the Actor and wait for it to finish
run = client.actor("apt_squirrel/website-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 '{
  "urls": [
    "https://www.python.org",
    "https://www.gnu.org"
  ],
  "checkLinksLimit": 20
}' |
apify call apt_squirrel/website-seo-audit --silent --output-dataset

```

## MCP server setup

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