# Compare URL inventories from multiple sitemaps

**Use case:** 

Extract URLs from more than one public sitemap in a single run to compare site sections, URL counts, and lastmod metadata.

## Input

```json
{
  "startUrls": [
    {
      "url": "https://apify.com/sitemap.xml"
    },
    {
      "url": "https://docs.apify.com/sitemap.xml"
    }
  ],
  "maxUrls": 200,
  "maxSitemaps": 50,
  "includePatterns": [],
  "excludePatterns": [],
  "sameDomainOnly": true,
  "dedupe": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "link"
  },
  "loc": {
    "label": "Sitemap loc",
    "format": "link"
  },
  "sourceSitemapUrl": {
    "label": "Source sitemap",
    "format": "link"
  },
  "sitemapDepth": {
    "label": "Depth",
    "format": "number"
  },
  "lastmod": {
    "label": "Last modified",
    "format": "text"
  },
  "changefreq": {
    "label": "Change frequency",
    "format": "text"
  },
  "priority": {
    "label": "Priority",
    "format": "number"
  },
  "contentType": {
    "label": "Content type",
    "format": "text"
  },
  "statusCode": {
    "label": "HTTP status",
    "format": "number"
  },
  "discoveredAt": {
    "label": "Discovered at",
    "format": "text"
  }
}
```

## About this Actor

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