# Structured Data & SEO Regression Monitor (`kayorama/structured-data-regression-monitor`) Actor

Detect JSON-LD, canonical, robots, hreflang, microdata, and product-offer regressions across scheduled website checks.

- **URL**: https://apify.com/kayorama/structured-data-regression-monitor.md
- **Developed by:** [Kayorama](https://apify.com/kayorama) (community)
- **Categories:** SEO tools, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 public page check attempteds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Structured Data & SEO Regression Monitor

Detect silent SEO regressions after releases: removed JSON-LD types, newly malformed JSON-LD, canonical changes, accidental `noindex`, hreflang changes, microdata changes, and Product offer changes.

### Buyer value

SEO agencies, ecommerce teams, and release engineers can schedule a stable URL set and receive deterministic, machine-readable change records. The Actor stores a baseline only after a complete successful run. It never asks for credentials and rejects local/private network targets.

### Quick start

```json
{
  "urls": [{"url": "https://example.com/product"}],
  "useStoredState": true,
  "maxPages": 20
}
```

Run once to establish a baseline, then schedule the same input daily or after deployments. Filter rows where `riskLevel` is `high` or `medium`.

### Output and limits

Each successful URL emits a `page_snapshot` with extracted signals, typed `changes`, and `riskLevel`; failures emit `page_fetch_error`; the run ends with `summary`. Runs accept at most 50 public HTTP(S) pages. Responses are limited to 2 MB and 20 seconds, and redirects are revalidated to reduce server-side request forgery risk. This is deterministic change detection—not a Google rich-results guarantee, vulnerability scan, or legal/SEO advice.

### Billing design

The Actor costs **$0.001 per attempted page check** plus Apify's **$0.00005 Actor-start event**. The `page-checked` event is charged immediately before each page request, so a request that later fails can be billable and emits a visible error row. Processing stops cleanly when the buyer's spending cap rejects the next event. Dataset items are not billed again.

Examples: one page costs $0.00105 in Actor events, 10 pages cost $0.01005, and the maximum 50-page run costs $0.05005, plus the customer's normal Apify platform usage.

### Privacy

Inputs are public URLs and optional prior snapshots. Do not submit personal data, secrets, authenticated URLs, or confidential page content. See [PRIVACY.md](PRIVACY.md).

# Actor input Schema

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

HTTP(S) pages to snapshot and compare.

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

Safety cap for public pages checked in one run, from 1 to 50.

## `previousSnapshots` (type: `array`):

Optional prior page\_snapshot records; explicit input takes precedence over stored state.

## `useStoredState` (type: `boolean`):

Load the prior successful snapshot set from the named key-value store.

## `stateStoreName` (type: `string`):

Named key-value store used for recurring baselines.

## `stateRecordKey` (type: `string`):

Optional stable record key for isolating one monitor configuration.

## Actor input object example

```json
{
  "urls": [
    {
      "url": "https://example.com/"
    }
  ],
  "maxPages": 20,
  "useStoredState": true,
  "stateStoreName": "structured-data-regression-monitor-state"
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("kayorama/structured-data-regression-monitor").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("kayorama/structured-data-regression-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call kayorama/structured-data-regression-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=kayorama/structured-data-regression-monitor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Q1Wt4JyrvRWEzebhw/builds/RfNOZl9bFvzwAotEQ/openapi.json
