# SEO Page Audit: on-page checks for any URL list (`catblik/seo-page-audit`) Actor

Fast HTTP-only on-page SEO audit: title, meta, headings, canonical, Open Graph, structured data, security headers, issues list and score per URL.

- **URL**: https://apify.com/catblik/seo-page-audit.md
- **Developed by:** [asaf meizner](https://apify.com/catblik) (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.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 Page Audit: on-page checks for any list of URLs

Give it a list of public page URLs and get one structured audit row per page: HTTP status, redirects, response time, title and meta description (with lengths), canonical, robots meta, headings, link and image counts, Open Graph and Twitter tags, JSON-LD types and structured-data diagnostics, hreflang, security headers, a plain-language **issues list** and a 0-100 **score**.

It checks robots.txt for each origin and fetches each supplied page with plain HTTP, following permitted redirects. No browser or recursive crawling is used. Use it for authorized client-site checks, sitemap exports, or monitoring pages after a deploy. Submit only public URLs whose terms permit automated access.

### Input

Start with two public test pages:

```json
{
  "urls": ["https://www.python.org/", "https://example.com/"],
  "delaySeconds": 1
}
```

| Field | Default | Meaning |
|---|---|---|
| `urls` | Required | Up to 500 distinct public HTTP or HTTPS URLs. Missing schemes become HTTPS. Invalid URLs are skipped and duplicates are removed. |
| `delaySeconds` | `1` | Pause after each supplied URL. The actor enforces at least one second even if you enter a smaller value; robots crawl-delay may add more waiting. |

Only the supplied pages are audited. Links found on those pages are counted, not followed. To monitor changes, schedule this actor in Apify and compare each URL's results between runs in your own workflow.

### Output (one row per URL)

Illustrative excerpt from an HTML audit. Values are examples, not a current measurement of example.com; actual rows include additional fields. The score uses the complete issues list.

```json
{
  "url": "https://example.com/",
  "finalUrl": "https://example.com/",
  "status": 200,
  "redirects": 0,
  "responseMs": 180,
  "title": "Example Domain",
  "titleLength": 14,
  "metaDescription": null,
  "canonical": null,
  "h1": ["Example Domain"],
  "internalLinks": 0,
  "externalLinks": 1,
  "openGraph": {},
  "structuredDataTypes": [],
  "structuredDataBlocks": 0,
  "structuredDataErrors": [],
  "securityHeaders": {"strict-transport-security": false, "content-security-policy": false},
  "wordCount": 28,
  "issues": ["Title very short (14 chars)", "Missing meta description", "No canonical link", "No viewport meta (not mobile friendly)", "No lang attribute on <html>", "Incomplete Open Graph tags (og:title / og:image)", "Thin content (28 words)"],
  "score": 44
}
```

Checks include: missing/too long/too short title, missing or long meta description, missing or multiple h1, missing canonical, noindex, missing viewport or lang, images without alt, incomplete Open Graph, malformed or incomplete JSON-LD (`@graph` traversal, syntax errors, missing `@type`, and missing recommended fields for common Schema.org types like `Article`, `Product`, `JobPosting`, `Event`, `FAQPage`, `Organization`, `LocalBusiness`, `WebSite`), non-HTTPS, thin content, and HTTP errors.

### Pricing (pay per event)

- `page-audit`: 0.003 USD per URL audited (including URLs that return an error status or non-HTML content). URLs that cannot be reached at all are listed with an `error` field and are not charged.

### Notes

Page requests use an identifying User-Agent and at least one second between supplied URLs. robots.txt is cached per origin and checked before each page and redirect; disallowed URLs or unverifiable robots policies produce an uncharged error row. Robots redirects are conservatively treated as unverifiable. Robots crawl-delay is honored when present. Robots permission does not replace reviewing the site's terms.

Pages that need JavaScript are audited as served in the initial HTML. The score is a heuristic (100 minus 8 per issue), meant for triage, not a ranking prediction. Response time includes robots checks and any required wait, and is not a browser performance metric.

Local validation on 2026-10-19: eight automated tests passed, and an SDK local-mode run against https://www.python.org/ returned HTTP 200, title "Welcome to Python.org", one `WebSite` JSON-LD block (`structuredDataErrors`: missing recommended `name`), five h1 elements and score 76. These are observed test results, not guaranteed future values.

### Passive security-header checks

Every fetched response includes securityHeaderValues and securityFindings. Checks cover HTTPS HSTS max-age, enforcing CSP, script wildcard/unsafe-eval/unsafe-inline without a nonce or hash, framing restrictions, nosniff and referrer policy. CSP frame-ancestors is accepted instead of X-Frame-Options. Permissions-Policy is reported without a blanket requirement.

These are final-response configuration hints, not a vulnerability assessment, full CSP parser, browser enforcement test or TLS scan. Findings remain separate from the SEO score. No extra requests or charges are added; page-audit remains $0.003.

# Actor input Schema

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

Public pages to audit, one request per URL (up to 500). Scheme is optional.

## `delaySeconds` (type: `number`):

Pause between page fetches, to stay polite to the sites.

## Actor input object example

```json
{
  "urls": [
    "https://www.python.org/",
    "https://example.com/"
  ],
  "delaySeconds": 1
}
```

# Actor output Schema

## `results` (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://example.com/"
    ]
};

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

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

```

## MCP server setup

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