# SEO Audit Tool – On-Page & Technical SEO Checker (`tagadanar/seo-audit-tool`) Actor

Audit any website's on-page and technical SEO: crawl a site or check a list of pages. One row per page: status, redirects, title, meta description, headings, canonical, robots, hreflang, Open Graph, schema, alt text, links, mixed content, scored issues with fixes. $3.00 per 1,000 pages + $0.001/run.

- **URL**: https://apify.com/tagadanar/seo-audit-tool.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** SEO tools, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 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 & Technical SEO Checker

Run an on-page and technical SEO audit of any website. Give it a domain and it crawls the site (internal links first, then the XML sitemap), or give it a list of pages and it checks exactly those. You get **one row per page** with the HTTP status, redirect chain, response time, title and meta description (with lengths and duplicates), H1/H2 outline, canonical, robots directives, hreflang, Open Graph and Twitter cards, structured data types, images without alt text, word count, link counts, mixed content and mobile viewport, plus a **scored issue list** (error / warning / notice) where every issue comes with a plain-language fix. An optional summary row per site covers robots.txt, the sitemap, the http-to-https redirect and duplicate titles across pages.

**$3.00 per 1,000 pages audited on Free ($2.10 on Gold), plus $0.001 per run. Platform usage is included.** No API key, no login, no proxy needed. Pages that do not answer, refuse, or are not HTML cost nothing.

