# Monitor Product URLs in Ecommerce Sitemaps

**Use case:** 

Monitor a filtered product URL list from a public ecommerce sitemap. Replace the sample sitemap and product-path pattern, then keep this Task and its filters stable. The first run creates a baseline; later runs report added URLs, lastmod changes and removals confirmed after two complete checks. No prices or stock are fetched.

## Input

```json
{
  "sites": [
    {
      "url": "https://www.allbirds.com/sitemap.xml",
      "externalId": "sample-product-pages"
    }
  ],
  "mode": "monitor",
  "outputMode": "changesOnly",
  "discoverFromRobots": true,
  "checkPageStatus": false,
  "includePatterns": [
    "*://*/products/womens-tree-runners*"
  ],
  "excludePatterns": []
}
```

## Output

```json
{
  "change_type": {
    "label": "Change type",
    "format": "string"
  },
  "external_id": {
    "label": "External id",
    "format": "string"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "previous_lastmod": {
    "label": "Previous lastmod",
    "format": "string"
  },
  "current_lastmod": {
    "label": "Current lastmod",
    "format": "string"
  },
  "sitemap_url": {
    "label": "Sitemap url",
    "format": "string"
  },
  "http_status": {
    "label": "Http status",
    "format": "integer"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

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


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/automa-flow/sitemap-extractor-monitor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
