# SEO Audit Tool - On-Page SEO Checker with 0-100 Score (`consequential_programmer/seo-audit-tool`) Actor

Audit any website's on-page SEO: title, meta description, H1, canonical, noindex, Open Graph, schema markup, image alt text, links, HTTPS, speed and broken pages. Each page gets a 0-100 score and a fix list. Plain HTTP, no proxy. $6 per 1,000 pages.

- **URL**: https://apify.com/consequential_programmer/seo-audit-tool.md
- **Developed by:** [Nirajan Prasai](https://apify.com/consequential_programmer) (community)
- **Categories:** SEO tools, Developer tools, Marketing
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

## SEO Audit Tool: On-Page SEO Checker with 0-100 Score

**Run an on-page SEO audit of any website and export the results to JSON, CSV or Excel.** Enter a homepage, press Start, and the Actor crawls the site (internal links plus sitemap.xml) and checks every page. Each page gets a **0-100 SEO score** and a plain-English list of issues to fix. No login, no API key, no browser and no proxy are needed.

It uses fast plain HTTP requests, so it is cheap: **$6 per 1,000 pages audited**. Many SEO audit Actors charge $10 to $40 per 1,000 pages.

### What it checks

For every page:

- 🏷️ **Title**: missing, too long (over 60 characters) or too short (under 30)
- 📝 **Meta description**: missing, too long (over 160) or too short (under 70)
- 🔠 **Headings**: missing H1, multiple H1s, the full H1 and H2 text and counts for H1-H6
- 🧭 **Indexability**: status code, redirects, `noindex` in meta robots or the `X-Robots-Tag` header, canonical tag (self or pointing elsewhere)
- 📱 **Mobile and basics**: viewport tag, `lang` attribute, favicon, HTTPS
- 🖼️ **Images**: images without alt text, with sample image URLs
- 🔗 **Links**: internal, external and nofollow link counts
- 📣 **Social and rich results**: Open Graph tags, Twitter card, JSON-LD / microdata types (and broken JSON-LD), hreflang tags
- ⚡ **Performance hints**: server response time, HTML size, word count and text-to-HTML ratio
- ❌ **Broken pages**: internal pages that return 4xx or 5xx

Per site, a **SUMMARY** record in the key-value store lists **duplicate titles**, **duplicate meta descriptions**, **broken pages**, whether `robots.txt` exists and which sitemaps were found.

### Why use this SEO checker?

- **Whole site or a list of URLs.** Crawl mode follows internal links and the sitemap up to your page limit; list mode audits only the URLs you paste.
- **Actionable output.** Every issue has a severity (error, warning or notice), a code and a message, so you can filter and fix in a spreadsheet.
- **Simple score.** Start at 100, minus 15 per error, 5 per warning and 1 per notice. Easy to track over time.
- **Polite crawling.** Respects robots.txt by default, low concurrency, retries with back-off.
- **Low cost, no surprises.** $6 per 1,000 pages. URLs that cannot be reached and invalid URLs are free error rows.

### Use cases

- **SEO agencies and freelancers:** quick technical audits for prospects and clients, then a fix list in Google Sheets
- **Website owners and marketers:** find missing titles, descriptions, H1s and alt text before Google does
- **Developers:** run a check after every deploy (API, schedules, n8n, Make or Zapier) and catch `noindex` or broken pages
- **Lead generation:** score many prospect websites and pitch the ones with the lowest scores

### How to use it

1. Add one or more websites under **Website or page URLs** (homepage, bare domain or any page).
2. Choose **Crawl the site** or **Only the listed URLs**, and set **Max pages per site**. The page limit is also your cost cap.
3. Click **Start**.
4. Download the **SEO audit** view as CSV, Excel or JSON, or read the `SUMMARY` record for duplicates and broken pages.

#### Example input

```json
{
  "startUrls": ["https://www.python.org", "https://books.toscrape.com"],
  "crawlMode": "crawl",
  "maxPagesPerSite": 50,
  "maxDepth": 3,
  "useSitemap": true,
  "respectRobotsTxt": true,
  "maxConcurrency": 5
}
```

#### Example output (one page, shortened)

```json
{
  "type": "page",
  "url": "https://www.python.org/",
  "finalUrl": "https://www.python.org/",
  "site": "www.python.org",
  "depth": 0,
  "statusCode": 200,
  "redirected": false,
  "https": true,
  "responseTimeMs": 66,
  "pageSizeKb": 50.8,
  "title": "Welcome to Python.org",
  "titleLength": 21,
  "metaDescription": "The official home of the Python Programming Language",
  "metaDescriptionLength": 52,
  "h1Count": 5,
  "headingCounts": { "h1": 5, "h2": 9, "h3": 0, "h4": 0, "h5": 0, "h6": 0 },
  "canonical": null,
  "indexable": true,
  "lang": "en",
  "viewport": "width=device-width, initial-scale=1.0",
  "wordCount": 991,
  "imagesCount": 1,
  "imagesMissingAlt": 0,
  "internalLinks": 126,
  "externalLinks": 78,
  "openGraph": {
    "title": "Welcome to Python.org",
    "description": "The official home of the Python Programming Language",
    "image": "https://www.python.org/static/opengraph-icon-200x200.png",
    "type": "website"
  },
  "structuredDataTypes": ["WebSite"],
  "favicon": true,
  "score": 92,
  "errors": 0,
  "warnings": 1,
  "notices": 3,
  "issues": [
    { "severity": "warning", "code": "title-too-short", "message": "Title is 21 characters (recommended 30-60)." },
    { "severity": "notice", "code": "meta-description-too-short", "message": "Meta description is 52 characters (recommended 70-160)." },
    { "severity": "notice", "code": "multiple-h1", "message": "The page has 5 H1 headings." },
    { "severity": "notice", "code": "missing-canonical", "message": "No canonical link tag." }
  ],
  "siteHasRobotsTxt": true,
  "siteHasSitemap": false,
  "scrapedAt": "2026-11-18T21:15:39+00:00"
}
```

#### Issue codes

| Severity | Codes |
| --- | --- |
| error (-15) | `http-error`, `not-https`, `missing-title` |
| warning (-5) | `title-too-long`, `title-too-short`, `missing-meta-description`, `meta-description-too-long`, `missing-h1`, `noindex`, `missing-viewport`, `images-missing-alt`, `invalid-structured-data`, `slow-response`, `large-page` |
| notice (-1) | `meta-description-too-short`, `multiple-h1`, `missing-canonical`, `canonical-points-elsewhere`, `missing-lang`, `low-word-count`, `missing-open-graph`, `no-structured-data`, `missing-favicon`, `redirect`, `not-html` |

### Pricing

Pay per event. You are only charged for pages that are actually audited:

| Event | What it is | Price |
| --- | --- | --- |
| `page-audited` | One page checked and saved | $6 / 1,000 pages ($0.006 each) |
| Actor start | Once per run (set by Apify, scales with memory) | $0.001 |

Example: a 200-page site costs about $1.20. Unreachable URLs and invalid input are free. You can also set a maximum cost per run in Apify; the Actor stops cleanly when it is reached.

### Limits

- The Actor reads the HTML the server sends. Pages that build their content only with JavaScript (some single-page apps) may show fewer headings, words and links than a browser would.
- It does not measure Core Web Vitals or render the page; response time is the server's HTML response time.
- Sites behind a bot wall or that block automated requests return error rows or HTTP 403 pages.

### Legal

The Actor only requests public pages that any visitor can open without a login, respects robots.txt by default, and does not collect personal data. Audit sites you own or have a good reason to check, and respect each site's terms.

### FAQ

- **How am I charged?** $0.006 per page audited plus a $0.001 start fee. Error rows are free.
- **How do I audit only a few pages?** Choose **Only the listed URLs** and paste the pages.
- **Where are duplicate titles and broken pages?** In the `SUMMARY` record of the run's key-value store (also linked in the run's Output tab).
- **What if I leave the input empty?** The Actor falls back to a sample site (books.toscrape.com), logs a warning and still writes a dataset.
- **Can I schedule it?** Yes. Use Apify schedules or call it from n8n, Make or Zapier and compare scores over time.