It reads the HTML your server sends (like a search engine's first pass). It does not run a browser, so it does not measure Core Web Vitals or Lighthouse scores, and content that only appears after JavaScript runs is not seen.

### What you get

One flat row per page (`rowType` = `page`). Fields a page does not have are null.

| Field | What it is |
| --- | --- |
| `url`, `finalUrl` | The page fetched and where it ended after redirects |
| `statusCode`, `redirectCount`, `redirectChain` | HTTP status and every redirect hop, e.g. `301 http://a.com/ -> 200 https://a.com/` |
| `responseTimeMs`, `pageSizeBytes`, `compression` | Time to receive the HTML, its size, gzip/brotli |
| `indexable`, `indexability` | Whether search engines can index the page, and why not (`noindex`, `blocked by robots.txt`, `canonicalised to another URL`, `HTTP 404`) |
| `score` | 0-100: 100 minus 10 per error, 4 per warning, 1 per notice |
| `errorCount`, `warningCount`, `noticeCount`, `issueCodes` | Issue totals and codes, e.g. `MISSING_H1, TITLE_TOO_LONG` |
| `issues` | The list: `severity`, `code`, `message`, `fix` |
| `title`, `titleLength`, `duplicateTitle` | The `<title>`, its length, and whether other audited pages of the site share it |
| `metaDescription`, `metaDescriptionLength`, `duplicateMetaDescription` | The same for the meta description |
| `h1`, `h1Count`, `h2`, `h2Count`, `headingOutline` | Headings in document order (`H2: Pricing`) |
| `canonical`, `canonicalIsSelf` | Canonical URL (tag or HTTP header) and whether it points to the page itself |
| `robotsMeta`, `xRobotsTag`, `blockedByRobotsTxt` | Meta robots, the X-Robots-Tag header, robots.txt verdict |
| `hreflang`, `hreflangCount`, `lang` | Alternate language versions and the `<html lang>` |
| `viewport`, `mobileViewport` | Viewport meta tag and whether it uses `width=device-width` |
| `ogTitle`, `ogDescription`, `ogImage`, `ogType`, `twitterCard`, `twitterTitle`, `twitterImage` | Social sharing tags |
| `structuredDataTypes`, `jsonLdBlocks`, `jsonLdInvalid` | schema.org types found (JSON-LD and microdata) and broken JSON-LD blocks |
| `wordCount` | Words of visible text |
| `imageCount`, `imagesWithoutAlt`, `imagesWithoutAltSample` | Images and the ones missing an alt attribute |
| `internalLinks`, `uniqueInternalLinks`, `externalLinks`, `nofollowLinks` | Link counts (links are counted, not checked) |
| `mixedContentCount`, `mixedContentSample`, `https`, `hsts` | http:// resources on https pages, HTTPS and the HSTS header |
| `inSitemap`, `foundVia`, `depth` | In the XML sitemap? Found via `input`, `link` or `sitemap`, and the click depth from your start page |
| `error`, `errorMessage` | Why a page was not audited (e.g. `HTTP_404`, `TIMEOUT`, `NOT_HTML`) |

With **Add a site summary row** on (default), one extra free row per site (`rowType` = `site`): average `score`, `pagesAudited`, `pagesWithErrors`, `robotsTxtStatus`, `robotsTxtSitemaps`, `sitemapFound`, `sitemapUrlCount`, `httpToHttpsRedirect`, `duplicateTitleGroups` and `duplicateTitlesSample`, `duplicateDescriptionGroups`, `topIssues` (the most frequent issue codes with counts), `pagesSkippedByRobotsTxt`, `crawlComplete`, and site-level issues such as `NO_SITEMAP` or `NO_HTTP_TO_HTTPS_REDIRECT`.

#### Checks

- **Errors:** page answers 4xx/5xx, no `<title>`, no viewport meta (not mobile-friendly), mixed content, page served over plain HTTP.
- **Warnings:** redirect chains, very slow HTML (over 3 s), noindex, title over 60 characters, duplicate titles or descriptions, missing meta description, missing H1, several canonicals, canonical to http://, viewport without `width=device-width`, images without alt, invalid JSON-LD, blocked by robots.txt.
- **Notices:** short title or description, long description, several H1s, skipped heading level, missing canonical, canonical pointing elsewhere, missing `lang`, thin content (under 300 words), missing Open Graph or Twitter card, no structured data, hreflang without x-default or self-reference, no HSTS, no compression, large HTML, long URL, temporary (302) redirect, page not in the sitemap.

### Who uses it

- **SEO consultants and agencies**: a quick technical audit of a prospect's or client's site, exported to a sheet, with the fix for each issue already written.
- **Site owners and marketers**: check the pages that matter (home, pricing, top landing pages) for missing titles, duplicates, noindex left on by mistake, or broken canonicals after a redesign or migration.
- **Developers and QA**: run it on a list of URLs after each release to catch regressions (a lost meta description, a redirect chain, a page that went 404).
- **Data and AI pipelines**: structured on-page metadata (titles, descriptions, headings, schema types, word counts) for many pages at once.

### Examples

Prefill: crawl a site, 10 pages:

```json
{"urls":["https://crawlee.dev"],"crawl":true,"maxPagesPerSite":10}
```

Audit a site up to 200 pages, internal links and sitemap:

```json
{"urls":["https://www.python.org"],"crawl":true,"maxPagesPerSite":200}
```

Check only a list of pages (no crawl), no summary row:

```json
{"urls":["https://crawlee.dev/","https://crawlee.dev/js/docs/quick-start","https://crawlee.dev/blog"],"includeSiteSummary":false}
```

### Results, zeros and errors

- A page that answers 404, 410 or 5xx is listed with its status and an `HTTP_4XX`/`HTTP_5XX` issue, and is not charged. A run where every page answered with an error status ends successfully: that answer is the audit.
- A page that refuses (403, 429), times out or does not resolve is listed with the reason and is not charged. A run where no page could be fetched fails with the reasons named.
- Non-HTML URLs (PDFs, images) are not audited and not charged. The crawler skips them by file extension and does not follow links to other sites.
- In crawl mode, links that redirect to a page already audited are counted once, and discovered pages that robots.txt disallows are skipped (turn off **Respect robots.txt** to audit them anyway). Pages you list yourself are always audited and flagged when robots.txt blocks them.
- Private and local addresses (127.0.0.1, 10.x, 192.168.x) are refused.
- Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $3.00 per 1,000 pages audited on Free, with lower prices on higher Apify plans ($2.10 per 1,000 on Gold). A page is charged only when it answered 2xx with HTML and was audited. Site summary rows are free. Platform usage is included.

Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status. In crawl mode, **Max pages per site** caps how many pages each site can cost.

### FAQ

**Is this Lighthouse or PageSpeed?** No. It audits the HTML and HTTP response (what a crawler sees first): tags, headings, indexability, redirects, links, structured data. It does not render pages in a browser, so it does not report Core Web Vitals.

**Does it check broken links?** It counts internal, external and nofollow links on each page, and in crawl mode every internal page it reaches is fetched, so broken internal pages show up as 404 rows. It does not test every outgoing link.

**How does the crawl choose pages?** Breadth-first from the pages you list (the closest pages to your start page come first), then pages listed in the XML sitemap that the links did not reach, until **Max pages per site**. The site summary says whether the crawl covered everything it found (`crawlComplete`).

**Can I audit many sites in one run?** Yes: up to 100 different sites in crawl mode, or up to 5,000 listed pages without crawl.

**Why are some fields null?** The page does not have that tag (e.g. no `og:image`), or the page was not audited (see `error`).

### Data use

The actor fetches public web pages, robots.txt and sitemap files the way a search engine crawler does, and reports technical facts about them. It does not log in, fill forms or collect personal data. Audit sites you own or are allowed to assess, and keep **Max pages per site** reasonable for small sites.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/seo-audit-tool/changelog.md

# Actor input Schema

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

Page URLs or domains to audit, e.g. https://crawlee.dev or example.com/pricing. A bare domain means https://. With "Crawl the site" off, exactly these pages are audited (up to 5,000 per run). With it on, each different site in the list is crawled starting from these pages.

## `crawl` (type: `boolean`):

On: discover more pages of each site by following its internal links (breadth-first from the pages you listed), then its XML sitemap, up to "Max pages per site". Off: audit only the listed pages.

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

Crawl mode only: the most pages fetched per site (each audited page is one charge). Default 50, max 1,000. Up to 100 different sites per run in crawl mode.

## `useSitemap` (type: `boolean`):

Crawl mode: after the internal links, also audit pages listed in the sitemap (from robots.txt or /sitemap.xml). Every page row also says whether the page is in the sitemap.

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

Crawl mode: do not fetch discovered pages that robots.txt disallows (they are counted in the site summary). Pages you list yourself are always audited and flagged when robots.txt blocks them.

## `includeSiteSummary` (type: `boolean`):

One extra free row per site: robots.txt, sitemap found, http-to-https redirect, duplicate titles and descriptions across the audited pages, average score and the most frequent issues.

## Actor input object example

```json
{
  "urls": [
    "https://crawlee.dev"
  ],
  "crawl": true,
  "maxPagesPerSite": 10,
  "useSitemap": true,
  "respectRobotsTxt": true,
  "includeSiteSummary": true
}
```

# Actor output Schema

## `dataset` (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://crawlee.dev"
    ],
    "crawl": true,
    "maxPagesPerSite": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/seo-audit-tool").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://crawlee.dev"],
    "crawl": True,
    "maxPagesPerSite": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/seo-audit-tool").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://crawlee.dev"
  ],
  "crawl": true,
  "maxPagesPerSite": 10
}' |
apify call tagadanar/seo-audit-tool --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tagadanar/seo-audit-tool"
        }
    }
}
```

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/IkxHFEas3RYn8nlKj/builds/sbdhQgR8SdRE9xDfX/openapi.json
