# Extract Apify Sitemap URLs

**Use case:** 

Recursively extract all page URLs from apify.com's XML sitemap index with metadata.

## Input

```json
{
  "url": "https://apify.com/sitemap.xml",
  "followIndexes": true,
  "maxDepth": 3,
  "maxUrls": 500,
  "extractMetadata": true,
  "checkRobotsTxt": true,
  "timeoutSecs": 60,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "sourceSitemap": {
    "label": "Source sitemap",
    "format": "string"
  },
  "depth": {
    "label": "Depth",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "errorType": {
    "label": "Error type",
    "format": "string"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

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