# Actor input Schema

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

One URL per line: a homepage (https://example.com), a bare domain (example.com) or any page. In crawl mode each site is crawled from these URLs; in list mode only these exact pages are audited.

## `crawlMode` (type: `string`):

Crawl = follow internal links (and the sitemap) to audit the whole site up to the page limit. List = audit only the URLs you entered.

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

Stop after auditing this many pages on each site (crawl mode). This is also your cost cap: $6 per 1,000 pages.

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

How many clicks away from the start URL to follow internal links. 0 = start URLs only (plus sitemap pages).

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

In crawl mode, also add pages listed in the site's sitemap (found via robots.txt or /sitemap.xml).

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

Skip crawled pages that robots.txt disallows. URLs you enter yourself are always audited.

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

Pages fetched in parallel per site. Keep it low to be polite to small websites.

## Actor input object example

```json
{
  "startUrls": [
    "https://books.toscrape.com"
  ],
  "crawlMode": "crawl",
  "maxPagesPerSite": 10,
  "maxDepth": 3,
  "useSitemap": true,
  "respectRobotsTxt": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `pages` (type: `string`):

No description

## `allItems` (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 = {
    "startUrls": [
        "https://books.toscrape.com"
    ],
    "maxPagesPerSite": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("consequential_programmer/seo-audit-tool").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://books.toscrape.com"],
    "maxPagesPerSite": 10,
}

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

```

## MCP server setup

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

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/Oq9XfadaCgod5UO4l/builds/a99NN5SucgP0hpJzJ/openapi.json
