# Sitemap diff checker for SEO

**Use case:** 

Compare two XML sitemaps to find added, removed, unchanged, and metadata-changed URLs for SEO audits.

## Input

```json
{
  "sitemapUrlA": "https://www.sitemaps.org/sitemap.xml",
  "sitemapUrlB": "https://apify.com/sitemap.xml",
  "includeUnchanged": false,
  "compareMetadata": true,
  "maxUrlsPerSitemap": 20
}
```

## Output

```json
{
  "changeType": {
    "label": "Change",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "changedFields": {
    "label": "Changed Fields",
    "format": "text"
  },
  "lastmodA": {
    "label": "Lastmod (A)",
    "format": "text"
  },
  "lastmodB": {
    "label": "Lastmod (B)",
    "format": "text"
  },
  "priorityA": {
    "label": "Priority (A)",
    "format": "number"
  },
  "priorityB": {
    "label": "Priority (B)",
    "format": "number"
  },
  "changefreqA": {
    "label": "Changefreq (A)",
    "format": "text"
  },
  "changefreqB": {
    "label": "Changefreq (B)",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Sitemap Diff Tool](https://apify.com/automation-lab/sitemap-diff-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/sitemap-diff-tool) to learn more, explore other use cases, and run it yourself.