# Website SEO Audit (`brightpath-data/website-seo-audit`) Actor

Titles, metas, headings, status codes, broken links, canonicals, robots and sitemap checks for any list of URLs, no browser needed

- **URL**: https://apify.com/brightpath-data/website-seo-audit.md
- **Developed by:** [Nick Randall](https://apify.com/brightpath-data) (community)
- **Categories:** SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 page seo audit records

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

## Website SEO Audit

Agencies and consultants auditing client or prospect sites at scale can pull on-page SEO signals, title, meta description, headings, canonical, robots directive, broken links, and robots.txt/sitemap checks, for any list of URLs without a crawler subscription or a headless browser.

Get clean, structured on-page SEO data from any list of URLs as JSON, CSV or Excel, or call it as a tool from Claude, Cursor, ChatGPT or any MCP client. Pay only for the results you receive.

### What you get

For each URL: HTTP status, title, meta description, the first H1 plus H1/H2 counts, canonical URL, meta robots directive, a rough word count, the number of images missing alt text, internal vs external link counts, up to 8 of the page's own outgoing links checked for broken status, and whether the site's robots.txt and sitemap.xml exist (checked once per hostname per run, not once per URL).

Every result is a flat record with stable field names, so it drops straight into a spreadsheet, a database or an AI agent's context.

### Why use this instead of the website

- $5.00 per 1,000 URLs audited, no crawler subscription or per-seat SaaS fee
- On-page SEO checks (titles, metas, headings, broken links, robots/sitemap) in one flat record per URL, ready for a spreadsheet or a report
- Results in JSON, CSV, Excel or via API, or piped into Zapier, Make, n8n and Google Sheets
- Works as an MCP tool, so an AI agent can audit a page list on demand and summarize the findings
- No browser, no proxies, no personal data: fast runs and a tiny cost per result

### Input

| Field | Type | Default | Meaning |
|-------|------|---------|---------|
| `urls` | array | | Pages to audit, e.g. `https://example.com/pricing` |
| `maxResults` | integer | 100 | Cap on results saved. You are charged per result, so this caps your cost. |

Example input:

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

### Output

Sample rows from a live run:

| url | title | wordCount | imagesMissingAlt | robotsTxtFound | sitemapFound |
|---|---|---|---|---|---|
| stripe.com | Stripe | Financial Infrastructure to Grow Your Revenue | 1894 | 31 | true | false |
| github.com | GitHub · Change is constant. GitHub keeps you ahead. · GitHub | 1135 | 17 | true | false |
| apify.com | Apify: Marketplace of ready-to-run tools for AI | 1582 | 0 | true | true |
| news.ycombinator.com | Hacker News | 757 | 3 | false | false |

Full example result:

```json
{
  "url": "https://www.apify.com",
  "finalUrl": "https://apify.com/",
  "httpStatus": 200,
  "title": "Apify: Marketplace of ready-to-run tools for AI",
  "metaDescription": "Thousands of tools to automate your business. Get real-time web data, track competitors, generate leads, and integrate your apps and AI agents.",
  "h1": "74,002  tools for your AI",
  "h1Count": 1,
  "h2Count": 11,
  "canonicalUrl": "https://apify.com",
  "metaRobots": "index,follow",
  "wordCount": 1582,
  "imagesMissingAlt": 0,
  "internalLinksCount": 47,
  "externalLinksCount": 42,
  "brokenLinks": [],
  "robotsTxtFound": true,
  "sitemapFound": true,
  "checkedAt": "2026-09-24T22:55:56.834Z"
}
```

A page with dead outgoing links reports them like this (from a live run of `https://news.ycombinator.com`, whose own subpages reject HEAD requests, hence the 405s below rather than real 404s, see Limits):

```json
"brokenLinks": [
  { "url": "https://news.ycombinator.com/", "status": 405 },
  { "url": "https://news.ycombinator.com/news", "status": 405 },
  { "url": "https://news.ycombinator.com/newest", "status": 405 }
]
```

Field reference: `url` (as given), `finalUrl` (after redirects), `httpStatus`, `title`, `metaDescription`, `h1` (first H1 text), `h1Count`, `h2Count`, `canonicalUrl`, `metaRobots` (meta robots directive, `null` if absent), `wordCount` (rough, HTML stripped), `imagesMissingAlt` (images with no alt or `alt=""`), `internalLinksCount`, `externalLinksCount`, `brokenLinks` (`{url, status}` for up to 8 checked outgoing links that came back with an error status), `robotsTxtFound`, `sitemapFound` (checked once per hostname per run), `checkedAt`.

### Pricing

Pay per event. You are charged **$5.00 per 1,000 results** saved to the dataset, plus a fraction of a cent per run start. Nothing is charged for results you do not receive. Set "Max total charge per run" in the run options to cap spending on any run. When a run reaches your cap it stops cleanly and keeps everything it already saved.

Rough guide: 1,000 results cost $5.00 and take about 500 seconds (one page fetch plus up to 8 link checks per result, paced politely).

### Use it from an AI agent (MCP)

This Actor is available as an MCP tool through the Apify MCP server. Add it to your client, then ask the agent for the data in plain language.

Claude Desktop, Claude Code or Cursor (`mcp.json` / `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=brightpath-data/website-seo-audit",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

ChatGPT and other clients that support remote MCP servers: add `https://mcp.apify.com/?actors=brightpath-data/website-seo-audit` as a connector with your Apify token.

Example prompt once connected: "Audit these 10 landing pages for missing meta descriptions, thin content and broken links."

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/brightpath-data~website-seo-audit/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls":["https://example.com","https://example.com/pricing"],"maxResults":100}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("brightpath-data/website-seo-audit").call(run_input={"urls": ["https://example.com", "https://example.com/pricing"], "maxResults": 100})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

### Limits and fair use

- Up to 10,000 URLs per run.
- Broken-link checking is capped at 8 outgoing links per page (deduped, with `mailto:`, `tel:`, `javascript:` and `#`-anchor links skipped), so cost and run time per page stay predictable. A page with more links than that only has its first 8 checked.
- Broken-link checks use a HTTP HEAD request. A small number of sites reject HEAD entirely (returning 405) while serving the same URL fine over GET; those show up in `brokenLinks` even though the page itself is not actually broken, so treat a `405` there differently from a `404` or connection failure.
- robots.txt and sitemap.xml are checked once per hostname per run, not once per URL, so auditing many pages on the same site does not repeat those checks.
- Extraction is static HTML only, with no browser and no JavaScript execution: content injected client-side after page load is not reflected in word count, headings or links.

### Data source and legal

This Actor reads only the public HTML and HTTP response headers a page already sends to any visitor's browser, the same way "View Source" or a browser's developer tools would. It does not log in, does not solve or bypass any CAPTCHA or paywall, and link checks are capped and paced for cost and politeness reasons rather than to evade rate limiting. This Actor collects public, non-personal data only and does not bypass logins, paywalls or access controls. You are responsible for how you use the data.

### Support

Found a problem or need a field added? Open an issue on the Actor's Issues tab. Fixes for broken runs are prioritized.

# Actor input Schema

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

Pages to audit, e.g. https://example.com/pricing

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

Maximum number of pages to audit. You are charged per result saved, so this also caps the cost of a run.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "maxResults": 100
}
```

# Actor output Schema

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

The dataset with one flat record per result. Append ?format=csv or ?format=xlsx to the URL for other formats.

## `summary` (type: `string`):

OUTPUT record in the key-value store: counts of results pushed and charged, requests, retries and duration.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("brightpath-data/website-seo-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://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("brightpath-data/website-seo-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://example.com"
  ]
}' |
apify call brightpath-data/website-seo-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,brightpath-data/website-seo-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/RWoqTCE81AyhdZ9Dl/builds/pvAIt1EPNsZRtgZmJ/openapi.json
