# Sitemap broken URL checker

**Use case:** 

Check every URL in an XML sitemap for broken pages, redirects, HTTP status codes, and response timing.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://apify.com/sitemap.xml"
    }
  ],
  "domains": [],
  "maxUrls": 100,
  "maxSitemaps": 20,
  "maxDepth": 3,
  "concurrency": 10,
  "requestTimeoutSecs": 20,
  "maxRetries": 1,
  "headFirst": true,
  "followRedirects": true,
  "includePageMetadata": false,
  "userAgent": "Automation-Lab-Sitemap-URL-Status-Auditor/1.0 (+https://apify.com/automation-lab/sitemap-url-status-auditor)"
}
```

## Output

```json
{
  "url": {
    "label": "URL"
  },
  "statusCode": {
    "label": "Status"
  },
  "ok": {
    "label": "OK"
  },
  "finalUrl": {
    "label": "Final URL"
  },
  "redirectCount": {
    "label": "Redirects"
  },
  "contentType": {
    "label": "Content type"
  },
  "responseTimeMs": {
    "label": "Time (ms)"
  },
  "errorCategory": {
    "label": "Error"
  },
  "sourceSitemap": {
    "label": "Source sitemap"
  },
  "canonicalUrl": {
    "label": "Canonical"
  },
  "robotsMeta": {
    "label": "Robots meta"
  },
  "checkedAt": {
    "label": "Checked at"
  }
}
```

## About this Actor

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