# Robots.txt Sitemap Validator

**Use case:** 

Find sitemaps listed in a public robots.txt file and check the URLs they contain.

## Input

```json
{
  "targets": [
    "https://apify.com/robots.txt"
  ],
  "maxCheckedUrls": 5,
  "maxIndexDepth": 2
}
```

## Output

```json
{
  "pageUrl": {
    "label": "Page URL",
    "format": "string"
  },
  "urlStatus": {
    "label": "URL status",
    "format": "string"
  },
  "httpStatus": {
    "label": "HTTP status",
    "format": "integer"
  },
  "finalUrl": {
    "label": "Final URL",
    "format": "string"
  },
  "redirectCount": {
    "label": "Redirect count",
    "format": "integer"
  },
  "responseTimeMs": {
    "label": "Response time (ms)",
    "format": "integer"
  },
  "host": {
    "label": "Host",
    "format": "string"
  },
  "sourceSitemapUrl": {
    "label": "Source sitemap URL",
    "format": "string"
  },
  "parentSitemapIndexUrl": {
    "label": "Parent sitemap index URL",
    "format": "string"
  },
  "indexDepth": {
    "label": "Index depth",
    "format": "integer"
  },
  "sitemapLastmod": {
    "label": "Sitemap lastmod",
    "format": "string"
  },
  "changefreq": {
    "label": "Change frequency",
    "format": "string"
  },
  "priority": {
    "label": "Priority",
    "format": "number"
  },
  "issue.category": {
    "label": "Issue category",
    "format": "string"
  },
  "issue.message": {
    "label": "Issue message",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [XML Sitemap Health Validator](https://apify.com/maximedupre/sitemap-validator) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maximedupre/sitemap-validator) to learn more, explore other use cases, and run it yourself.