# Weekly SEO Audit: What Got Better or Worse Since Last Run

**Use case:** 

A scheduled audit of the first 5 pages of crawler-test.com: each page is compared with the previous audit of the same site and marked improved, worse, changed, unchanged or new, with the score change and the issues that appeared or were fixed. The first run is the baseline. Schedule it weekly and replace the URL with your site.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://crawler-test.com/"
    }
  ],
  "maxPages": 5,
  "maxDepth": 1,
  "sameDomainOnly": true,
  "includeSubdomains": false,
  "respectRobotsTxt": true,
  "checkInternalLinks": true,
  "checkExternalLinks": false,
  "maxLinkChecks": 1000,
  "useSitemap": true,
  "checkSitemapUrls": false,
  "compareWithPreviousRun": true,
  "historyStoreName": "example-weekly-audit",
  "maxConcurrency": 5,
  "maxRequestsPerMinute": 600
}
```

## Output

```json
{
  "recordType": {
    "label": "Row type"
  },
  "site": {
    "label": "Site"
  },
  "url": {
    "label": "Page URL",
    "format": "link"
  },
  "changeStatus": {
    "label": "Change since last audit"
  },
  "previousScore": {
    "label": "Previous score",
    "format": "number"
  },
  "score": {
    "label": "Page score (0-100)",
    "format": "number"
  },
  "scoreChange": {
    "label": "Score change",
    "format": "number"
  },
  "newIssues": {
    "label": "New issues"
  },
  "fixedIssues": {
    "label": "Fixed issues"
  },
  "previousAverageScore": {
    "label": "Previous average score",
    "format": "number"
  },
  "averageScore": {
    "label": "Site average score",
    "format": "number"
  },
  "averageScoreChange": {
    "label": "Average score change",
    "format": "number"
  },
  "newIssuesCount": {
    "label": "New issues (site)",
    "format": "number"
  },
  "fixedIssuesCount": {
    "label": "Fixed issues (site)",
    "format": "number"
  },
  "pagesImproved": {
    "label": "Pages improved",
    "format": "number"
  },
  "pagesWorse": {
    "label": "Pages worse",
    "format": "number"
  },
  "previousAuditAt": {
    "label": "Previous audit",
    "format": "date"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEO Audit & Broken Link Checker: Website Crawler Actor is ready to run with the inputs already set for "Weekly SEO Audit: What Got Better or Worse Since Last Run". [Sign up or log in](https://console.apify.com/create-task-from-example/wvzHmzMF8mI41muJZ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Weekly SEO Audit: What Got Better or Worse Since Last Run" task

The SEO Audit & Broken Link Checker: Website Crawler Actor will start running based on the input automatically. You can also change all the input fields, like start urls, max pages, and more, to match your specific use case.

### 3. Receive the "Weekly SEO Audit: What Got Better or Worse Since Last Run" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row type, site, page url, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Weekly SEO Audit: What Got Better or Worse Since Last Run" task via API](https://apify.com/ocius-data/seo-site-audit.md).

## FAQ

### Where is the previous audit kept?

The last audit of each site is kept in a named key-value store in your account, set by historyStoreName. The comparison has no extra cost.

## About this Actor

This example demonstrates how to use [SEO Audit & Broken Link Checker: Website Crawler](https://apify.com/ocius-data/seo-site-audit.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ocius-data/seo-site-audit.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/ocius-data/seo-site-audit.md

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`).
