# Website SEO Audit: Broken Links, Speed & Accessibility (`datacolada/site-qa`) Actor

Website SEO audit and QA for any page in one call: broken links and images, SEO meta tags, lab Core Web Vitals and WCAG 2.1 accessibility via axe-core. One compact JSON per URL with a 0-100 score and a prioritized fix for every issue. $0.015 per page, no start fee. Built for AI agents, MCP and n8n.

- **URL**: https://apify.com/datacolada/site-qa.md
- **Developed by:** [Cyd Dunscombe](https://apify.com/datacolada) (community)
- **Categories:** SEO tools, Developer tools, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$15.00 / 1,000 page checkeds

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: Broken Links, Speed & Accessibility

Run a **website SEO audit** and QA check on any web page in one call and get **one compact JSON per URL**: a 0-100 score, a letter grade, a one-line summary, and a prioritized `issues[]` list where every item has a `severity`, `code`, `message` and a concrete `fix`. It checks **broken links and images**, **SEO meta tags**, lab **Core Web Vitals**, and **WCAG 2.1 A/AA accessibility** with axe-core. Built for AI agents (Apify MCP server, LangChain, n8n, Make) and for a fast pre-launch checklist.

The Actor checks one page per URL; it does not crawl the whole site. Performance numbers are lab measurements in a real Chrome browser, not Google field (CrUX) data.

### What it checks

- **Broken links and images**: every link and image on the page (same-site first, up to `maxLinksPerPage`), with HTTP status. Rate-limited or bot-blocked links are reported as *unverified*, not broken.
- **SEO and meta tags**: title and meta description length, h1, canonical, robots meta and X-Robots-Tag, robots.txt rules and sitemap, viewport, lang, Open Graph and Twitter cards, JSON-LD types, mixed content, redirect chains, thin content.
- **Core Web Vitals (lab)**: LCP, CLS, TBT (lab stand-in for INP), FCP, TTFB, page weight by type and request count, rated with Google's good / needs-improvement / poor thresholds.
- **Accessibility**: WCAG 2.1 A/AA rules with axe-core (contrast, alt text, labels, link names, ARIA and more), with example selectors.

### Input

```json
{ "urls": ["https://example.com", "example.org/pricing"], "device": "mobile" }
```

Optional: `checks` (any of `links`, `seo`, `performance`, `accessibility`), `maxLinksPerPage` (default 100), `checkExternalLinks` (default true), `maxIssues` (default 25).

### Output (shortened)

```json
{
  "url": "https://example.com/", "statusCode": 200, "score": 94, "grade": "A",
  "summary": "A (94/100): 0 error(s), 3 warning(s), 5 info. Top: short-title, missing-meta-description, missing-h1.",
  "scores": { "seo": 77, "performance": 100, "accessibility": 100, "links": 100 },
  "issues": [ { "severity": "warning", "category": "seo", "code": "missing-meta-description",
                "message": "No meta description.", "fix": "Add <meta name=\"description\"> of 70-160 characters summarizing the page." } ],
  "links": { "found": 1, "checked": 1, "broken": 0, "brokenList": [] },
  "seo": { "title": "Example Domain", "titleLength": 14, "h1Count": 0, "...": "..." },
  "performance": { "lcpMs": 405, "cls": 0, "tbtMs": 0, "coreWebVitalsPass": true, "...": "..." },
  "accessibility": { "violations": 0, "byImpact": {} }
}
```

A run summary (average score, worst pages, total broken links) is saved as `RUN_SUMMARY` in the key-value store, and the run's status message gives the totals in one sentence.

### Notes

- Performance numbers are a lab measurement in a real Chrome browser, not Google field (CrUX) data. Use them to compare pages and spot regressions.
- Private and internal network addresses are refused.
- The Actor checks one page per URL; it does not crawl the whole site.

### Works well with

These are related Datacolada tools (they do not share a `recordId` with this Actor):

| Actor | When to use it |
| --- | --- |
| [Bulk PageSpeed & Lighthouse Checker](https://apify.com/datacolada/lighthouse-core-web-vitals-auditor) | Many URLs at once, mobile and desktop lab Core Web Vitals, optional CrUX, and change tracking. This Actor is the one-page SEO + links + accessibility + lab vitals check. |
| [Lead Leak Audit](https://apify.com/datacolada/lead-leak-audit) | Conversion holes on local-business sites (missing forms, click-to-call, quote CTAs, empty reviews pages). Not a Lighthouse or WCAG audit. |
| [Website Screenshot Monitor](https://apify.com/datacolada/website-screenshot-monitor) | Full-page screenshots and visual diffs when you want to see what changed, not just a score. |

### Pricing

$0.015 per page checked — one URL with all four checks. 100 pages ≈ $1.50. No start fee; charged only when the page loaded and a result was saved.

### Who it's for

- **SEO consultants** doing pre-launch QA.
- **Agencies** auditing client sites at scale.
- **Developers** wiring a content-quality gate into CI.
- **AI agents** that need page diagnostics.

### Use it from an agent or MCP

```bash
curl -X POST "https://api.apify.com/v2/acts/datacolada~site-qa/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"urls": ["https://example.com"]}'
```

It is also available as an MCP tool for agents: `https://mcp.apify.com/?tools=datacolada/site-qa` — each call returns one audit JSON per URL.

### FAQ

**Does this crawl the whole website?** No. It checks one page per input URL. It does not follow a sitemap or crawl the site.

**Are the speed numbers real-user Core Web Vitals?** No. They are lab measurements (LCP, CLS, TBT as a lab stand-in for INP, and related metrics) in Chrome, useful for comparing pages and spotting regressions.

**Which WCAG version is this?** WCAG 2.1 A/AA via axe-core. Automated checks catch only a fraction of accessibility issues and this is not a legal ADA audit.

# Actor input Schema

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

Public pages to QA, as plain strings, e.g. \["https://example.com", "example.org/pricing"]. 'https://' is added if missing. Each URL is one page check (links on the page are checked, but not crawled). Max 50 per run.

## `checks` (type: `array`):

Which checks to run. Default: all four. links = broken links and images on the page; seo = title, meta description, canonical, headings, robots, Open Graph, structured data; performance = lab Core Web Vitals (LCP, CLS, TBT, FCP, TTFB) and page weight; accessibility = WCAG 2 A/AA rules via axe-core.

## `device` (type: `string`):

mobile (default) emulates a phone (412x823) on DevTools slow-4G network throttling. desktop uses a 1350x940 window with no throttling. Lab numbers on Apify's shared CPUs run slower than a fast laptop, so treat TBT as a relative signal.

## `maxLinksPerPage` (type: `integer`):

Cap on unique links and images tested for each page, same-site links first. Default 100. Use 0 to skip link checks.

## `checkExternalLinks` (type: `boolean`):

Also test links to other domains. Default true. Set false for faster runs that only test same-site links.

## `maxIssues` (type: `integer`):

Cap on the issues list in each result, worst first. Default 25. Counts in the summary always include every issue.

## `pageTimeoutSecs` (type: `integer`):

How long to wait for a page to load before reporting it as failed. Default 45.

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

How many pages to check at the same time. Default 2. Lab performance numbers are steadier at 1.

## Actor input object example

```json
{
  "urls": [
    "https://example.com"
  ],
  "checks": [
    "links",
    "seo",
    "performance",
    "accessibility"
  ],
  "device": "mobile",
  "maxLinksPerPage": 100,
  "checkExternalLinks": true,
  "maxIssues": 25,
  "pageTimeoutSecs": 45,
  "maxConcurrency": 2
}
```

# 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 = {
    "urls": [
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacolada/site-qa").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("datacolada/site-qa").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 datacolada/site-qa --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datacolada/site-qa"
        }
    }
}
```

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/9QMqB9aqzO3NnbQas/builds/gfw50AsDTHLZOpFmB/openapi.json
