# SEO Page Audit: Titles, Meta, Headings, Schema & Links (`forgeloop/seo-page-audit`) Actor

On-page SEO audit for your pages, sitemap or a site crawl. Title, meta description, headings, canonical, indexability, hreflang, Open Graph, JSON-LD, alt texts, links and mixed content, with issues and a 0 to 100 score per page. No browser. Pay per page.

- **URL**: https://apify.com/forgeloop/seo-page-audit.md
- **Developed by:** [Markus Heiß](https://apify.com/forgeloop) (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 $2.00 / 1,000 audited pages

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 Page Audit: Titles, Meta, Headings, Schema & Links

Audit the on-page SEO of your web pages. Enter page URLs, a sitemap or a home page to crawl, get back one row per page with its title, meta description, headings, canonical, indexability, hreflang, Open Graph and Twitter tags, JSON-LD types, word count, images, links and mixed content. Every page gets an issue list and a score from 0 to 100.

Built for technical SEO checks, site migrations, agency reports and AI agents that need to check a page. Plain HTTP, no browser: the Actor reads the HTML the server sends.

### What it does

- **Three modes.** `pages` audits only the URLs you enter. `sitemap` reads the sitemaps from robots.txt (or `/sitemap.xml`) and audits the pages listed there. `crawl` starts at your URL and follows links on the same site.
- **Reads every on-page field:** title and length, meta description and length, H1 texts, heading counts H1 to H6, canonical (self, other or missing, also from the HTTP Link header), robots meta and X-Robots-Tag, `lang` attribute, hreflang links, viewport tag, Open Graph and Twitter card fields, JSON-LD types and JSON-LD parse errors.
- **Measures the page:** status code, final URL after redirects, response time, HTML size, word count of the visible text, images and images without alt, internal, external and nofollow links, and resources loaded over plain HTTP on an HTTPS page (mixed content).
- **Decides indexability** with a reason: HTTP status, robots.txt, noindex in meta robots or X-Robots-Tag, or a canonical that points to another URL.
- **Lists issues** with a code, a severity (`error`, `warning`, `notice`) and a message, and turns them into a score.
- **Finds duplicates across the run.** Pages that share a title or a meta description are listed in the run summary.
- **Polite:** respects robots.txt and Crawl-delay by default, at most 2 parallel requests per host with a short pause between requests.

### Use cases

- **Technical SEO checks:** find missing titles, long descriptions, missing H1s, noindex pages and broken JSON-LD across a site.
- **Site migrations:** audit the old and the new site from their sitemaps and compare titles, canonicals and indexability before and after the switch.
- **Agency reports:** export one table per client site with scores and issues as CSV or Excel.
- **Content reviews:** find thin pages with a low word count and images without alt text.
- **AI agents:** let an agent check a single page through the Apify API and act on the issue list.

### Input

| Field | Description | Default |
|---|---|---|
| Start URLs | Pages to audit, or the home page of the site. In sitemap mode a sitemap URL also works. | |
| Mode | `pages`, `sitemap` or `crawl` | `pages` |
| Max pages | Pages per run, 1 to 5000. Also caps the cost. | 50 |
| Respect robots.txt | Skip disallowed pages and keep the Crawl-delay | on |
| Parallel pages | Pages processed at the same time, 1 to 20 | 5 |
| Request timeout | Seconds without data before a page is given up, 5 to 120 | 30 |

Example:

```json
{
  "startUrls": [{ "url": "https://crawlee.dev" }],
  "mode": "crawl",
  "maxPages": 100
}
```

### Output

One dataset item per page:

```json
{
  "url": "https://www.python.org/about/",
  "finalUrl": "https://www.python.org/about/",
  "statusCode": 200,
  "score": 96,
  "indexable": true,
  "indexabilityReason": null,
  "title": "About Python™ | Python.org",
  "titleLength": 26,
  "metaDescription": "The official home of the Python Programming Language",
  "metaDescriptionLength": 52,
  "h1": ["Python is powerful... and fast; plays well with others; runs everywhere; is friendly & easy to learn; is Open."],
  "h1Count": 1,
  "headings": { "h1": 1, "h2": 7, "h3": 0, "h4": 0, "h5": 0, "h6": 0 },
  "canonical": null,
  "canonicalStatus": "missing",
  "metaRobots": null,
  "xRobotsTag": null,
  "blockedByRobotsTxt": false,
  "lang": "en",
  "hreflang": [],
  "viewport": true,
  "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", "url": "https://www.python.org/about/", "type": "website", "siteName": "Python.org" },
  "twitterCard": { "card": null, "title": null, "description": null, "image": null, "site": null },
  "jsonLdTypes": ["WebSite"],
  "jsonLdErrors": [],
  "wordCount": 659,
  "imagesTotal": 1,
  "imagesWithoutAlt": 0,
  "internalLinks": 131,
  "externalLinks": 49,
  "nofollowLinks": 0,
  "https": true,
  "mixedContentCount": 0,
  "mixedContentUrls": [],
  "responseTimeMs": 49,
  "pageSizeKb": 40.3,
  "contentType": "text/html; charset=utf-8",
  "redirected": false,
  "errorCount": 0,
  "warningCount": 0,
  "noticeCount": 4,
  "issues": [
    { "code": "title_too_short", "severity": "notice", "message": "The title has only 26 characters. Aim for 30 to 60." },
    { "code": "meta_description_too_short", "severity": "notice", "message": "The meta description has only 52 characters. Aim for 70 to 160." },
    { "code": "canonical_missing", "severity": "notice", "message": "The page has no canonical URL." },
    { "code": "twitter_card_missing", "severity": "notice", "message": "The page has no twitter:card tag." }
  ],
  "foundVia": "start",
  "error": null,
  "checkedAt": "2026-11-15T19:50:02.088Z"
}
```

- `canonicalStatus` is `self` when the canonical is the page itself (a trailing slash is ignored), `other` when it points elsewhere and `missing` when there is none.
- `foundVia` says where the URL came from: `start`, `sitemap` or `link`.
- Pages that fail, answer with a status other than 200 or are not HTML return an item with `error` set and the fields that are known, for example `statusCode` and `indexabilityReason`.

#### Issues and score

The score starts at 100 and loses 15 points per error, 5 per warning and 1 per notice. It never goes below 0.

| Severity | Codes |
|---|---|
| error | `not_https`, `mixed_content`, `title_missing` |
| warning | `title_too_long` (over 60 characters), `title_multiple`, `meta_description_missing`, `meta_description_multiple`, `h1_missing`, `blocked_by_robots_txt`, `noindex`, `canonical_multiple`, `lang_missing`, `viewport_missing`, `structured_data_invalid`, `images_missing_alt`, `slow_response` (over 2 s), `large_html` (over 1 MB) |
| notice | `title_too_short` (under 30), `meta_description_too_long` (over 160), `meta_description_too_short` (under 70), `h1_multiple`, `nofollow`, `canonical_missing`, `canonical_other`, `structured_data_missing`, `open_graph_missing`, `twitter_card_missing`, `low_word_count` (under 200), `redirected` |

#### Run summary

The key-value store record `OUTPUT` holds the summary of the run: pages audited, average score, non-indexable pages, issue counts by code, and the groups of pages that share the same title (`duplicateTitles`) or meta description (`duplicateDescriptions`). The summary is free.

Export the dataset as JSON, CSV or Excel, or read it through the Apify API.

### Pricing

Pay per page: 0.002 USD per audited page, so 2.00 USD per 1,000 pages. A page counts when it answers HTTP 200 with HTML. Errors, other status codes, pages skipped by robots.txt and non-HTML files are free. Set Max pages or the maximum charge in Apify to cap the cost of a run.

Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.

### Limits

- The Actor reads the HTML the server sends and runs no JavaScript. Pages that build their content in the browser show few words, links and headings. Single page apps that render everything client side are not a good fit.
- Response time is measured from the Actor's server and includes redirects. It is not a Core Web Vitals measurement.
- The word count splits on spaces, so languages without spaces between words (Chinese, Japanese, Thai) show low counts.
- In sitemap mode only pages on the same site as the start URL are audited (www and non-www count as one site). At most 50 sitemap files are read per site.
- In crawl mode links to subdomains and files like PDFs or images are not followed.
- Duplicate checks cover the pages of one run only.
- Pages larger than 10 MB are not audited.
- A Crawl-delay in robots.txt is kept, up to 10 s between requests. Sites with a long delay take a while: www.usa.gov asks for 10 s, so 100 pages take about 17 minutes.

### Data source, permitted use and legal

- **Data source:** Public pages of the websites you enter, their robots.txt and their sitemaps.
- **Snapshot:** Results show the pages at the time of the run. We do not guarantee that they are complete, current or correct.
- **For business use:** This Actor is offered to businesses only, not to consumers.
- **Permitted use:** Audit only websites you are allowed to check, for example your own sites, your clients' sites or public pages you have a legitimate reason to review. Respect the terms of the websites.
- **Your responsibility:** You choose the URLs and decide what happens with the results. If results contain personal data, you are the controller and need your own legal basis.
- **No circumvention:** The Actor does not log in, solve captchas or bypass paywalls, bot protection or other access restrictions. Do not use it for that.
- **Request volume:** Respects robots.txt and Crawl-delay by default, at most 2 parallel requests per host, a short pause between requests, and the page limit you set. Do not use it to put excessive load on a website.
- **Provider:** forgeloop, Markus Heiss, Austria. [Imprint](https://devhem.github.io/forgeloop-legal/imprint.html), [Privacy Notice](https://devhem.github.io/forgeloop-legal/privacy.html), [Terms of Use](https://devhem.github.io/forgeloop-legal/terms.html).

### Questions and issues

Open an issue on the Actor page.

# Actor input Schema

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

Pages to audit, or the home page of the site in sitemap and crawl mode. You can also enter a sitemap URL directly in sitemap mode. A missing https:// is added. Format: a list of objects with a url key, like \[{"url": "https://example.com"}].

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

pages: audit only the URLs you enter. sitemap: read the sitemaps of each site (from robots.txt, else /sitemap.xml) and audit the pages listed there. crawl: start at each URL and follow links on the same site (www and non-www count as one site).

## `maxPages` (type: `integer`):

Stop after this many pages in the whole run. Every page that answers 200 with HTML is one charged result, so this also caps the cost.

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

Skip pages that robots.txt disallows and keep the Crawl-delay. Turn it off to audit your own disallowed pages anyway. Such pages are then marked blockedByRobotsTxt and not indexable.

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

How many pages are processed at the same time. Each host still gets at most 2 parallel requests with a short pause in between.

## `timeoutSeconds` (type: `integer`):

Give up on a page after this many seconds without data.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.python.org/about/"
    },
    {
      "url": "https://example.com"
    }
  ],
  "mode": "pages",
  "maxPages": 50,
  "respectRobotsTxt": true,
  "maxConcurrency": 5,
  "timeoutSeconds": 30
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://www.python.org/about/"
        },
        {
            "url": "https://example.com"
        }
    ]
};

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

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

```

## MCP server setup

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