# Website SEO Audit - On-Page SEO Checker & Crawler (`pshivam/website-seo-audit-scraper`) Actor

Audit pages for on-page SEO in bulk or crawl a whole site: title, meta description, headings, canonical, noindex, redirects, images, links, structured data, Open Graph and a 0 to 100 score with every issue listed. Export to Excel, CSV or API.

- **URL**: https://apify.com/pshivam/website-seo-audit-scraper.md
- **Developed by:** [Shivam Prajapati](https://apify.com/pshivam) (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 $3.50 / 1,000 pages

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 - On-Page SEO Checker & Crawler

**Audit the on-page SEO of any web page, or crawl a whole site: title, meta description, headings, canonical, noindex, redirects, response time, images without alt, links, structured data, Open Graph, mobile and https checks, with a 0 to 100 score and every issue listed in words.** One record per page. Export to Excel, CSV, JSON or the API. No login, no API key.

**Actively maintained.** Last update: 2026-11-22. Every release passes 90+ automated tests on real HTML pages with every problem the rules look for.

### What can you use it for?

- **Audit your own site.** Crawl it page by page and sort by score: the worst pages, missing titles, thin pages and broken links come first.
- **Check a competitor's pages.** Titles, descriptions, headings, word count and structured data of the pages that rank, side by side.
- **Find broken and redirected pages.** The HTTP status, the redirect chain and the final address of every URL in a list.
- **Check a migration.** Run the old URL list after a redesign: redirects, canonicals and noindex tags on every page.
- **Feed reports and dashboards.** One clean row per page in JSON or CSV, with the same rules every time.

### What data can you get?

Give page addresses. Every record is one page.

| You give | You get |
|---|---|
| `urls`: pages or sites | One record per page with the checks and a score |
| `maxPagesPerSite`, `maxCrawlDepth` | A crawl of each site's own links, breadth first |
| `respectRobotsTxt` | Pages the site's robots.txt disallows are left out of the crawl |

#### Fields

A field that does not apply, such as the title of a PDF, is `null`.

##### The score

| Field | What it is |
|---|---|
| `seoScore` | 0 to 100: 100 minus the points of every issue found. This Actor's own rule-based score, not a search engine's. |
| `issueCount` | The number of issues found. |
| `errorCount` | Issues of the kind error. |
| `warningCount` | Issues of the kind warning. |
| `noticeCount` | Issues of the kind notice. |
| `issues` | Every issue in words, each starting with its kind: `error: The page has no title.` |

##### The page

| Field | What it is |
|---|---|
| `url` | The page address you gave, or that the crawl found. |
| `finalUrl` | The address the page was loaded from, after redirects. |
| `httpStatus` | The HTTP status of the final answer: 200, 404, 500 ... |
| `redirects` | How many redirects the address went through before the page. |
| `redirectChain` | Each redirect as the status and the address it came from, for example `301 https://example.com/old`. |
| `responseMs` | The time the server needed to deliver the page, in milliseconds, with the redirects. It is measured from where the Actor runs. |
| `contentType` | The content type of the answer, for example text/html. |
| `htmlBytes` | The size of the page's HTML in bytes. |
| `isHtml` | False when the address is a file (PDF, picture ...) and not a web page; such records are not audited. |
| `isHttps` | Whether the final address uses https. |
| `depth` | How many clicks from the page you gave: 0 for your own pages, 1 for pages they link to. |
| `foundOn` | The page that linked to this one (crawl only). |

##### Title, description and headings

| Field | What it is |
|---|---|
| `title` | The text of the <title> tag. |
| `titleLength` | The characters in the title. Search results show about 60. |
| `metaDescription` | The meta description. |
| `metaDescriptionLength` | The characters in the meta description. Search results show about 160. |
| `h1` | The text of the first <h1> heading. |
| `h1Count` | How many <h1> headings the page has. One is right. |
| `h2Count` | How many <h2> headings the page has. |
| `h3Count` | How many <h3> headings the page has. |
| `wordCount` | The words of visible text on the page, counted between spaces (scripts and styles are not counted). |
| `language` | The lang attribute of the <html> tag. |

##### Indexing

| Field | What it is |
|---|---|
| `canonicalUrl` | The address the canonical link points to. |
| `canonicalStatus` | self when the canonical link is the page itself, other when it points to another address, missing when there is none. |
| `robotsMeta` | The content of the robots meta tag, for example `index, follow` or `noindex`. |
| `xRobotsTag` | The X-Robots-Tag header of the answer. |
| `robotsTxtAllowed` | Whether the site's robots.txt allows crawlers to fetch this page. Pages you name yourself are audited either way. |
| `indexable` | True when the page answers with success and is not set to noindex in a meta tag or header. |
| `hreflang` | The languages the page declares alternate versions for. |

##### Images and links

| Field | What it is |
|---|---|
| `images` | How many <img> tags the page has. |
| `imagesMissingAlt` | How many images have no alt attribute. An empty alt (a decorative picture) is fine. |
| `internalLinks` | Links to pages of the same site (the www and non-www address count as one site). |
| `externalLinks` | Links to other sites. |
| `nofollowLinks` | Links with rel=nofollow. |

##### Sharing and structured data

| Field | What it is |
|---|---|
| `ogTitle` | The og:title tag used when the page is shared. |
| `ogDescription` | The og:description tag. |
| `ogImage` | The og:image tag. |
| `twitterCard` | The twitter:card tag. |
| `structuredDataTypes` | The structured data types found in JSON-LD and microdata, for example Organization, Product, FAQPage. |
| `hasFavicon` | Whether the page declares a favicon in a link tag. |

##### Mobile and safety

| Field | What it is |
|---|---|
| `hasViewport` | Whether the page has a viewport meta tag (needed for mobile pages). |
| `mixedContentCount` | On an https page: how many pictures, scripts and styles load over http. |

##### Where it came from

| Field | What it is |
|---|---|
| `scrapedAt` | When the page was audited (UTC). |

#### Example result

```json
{"url": "https://example.com/blog/", "finalUrl": "https://example.com/blog/", "httpStatus": 200, "redirects": 0, "responseMs": 312, "contentType": "text/html", "htmlBytes": 48211, "isHtml": true, "title": "The Example Blog: Roasting Notes, Brewing Guides and Farm Stories", "titleLength": 64, "metaDescription": "Short.", "metaDescriptionLength": 6, "h1": "Blog", "h1Count": 2, "h2Count": 7, "h3Count": 12, "canonicalUrl": "https://example.com/blog/old-address", "canonicalStatus": "other", "robotsMeta": "index, follow", "robotsTxtAllowed": true, "indexable": true, "language": "en", "hasViewport": true, "wordCount": 1180, "images": 14, "imagesMissingAlt": 6, "internalLinks": 62, "externalLinks": 9, "nofollowLinks": 2, "ogTitle": "The Example Blog", "ogImage": "https://example.com/og.png", "structuredDataTypes": ["Blog", "Organization"], "hasFavicon": true, "isHttps": true, "mixedContentCount": 0, "seoScore": 83, "issueCount": 6, "errorCount": 0, "warningCount": 5, "noticeCount": 1, "issues": ["warning: The title has 64 characters (aim for 30 to 60).", "warning: The meta description has 6 characters (aim for 70 to 160).", "warning: The page has 2 h1 headings (use one).", "warning: The canonical link points to https://example.com/blog/old-address.", "warning: 6 of 14 images have no alt attribute.", "notice: The page has no twitter:card tag."], "depth": 1, "foundOn": "https://example.com/", "scrapedAt": "2026-11-22T10:00:06Z"}
```

### How is the score made?

Every page starts at 100 and loses points for each issue. The score is this Actor's own rule-based number, not a search engine's: use it to sort pages, and read the `issues` for what to fix. A page that answers with an error status scores 0.

| Rule | Kind | Points off |
|---|---|---|
| The page answers with an error status (404, 410, 500 ...). | error | 40 |
| The page has no <title>. | error | 15 |
| The page has no meta description. | error | 10 |
| The page has no <h1> heading. | error | 10 |
| The page tells search engines not to list it (noindex in the robots meta tag or the X-Robots-Tag header). | error | 20 |
| The page is served over http, not https. | error | 10 |
| The canonical link points to a different address. | warning | 5 |
| The page has no canonical link. | warning | 4 |
| The title has fewer than 30 or more than 60 characters. | warning | 3 |
| The meta description has fewer than 70 or more than 160 characters. | warning | 3 |
| The page has more than one <h1>. | warning | 3 |
| The page has no viewport meta tag (it will not be mobile friendly). | warning | 5 |
| The <html> tag has no lang attribute. | warning | 3 |
| Images without an alt attribute: 1 point plus 1 for every 5, at most 6. | warning | 6 |
| The page has fewer than 300 words of text. | warning | 5 |
| An https page loads pictures, scripts or styles over http. | warning | 5 |
| The server needed more than 1.5 seconds to answer. | warning | 3 |
| The address redirects more than 2 times before the page. | warning | 3 |
| A JSON-LD structured data block is not valid JSON. | warning | 3 |
| The page has no og:title or og:image, so shared links look plain. | notice | 2 |
| The page has no structured data (JSON-LD or microdata). | notice | 2 |
| The page has no twitter:card tag. | notice | 1 |
| The page declares no favicon. | notice | 1 |

### Input

| Input | What it does |
|---|---|
| `urls` | The pages to audit, or the start of each crawl |
| `maxPagesPerSite` | 1 audits only your list; more follows the site's links |
| `maxCrawlDepth` | How many clicks from your page the crawl goes |
| `respectRobotsTxt` | Leave out pages robots.txt disallows (crawl only) |
| `secondsBetweenRequests` | The pause between requests |
| `onlyNew` | Skip pages that earlier runs of the same input returned |
| `maxItems`, `maxConcurrency`, `requestTimeoutSeconds`, `proxyConfiguration` | Limits, speed and downloads |

### How much does it cost?

You pay per page returned. There is no start fee. Pages that cannot be loaded are not returned and not charged.

| Plan | Price per 1,000 pages |
|---|---|
| Free | $5.00 |
| Bronze | $4.50 |
| Silver | $4.00 |
| Gold | $3.50 |

- 100 pages cost about $0.50 on the Free plan.
- Use `maxItems` to cap the cost of a run, and `maxPagesPerSite` to cap a crawl.

### Use it via API, on a schedule, or with your tools

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("pshivam/website-seo-audit-scraper").call(run_input={
    "urls": ["https://example.com/"],
    "maxPagesPerSite": 50,
})
for page in sorted(client.dataset(run["defaultDatasetId"]).iterate_items(), key=lambda p: p["seoScore"]):
    print(page["seoScore"], page["url"], page["issues"][:2] if page["issues"] else "")
```

#### Use it in Clay, n8n, Make or Zapier

Use the Actor ID `pshivam/website-seo-audit-scraper` and an input like this:

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

### Good to know

- **What is read.** The HTML the server sends, as a search engine's first fetch sees it. Text that a script adds after the page loads is not part of it, and neither are the colours, fonts or layout.
- **The crawl.** It follows the links of the same site (the www and non-www address are one site), breadth first, and skips links to files (PDF, pictures, archives). `robots.txt` is read once per site.
- **Speed and timing.** `responseMs` is measured from where the Actor runs, so it is a guide, not the speed your visitors see. A page takes about 0.3 to 1 second, mostly the time the website needs to answer. With the default pause of 0.3 seconds between requests, 1,000 pages take about 6 to 10 minutes.
- **Word count.** Words are counted between spaces: right for English and most European languages, low for Chinese and Japanese.
- **Not checked.** Page speed scores, backlinks, keyword rankings and search volume need other data: use a Lighthouse or backlink tool next to this one. Duplicate titles across pages can be found by sorting the dataset by `title`.
- **Pages behind a login or a block.** A page that refuses the Actor is not returned. Turn on the proxy if a website blocks the Actor's address.
- **Independent tool.** Not affiliated with any search engine. The rules are common SEO practice, not rules a search engine publishes.

### FAQ

#### How do I run an SEO audit of a website?

Put the home page in `urls` and set `maxPagesPerSite` to the number of pages you want audited, for example 100. Sort the records by `seoScore` to see the weakest pages first.

#### Can it audit many pages from a list?

Yes. Put one address per line in `urls` and keep `maxPagesPerSite` at 1: only the pages you list are audited.

#### What does the SEO score mean?

It starts at 100 and loses points for every issue: a missing title costs 15, a missing meta description 10, noindex 20 and so on. The table above lists every rule. It is a quick way to rank pages, not a search engine's score.

#### Does it find broken pages and redirects?

Yes. A page that answers 404 or 500 is a record with `httpStatus` and a score of 0, and `redirectChain` lists every redirect an address goes through.

#### Does it respect robots.txt?

In a crawl, yes by default: pages that robots.txt disallows are left out and counted in the run message. Pages you list yourself are audited, and `robotsTxtAllowed` tells you whether robots.txt allows them.

#### Does it run JavaScript?

No. It reads the HTML the server sends. This keeps it fast and cheap; for pages that build their content in the browser, use a rendering tool.

# Actor input Schema

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

The pages to audit, one link per line. With 'Maximum pages per site' above 1, each link is the start of a crawl of that site. Leave empty to audit two example pages.

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

1 audits only the pages you list. A higher number follows the site's own links, breadth first, until this many pages of each site are audited.

## `maxCrawlDepth` (type: `integer`):

How many clicks away from the page you gave the crawl goes. Only used when 'Maximum pages per site' is above 1.

## `respectRobotsTxt` (type: `boolean`):

Do not crawl pages that the site's robots.txt disallows. Pages you list yourself are always audited and show whether robots.txt allows them.

## `secondsBetweenRequests` (type: `number`):

The pause between two requests of the run. Raise it for a small or slow website.

## `requestTimeoutSeconds` (type: `integer`):

Give up on a page that has not answered after this many seconds.

## `onlyNew` (type: `boolean`):

Skip pages that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'website-seo-audit-scraper-only-new'.

## `maxItems` (type: `integer`):

Stop after this many pages. You are charged per page returned.

## `maxConcurrency` (type: `integer`):

How many pages are loaded at the same time. The pause between requests applies to all of them.

## `proxyConfiguration` (type: `object`):

Not needed to start. Turn it on only if a website refuses the Actor's address; the proxy then takes over while the address rests.

## Actor input object example

```json
{
  "urls": [
    "https://example.com/",
    "https://www.wikipedia.org/"
  ],
  "maxPagesPerSite": 1,
  "maxCrawlDepth": 3,
  "respectRobotsTxt": true,
  "secondsBetweenRequests": 0.3,
  "requestTimeoutSeconds": 30,
  "onlyNew": false,
  "maxItems": 50,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `audit` (type: `string`):

Audit as a table.

## `runStats` (type: `string`):

Requests made, time spent and number of records for this run (RUN_STATS record).

# 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://example.com/",
        "https://www.wikipedia.org/"
    ],
    "maxPagesPerSite": 1,
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("pshivam/website-seo-audit-scraper").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://example.com/",
        "https://www.wikipedia.org/",
    ],
    "maxPagesPerSite": 1,
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("pshivam/website-seo-audit-scraper").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://example.com/",
    "https://www.wikipedia.org/"
  ],
  "maxPagesPerSite": 1,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call pshivam/website-seo-audit-scraper --silent --output-dataset

```

## MCP server setup

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

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/3B8AlZEslp4f9hFKW/builds/TVMlYyMqZc0unhBYw/openapi.json
