# SEO ReleaseGuard: SEO Regression Checker for Deploys (`aladzhov/seo-releaseguard`) Actor

SEO regression checker for deploys. Crawls your site, compares each page to a saved baseline and flags new noindex, lost titles, H1s or canonicals, status code changes, redirects and lost structured data. Severities, HTML report, CI webhooks. $1.50 per 1,000 pages.

- **URL**: https://apify.com/aladzhov/seo-releaseguard.md
- **Developed by:** [Anton Aladzhov](https://apify.com/aladzhov) (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

Pay per event

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

### What is SEO ReleaseGuard?

**SEO ReleaseGuard is an SEO regression checker for website releases.** It crawls your site (from start URLs or an XML sitemap), saves a **baseline** of every page's SEO signals, and on every later run flags what broke: **new `noindex` tags, removed or changed titles, H1s and meta descriptions, changed canonicals, new redirects, status code changes, lost hreflang, lost or invalid structured data, image alt-text drops and content shrinkage.** Each regression gets a severity (critical, high, medium or low), and you can fail your CI/CD pipeline or ping Slack via webhook when thresholds are exceeded.

It works like a technical SEO audit tool, but built for the question that matters after a deploy: **"did this release break our SEO?"**

Try it now: the default input audits a demo site in under 15 seconds.

#### Why run an SEO regression check after every deploy?

- 🚨 **Silent SEO disasters happen in releases.** A staging `noindex` shipped to production, a template that drops canonicals, or a migration that 301s half the site. These can cost weeks of traffic before anyone notices.
- 🧭 **Baseline diffing, not noise.** One-off audits list hundreds of pre-existing issues. ReleaseGuard reports only what changed since the last good baseline.
- 🤖 **CI/CD-ready.** Severity thresholds, a JSON summary, an HTML report and a webhook make it a deploy gate.
- 💸 **About 10× cheaper per page** than typical crawler-based SEO audit tools on Apify Store.

### What SEO regressions does it detect?

| Regression | Severity |
|---|---|
| New `noindex` (meta robots or X-Robots-Tag) | Critical |
| Status code changed (to 4xx/5xx is critical, otherwise high) | Critical / High |
| Title removed | Critical |
| Canonical changed | High |
| Meta description removed | High |
| H1 removed | High |
| Structured data (JSON-LD) lost | High |
| Title changed, new redirect, hreflang lost | Medium |
| Structured data invalid, content length drop | Medium |
| Meta description changed, H1 changed, image alt coverage drop | Low |

Every page record also includes the full on-page audit: status, redirect chain, title, meta description, canonical, robots directives, H1s, hreflang, structured data, internal and external links, and image alt coverage.

### How to check a website for SEO regressions (step by step)

1. Add your homepage or `sitemap.xml` under **Start URLs**.
2. Set **Max pages** (start with 100–500).
3. Pick a **Baseline name**, e.g. `production`.
4. Run once to create the baseline.
5. Run again after each deploy, manually, on a schedule, or from CI via the API. The output lists regressions per page, and `SUMMARY.json` tells you whether thresholds were exceeded.

⚠️ Only audit sites you own or have permission to crawl. `robots.txt` is respected by default.

### Input example

```json
{
  "startUrls": [{ "url": "https://www.example.com/sitemap.xml" }],
  "maxPages": 500,
  "baselineName": "production",
  "thresholds": { "critical": 1, "high": 3, "medium": 10 },
  "webhookUrl": "https://hooks.slack.com/services/…",
  "baselineUpdateMode": "onPass"
}
```

### Output example

One dataset row per audited page (simplified):

```json
{
  "url": "https://books.toscrape.com/",
  "statusCode": 200,
  "title": "All products | Books to Scrape - Sandbox",
  "canonical": null,
  "metaRobots": "NOARCHIVE,NOCACHE",
  "h1Count": 1,
  "internalLinks": 94,
  "images": { "total": 20, "withAlt": 20 },
  "regressions": [
    { "severity": "critical", "code": "NEW_NOINDEX", "message": "Page became noindex" }
  ]
}
```

The key-value store also has **`SUMMARY.json`** (regression counts and whether thresholds were exceeded) and **`REPORT.html`** (a shareable report).

### How much does an SEO regression audit cost?

Pay-per-event pricing, with no subscription:

| Event | Price |
|---|---|
| Page audited | **$0.0015** ($1.50 per 1,000 pages) |
| Regression found | **$0.0005** |

**Pricing examples**

- Auditing **1,000 pages** costs **$1.50**.
- A **200-page site checked after 20 deploys a month** is 4,000 page audits, or **$6.00 per month**.
- A **5,000-page sitemap checked weekly** costs about **$30 per month**.

Set a maximum cost per run in Apify, and the crawl stops gracefully when it's reached. `maxPages` is a hard cap.

### Integrations and CI/CD

- **GitHub Actions, GitLab CI or any CI**: call the Apify API after deploy, wait for the run, and read `SUMMARY.json` → `thresholdsExceeded`.
- **Webhook alerts**: the regression summary is POSTed to any URL (Slack incoming webhook, PagerDuty, your API).
- **Schedules** for daily or weekly monitoring.
- **Zapier, Make and n8n** integrations.
- **AI agents (MCP)**: available through the [Apify MCP server](https://docs.apify.com/mcp), so an agent can ask "did today's deploy break SEO?".

### FAQ

#### How is this different from Screaming Frog or Sitebulb?

Those are desktop crawlers for deep one-off audits. ReleaseGuard runs in the cloud, is triggered from CI or a schedule, and diffs against a baseline so you see only what changed.

#### When is the baseline updated?

With the default `onPass` mode, the baseline is updated only after a run that stays under your thresholds, so a bad release never becomes the new normal. Use `never` to keep a fixed baseline, or `forceBaseline` to reset.

#### Does it render JavaScript?

No. It audits the server-rendered HTML that search engines receive first. For fully client-rendered SPAs, results will be limited.

#### Can I audit staging sites?

Yes, if the staging URL is reachable from the internet. Use a separate baseline name per environment.

### Other tools by this developer

- [Merchant FeedGuard](https://apify.com/aladzhov/merchant-feedguard): Google Merchant Center and Meta product feed validator.
- [Greenhouse Change Ledger](https://apify.com/aladzhov/greenhouse-change-ledger): monitor Greenhouse job boards for changes.

# Actor input Schema

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

Homepage(s) or XML sitemap URL(s) to start from, e.g. https://www.example.com/ or https://www.example.com/sitemap.xml. Same-domain links are followed. Only audit sites you own or are allowed to crawl.

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

Hard cap on pages audited per run. Each audited page is charged $0.0015, so this also caps cost.

## `includePatterns` (type: `array`):

Only crawl URLs matching these patterns (JavaScript regex). Leave empty to crawl all same-origin URLs. Example: \['/blog/', '/products/']

## `excludePatterns` (type: `array`):

Skip URLs matching these patterns (JavaScript regex). Example: \['/admin/', '/api/', '?', '#']

## `baselineName` (type: `string`):

Name of the baseline to compare against (e.g. 'production', 'staging'). The first run with a new name creates the baseline; later runs report regressions against it.

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

Honor robots.txt crawl rules. Recommended for third-party sites. Turn off only for sites you own.

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

Maximum number of concurrent requests. Lower values are more polite to the server.

## `thresholds` (type: `object`):

Regression counts per severity that mark the run as failed (thresholdsExceeded=true in SUMMARY.json) and trigger the webhook. Example: {"critical":1,"high":3,"medium":10}.

## `webhookUrl` (type: `string`):

HTTP endpoint to POST regression summary when thresholds are exceeded. Receives JSON payload with regression details.

## `baselineUpdateMode` (type: `string`):

Controls when the baseline is updated: 'never' (only create if missing), 'onPass' (update after runs under threshold - recommended), 'always' (update every run)

## `forceBaseline` (type: `boolean`):

Clear and recreate all baselines for this baselineName (use after major SEO changes). Overrides baselineUpdateMode.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://books.toscrape.com/"
    }
  ],
  "maxPages": 10,
  "includePatterns": [],
  "excludePatterns": [],
  "baselineName": "production",
  "respectRobotsTxt": true,
  "maxConcurrency": 5,
  "thresholds": {
    "critical": 1,
    "high": 3,
    "medium": 10
  },
  "baselineUpdateMode": "onPass",
  "forceBaseline": false
}
```

# Actor output Schema

## `pages` (type: `string`):

One dataset item per audited page, including any regressions versus the baseline.

## `report` (type: `string`):

Human-readable SEO regression report.

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

Regression counts by severity and whether alert thresholds were exceeded.

# 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://books.toscrape.com/"
        }
    ],
    "maxPages": 10,
    "baselineName": "production"
};

// Run the Actor and wait for it to finish
const run = await client.actor("aladzhov/seo-releaseguard").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://books.toscrape.com/" }],
    "maxPages": 10,
    "baselineName": "production",
}

# Run the Actor and wait for it to finish
run = client.actor("aladzhov/seo-releaseguard").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://books.toscrape.com/"
    }
  ],
  "maxPages": 10,
  "baselineName": "production"
}' |
apify call aladzhov/seo-releaseguard --silent --output-dataset

```

## MCP server setup

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

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/H4vd0QTOwvPhTAFoI/builds/oNH4BzD3EkopKcJnh/openapi.json
