# SEO Audit Tool - On-Page SEO Checker for Any URL (`bigdavidson/seo-page-audit`) Actor

Unofficial. On-page SEO check for any public URL: title, meta description, canonical, headings, word count, images without alt, links, structured data, hreflang, speed, issues and a score. Same-site crawl optional. robots.txt obeyed, no key.

- **URL**: https://apify.com/bigdavidson/seo-page-audit.md
- **Developed by:** [Jack Sheward](https://apify.com/bigdavidson) (community)
- **Categories:** SEO tools, Marketing, 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 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

## SEO Audit Tool - On-Page SEO Checker for Any URL

Give it the addresses of public web pages and get one row per page with the on-page SEO facts that matter: status and redirects, title and meta description with their lengths, canonical link, robots directives, headings, word count, images without alt text, internal, external and nofollow links, Open Graph and Twitter tags, structured data types, hreflang, mixed content, response time, a list of plain-language findings and a 0 to 100 checklist score. It can also follow links to other pages of the same site, up to a page limit you set. It reads the HTML the server sends, as a plain client; it does not run JavaScript.

Use it to check a landing page before launch, audit a client's key pages every week, compare your pages with a competitor's on the same measures, or feed a spreadsheet or dashboard with title, description, canonical and indexability data for a list of URLs.

- **$5.00 per 1,000 pages.** Pay only for rows delivered. No subscription.
- **Nothing to set up.** No account, no API key, no proxies.
- **Every finding in plain words.** Each page comes back with its title, description, headings, canonical, indexability, structured data and a list of what to fix.
- **Clean, consistent fields**, ready for CSV, Excel, JSON or a database.
- **Runs on a schedule** and connects to the Apify API, Make, Zapier, n8n and AI agents.

### Who uses it

- SEO consultants and agencies auditing a client's key pages before a proposal or after a release.
- Marketing teams checking titles, descriptions, headings and indexability across landing pages.
- Developers adding an on-page check to a deployment or a weekly schedule.

### What you get

One row per page read:

```json
{
  "url": "https://www.gov.uk/",
  "finalUrl": "https://www.gov.uk/",
  "statusCode": 200,
  "redirectCount": 0,
  "responseMs": 15,
  "contentType": "text/html; charset=utf-8",
  "pageBytes": 85520,
  "https": true,
  "title": "Welcome to GOV.UK",
  "titleLength": 17,
  "metaDescription": "GOV.UK - The best place to find government services and information.",
  "metaDescriptionLength": 68,
  "canonical": "https://www.gov.uk/",
  "canonicalIsSelf": true,
  "robotsMeta": null,
  "xRobotsTag": null,
  "indexable": true,
  "h1": ["The best place to find government services and information"],
  "h1Count": 1,
  "h2Count": 13,
  "wordCount": 802,
  "lang": "en",
  "hasViewport": true,
  "openGraph": {"title": null, "description": null, "image": "https://www.gov.uk/assets/frontend/govuk-opengraph-image-4196a4d6333cf92aaf720047f56cfd91b3532d7635fc21ebcf0d5897df6b5f77.png", "type": null},
  "twitterCard": null,
  "structuredDataTypes": [],
  "hreflang": [],
  "imageCount": 4,
  "imagesMissingAlt": 0,
  "internalLinks": 103,
  "externalLinks": 3,
  "nofollowLinks": 0,
  "mixedContentCount": 0,
  "contentEncoding": "br",
  "cacheControl": "max-age=300, public",
  "issues": ["meta description is 68 characters (aim for 70 or more)"],
  "score": 97,
  "scrapedAt": "2026-11-11T18:21:02Z"
}
```

**What the fields mean.**

- `url` is the address you gave (with `https://` added if you left it out). `finalUrl` is where the redirects ended, `redirectCount` how many redirect steps there were (for a page that ends in a 5xx error it can read 0 even after redirects). `statusCode` is the final HTTP status.
- `responseMs` is the time in milliseconds from sending the request until the site's answer started to arrive, for the request that returned the page. It does not include the pause between requests, the robots.txt request or earlier redirect steps. It is measured from the machine that runs the Actor, so it depends on where that is. `pageBytes` is the size of the HTML after decompression. `contentEncoding` and `cacheControl` are the headers the site sent; `contentType` is cut at 200 characters.
- `title` is the first `<title>` of the page, whitespace collapsed, cut at 500 characters; `titleLength` is counted before that cut (up to 5,000 characters) and is 0 when there is no title. `metaDescription` is the first `<meta name="description">`, cut at 1,000 characters, and `metaDescriptionLength` works the same way.
- `canonical` is the first `<link rel="canonical">`, made absolute (empty when the address is longer than 2,000 characters). `canonicalIsSelf` compares it with `finalUrl` ignoring a fragment, a trailing slash and a default port, and is empty when there is no canonical.
- `robotsMeta` is the content of `<meta name="robots">` tags (other names such as googlebot are not read). `xRobotsTag` is the `X-Robots-Tag` header. `indexable` is true when the page answered with a 2xx status and neither contains `noindex` or `none` (for any bot named in the header). Directives that carry a value, such as `max-image-preview:none`, `max-snippet:0` or `unavailable_after:`, are not read as `noindex`. It does not look at robots.txt, the canonical or JavaScript.
- `h1` lists the text of the first five non-empty `<h1>` headings (300 characters each); `h1Count` and `h2Count` count every heading of that level.
- `wordCount` counts whitespace-separated words in the page text outside `<head>`, `<script>`, `<style>`, `<noscript>`, `<template>`, `<svg>`, `<iframe>`, `<object>` and `<textarea>`. Words split by an inline tag can count twice, so treat it as approximate.
- `lang` is the `lang` attribute of `<html>`. `hasViewport` is true when a `<meta name="viewport">` exists.
- `openGraph` holds `og:title`, `og:description`, `og:image` (made absolute) and `og:type`, each empty when absent. `twitterCard` is `twitter:card`.
- `structuredDataTypes` lists the distinct `@type` values found in `<script type="application/ld+json">` blocks (at most 30 values; blocks longer than 262,144 characters or not valid JSON are ignored; at most 30 blocks are read). Microdata and RDFa are not read.
- `hreflang` lists `{lang, url}` for `<link rel="alternate" hreflang="...">` tags, at most 50. Hreflang in HTTP headers or sitemaps is not read.
- `imageCount` counts `<img>` tags. `imagesMissingAlt` counts those with no `alt` attribute at all; `alt=""` is accepted as a deliberate empty description.
- `internalLinks` and `externalLinks` count links in `<a href>` and `<area href>` tags, every occurrence, up to 20,000 per page. A link is internal when its host is exactly the host of `finalUrl` (`example.com` and `www.example.com` are different hosts). Links that begin with `#`, and `mailto:`, `tel:`, `javascript:` and `data:` links, are not counted. `nofollowLinks` counts links whose `rel` contains `nofollow` (internal or external).
- `mixedContentCount` counts resources loaded with `http://` on an `https` page: images, scripts, frames, stylesheets, media and embeds. It is 0 on an `http` page.
- `issues` and `score` are explained below. `scrapedAt` is the UTC time of the run.

**Pages that answer with an error.** A page that answers 404, 410, 5xx or any other 4xx status (except the refusals in the Limits section) still gets a row: status code, redirects, headers and the issue `page answers 404 (not found)`, `page answers 410 (gone)`, `page answers 503 (server error)` or similar. The content fields are empty, `indexable` is false and `score` is 0. A server error is asked up to three times before its row is written. **These error pages are charged like any other row**: a page that answers 404, 410 or a server error is delivered with its status code and an issue, and counts as one page in the price. A bot-challenge page is not an error page: it gets no row (see below).

**Pages that get no row.** A page that cannot be fetched at all gets no row and costs nothing: refused or unreachable, disallowed by the site's robots.txt, not a public address, larger than 3 MB, slower than 60 seconds, not HTML (a PDF, an image, JSON), a login wall, a bot-challenge page (whatever status code it comes with) or HTTP 401 or 403. The reason goes to the run log, and the final status message says how many addresses were not read.

### Findings and score

`issues` holds short plain findings. `score` is 100 minus the points of every finding on the page, never below 0. The thresholds are common SEO guidance used by many tools, not rules of Google or any other search engine, and they are not tuned to your site. The score is a checklist total over the findings below; it does not predict rankings or traffic.

| Finding (text in `issues`) | Points lost | When |
|---|---|---|
| `missing title` | 15 | no non-empty `<title>` |
| `title is N characters (aim for 10 or more)` | 5 | title shorter than 10 characters |
| `title is N characters (aim for 60 or fewer)` | 5 | title longer than 60 characters |
| `missing meta description` | 10 | no non-empty meta description |
| `meta description is N characters (aim for 70 or more)` | 3 | shorter than 70 characters |
| `meta description is N characters (aim for 160 or fewer)` | 3 | longer than 160 characters |
| `no h1 heading` | 10 | no `<h1>` |
| `N h1 headings` | 5 | more than one `<h1>` |
| `noindex` or `noindex (X-Robots-Tag header)` | 20 | `noindex` or `none` in the robots meta tag or the header |
| `no canonical link` | 5 | no canonical link |
| `canonical link points to another address` | 5 | `canonicalIsSelf` is false |
| `N images without alt text` | 2 per image, at most 10 | images with no `alt` attribute |
| `only N words (aim for 300 or more)` | 10 | fewer than 100 words |
| `only N words (aim for 300 or more)` | 5 | 100 to 299 words |
| `no viewport tag` | 5 | no viewport meta tag |
| `no lang attribute on the html tag` | 3 | no `lang` on `<html>` |
| `page is not served over https` | 10 | `finalUrl` starts with `http://` |
| `N http:// resources on an https page` | 2 per resource, at most 10 | mixed content |
| `no Open Graph tags` | 3 | none of og:title, og:description, og:image, og:type |
| `answered in X s (aim for under 3 s)` | 5 | `responseMs` above 3,000 |
| `answered in X s (aim for under 3 s)` | 10 | `responseMs` above 6,000 |
| `N redirects before the page` | 3 | more than one redirect step |
| `the page's markup could not be read to the end (an unfinished tag or comment kept growing)` | 0 | an unfinished tag kept growing past 100,000 characters; the page is audited as far as it was read |

Example: a page with no meta description (10), two `<h1>` headings (5) and three images without alt text (6) scores 100 - 10 - 5 - 6 = 79. Pages that answer with an error score 0 with a single issue (and are charged like any other row).

### Input

| Field | What it does |
|---|---|
| Page URLs | Addresses of public web pages, one per line, up to 1,000. Duplicates are removed. An address without `http://` or `https://` gets `https://`. |
| Pages per start address | 1 (default) reads only the page you give. Above 1, the Actor also follows links to other pages on the same host as the start page's final address, breadth-first, until that many pages have been read for that start address. Up to 1,000. |
| Maximum results | Stop after this many rows in total. Default 100. |

The crawl follows `<a href>` and `<area href>` links that are not marked `nofollow`, drops the fragment, keeps the query string, and skips addresses that end in a common file extension (images, PDF, archives, media, CSS, JavaScript, JSON, XML, feeds, text, office files, fonts). It does not read sitemaps. A page is read once per run: if two addresses lead to the same final page, there is one row. Per start address the Actor tries at most three times the page limit, so unreadable pages cannot keep a crawl going forever.

Pages are read one at a time, about a second apart, plus a second for each new site's robots.txt. 100 pages take a few minutes. The prefilled example (three public pages: python.org, gov.uk and w3.org) finishes in well under a minute.

### How to run it

1. Open the **Input** tab. The prefilled example works as it is; replace the links with yours.
2. Press **Start**. Rows appear in the **Output** tab as pages are read.
3. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the Apify API.

### How much does it cost?

**$5.00 per 1,000 pages** ($0.005 per page), plus Apify's standard start charge of $0.00005 per run. There is no subscription and no rental fee.

| Results | Cost |
|---|---|
| 100 | $0.50 |
| 1,000 | $5.00 |
| 10,000 | $50.00 |

You pay only for rows delivered (the `page` charge). Platform usage is included in that price, and a run stops at the spending limit you set. The Pricing tab always shows the current price.

### FAQ

**Are error pages charged?** Yes. A page that answers 404, 410 or a server error is delivered as a row with its status code and an issue, and is charged like any other row. Pages that get no row cost nothing.

**Do I need an account, an API key or a proxy?** No. The Actor reads the public pages you give it and needs nothing else.

**Can I run it on a schedule?** Yes. Use Apify Schedules and compare `title`, `canonical`, `indexable`, `statusCode` and `score` between runs.

**Why did a page get no row?** It could not be read, and it costs nothing. The run log gives the reason for each address, for example: disallowed by robots.txt, not a public address, larger than 3 MB, more than 60 seconds, not an HTML page, or refused by the site. If no page at all can be read, the run fails and the message lists the reasons.

**Why was a whole site skipped?** If a site refuses a request with a login wall, a CAPTCHA, a bot-detection page or HTTP 401 or 403, the Actor does not force its way in: every later address on that host is skipped for the rest of the run, and other sites are still read. If a site's robots.txt cannot be read, the same applies to that host.

**Does it obey robots.txt?** Yes, on every page and on every redirect step, and it identifies itself honestly as `seo-page-audit` instead of imitating a browser or a search engine. A page that the site's robots.txt disallows for this client is not read, and a site that bars all bots cannot be audited with this tool.

**Is it safe to give it any address?** The Actor only fetches public web addresses on the standard ports (80 and 443). Addresses that point to private, local or internal machines, or that carry a user name or password, are refused, also when a redirect leads there. Downloads are limited to 3 MB and each page to 60 seconds in total. HTML is read in one pass with the standard parser, with every text field cut and every list capped, and reading stops when an unfinished tag keeps growing past 100,000 characters (the page is then audited as far as it was read, with an issue saying so). Measured with Python's tracemalloc: a 3 MB page made of one never-finished tag peaked at about 30 MB, an ordinary 3 MB page of dense markup at about 2 MB, and 2 MB pages of adversarial markup were read in a few seconds. Other memory use of the Actor is not covered by these figures.

**Something looks wrong or a field is missing?** Open the **Issues** tab on this page and include the input you used.

### Limits

- **No JavaScript.** Only the HTML the server sends is read. A page that builds its title, headings or links with JavaScript shows what the raw HTML holds, which is also what many simple crawlers see.
- **Not included:** Core Web Vitals or Lighthouse scores, page rendering, backlinks, keyword rankings, search volume, broken-link checking of the links on a page (the linked pages are not requested unless the crawl reads them), sitemap or robots.txt reports, duplicate-content detection, readability scores and spell checking. `responseMs` is the time to the first byte of one request, not a page-load measure.
- **A site that bars all bots in robots.txt cannot be read**, and neither can a page that robots.txt disallows for this client. Nothing is worked around.
- Uses ordinary web requests, one per second, and identifies itself honestly. It keeps no cookies, uses no proxies, does not log in, does not solve CAPTCHAs and does not work around blocks. HTTP 401, 403, 407, 429 (after one wait) and 451 count as a refusal.
- **Error pages are charged.** A page that answers 404, 410 or a server error still gets a row (status code and an issue) and is charged like any other row; a crawl over a site with dead links pays for each of them.
- **Address check.** The address a name resolves to is checked before each request and each redirect step, and only global (public) unicast addresses pass: private, loopback, link-local, multicast, reserved and unspecified addresses and the NAT64 range are refused. The connection itself resolves the name again, so a name that changes its answer between the check and the connection is not covered.
- A download larger than 3 MB (after decompression) is not read. A page that takes longer than 60 seconds in total (robots.txt, download and reading together) is skipped. At most 1,000 start addresses are read per run.
- A run stops early once the addresses that could not be read have together taken more than 15 minutes. Start addresses after that point are not tried, and the run log says how many. Rows already delivered are kept.
- Text encoding comes from the HTTP header, else from a `<meta charset>` near the top of the page, else UTF-8.
- Redirects are followed one step at a time (five at most), and each step is checked against robots.txt and the address rules.
- The thresholds and the score are a simple checklist (see above), not the rules of any search engine, and they do not predict rankings.
- Output is business-level page data. Email addresses are replaced with `[email removed]` in text fields such as `title`, `metaDescription`, `h1`, `robotsMeta`, `xRobotsTag`, `twitterCard` and the Open Graph texts; this happens before any text is cut, and also when the text looks like a web address. Authors, `twitter:site`, `twitter:creator` and structured-data author or person values are not read at all. They are not removed from address fields, which are delivered as they are. Phone numbers are replaced with `[phone removed]` only in long free text (80 characters or more with several words). A person's name written into a title or heading is not removed.
- The pages belong to their publishers. Reading a public page for a check of its markup does not give you the right to republish its content.
- Unofficial. Not affiliated with, endorsed by or sponsored by Google, any other search engine, or any of the sites whose pages it reads.

# Actor input Schema

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

Addresses of public web pages to check, one per line, up to 1,000. A page that robots.txt disallows, that is not a public address, is not HTML, is larger than 3 MB or takes longer than 60 seconds is skipped without a row and without a charge, and the run goes on.

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

1 reads only the page you give. Above 1, the Actor also follows links to pages on the same host, breadth-first, until this many pages have been read for that start address. robots.txt is obeyed on every page.

## `maxResults` (type: `integer`):

Stop after this many pages in total, across all start addresses.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.python.org/",
    "https://www.gov.uk/",
    "https://www.w3.org/"
  ],
  "maxPagesPerSite": 1,
  "maxResults": 100
}
```

# Actor output Schema

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

All result rows from the run's default dataset, as JSON.

# 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/",
        "https://www.gov.uk/",
        "https://www.w3.org/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bigdavidson/seo-page-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 = { "startUrls": [
        "https://www.python.org/",
        "https://www.gov.uk/",
        "https://www.w3.org/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bigdavidson/seo-page-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 '{
  "startUrls": [
    "https://www.python.org/",
    "https://www.gov.uk/",
    "https://www.w3.org/"
  ]
}' |
apify call bigdavidson/seo-page-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bigdavidson/seo-page-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/8PKTEj4x7OA0GNpJt/builds/5KAPQEzUW3ItVmUj4/openapi.json
