# Website Change Monitor: New Pages, robots.txt & llms.txt (`dottti/sitemap-robots-change-monitor`) Actor

Watch competitor and client sites through their own machine files: new, removed and updated pages from XML sitemaps, robots.txt rule changes with what they mean for GPTBot, ClaudeBot, PerplexityBot and other AI crawlers, and llms.txt changes. Schedule it for alerts.

- **URL**: https://apify.com/dottti/sitemap-robots-change-monitor.md
- **Developed by:** [Dottti](https://apify.com/dottti) (community)
- **Categories:** SEO tools, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 one website checked (sitemap, robots.txt and llms.txt snapshot compared)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Website Change Monitor: New Pages, robots.txt & llms.txt

Watch competitor, client or your own websites through the files they publish for machines:

- **XML sitemaps**: pages added, pages removed and pages updated (the sitemap's lastmod date moved forward).
- **robots.txt**: rule lines added or removed, and what each change means for AI crawlers: GPTBot, ClaudeBot,
  Google-Extended, OAI-SearchBot, Claude-SearchBot, PerplexityBot, ChatGPT-User and 17 more (training, AI search,
  user fetchers and classic search indexes), with the deciding rule line.
- **llms.txt**: created, removed or changed, with the links added and removed.

The first run saves a snapshot of each site and returns one summary row per site. Every later run with the same
**Alert name** returns only what changed since the last run. Schedule it daily and connect Slack, email or a webhook.

### Who it is for

- **Marketing and SEO teams**: see the pages a competitor launches (new product, pricing, landing and blog pages) the
  day they appear in its sitemap.
- **Agencies**: one schedule for all client sites; get told when a developer blocks crawlers or deletes pages.
- **GEO / AI search work**: know when a site starts or stops blocking AI search crawlers, or publishes an llms.txt.
- **Investors and analysts**: new pages and removed pages as a signal of what a company is working on.

### What you put in

| Input | What it does |
| --- | --- |
| Websites | One per line, such as example.com |
| What to watch | sitemap, robots, llms (all three by default) |
| Alert name | Name of the memory; changes are reported against the last run with the same name |
| Report updated pages | Also report pages whose lastmod moved forward (on by default) |
| List every page on the first run | Also return every page address on the first run (off by default) |
| Max page addresses per site | Default 10,000; up to 50,000 |
| Max sitemap files per site | Default 25 (sitemap index files can point to hundreds) |
| Max change rows per site | Default 500 per run, so a site relaunch does not flood you |

Empty input runs a demo on two sites and finishes in a few seconds.

### What you get

A site row (first run of a large news site, 19 November 2026):

```json
{
  "recordType": "site",
  "site": "(a large news site)",
  "firstRun": true,
  "robotsTxt": "found",
  "robotsHttpStatus": 200,
  "sitemapFound": true,
  "sitemapFiles": 8,
  "urlCount": 10000,
  "urlListTruncated": true,
  "llmsTxtFound": false,
  "aiSearchCrawlersBlocked": ["OAI-SearchBot", "Claude-SearchBot", "PerplexityBot", "Meta-WebIndexer", "DuckAssistBot"],
  "trainingCrawlersBlocked": ["GPTBot", "ClaudeBot", "Google-Extended", "Applebot-Extended", "Meta-ExternalAgent", "CCBot", "Bytespider", "cohere-ai"],
  "urlsAdded": 0,
  "urlsRemoved": 0,
  "urlsUpdated": 0,
  "robotsChanged": false,
  "llmsChanged": false,
  "notes": "Only the first 10000 page addresses were read (raise maxUrlsPerSite); changes beyond them are not seen."
}
```

Change rows from a cloud test run on an open-source project's site in which the saved snapshot had been edited, to force every kind of
change (19 November 2026):

```json
{ "recordType": "url_added", "site": "(the test site)", "url": "(a page new in the sitemap)", "lastmod": "2026-11-19T16:01:28.630Z" }
{ "recordType": "url_updated", "site": "(the test site)", "url": "(a page whose lastmod moved forward)", "lastmod": "2026-11-19T16:01:28.630Z", "previousLastmod": "2020-01-01T00:00:00.000Z" }
{ "recordType": "url_removed", "site": "(the test site)", "url": "(a page no longer in the sitemap)", "lastmod": "2026-01-01T00:00:00.000Z" }
{
  "recordType": "robots_changed",
  "site": "(the test site)",
  "linesAdded": ["Disallow: /dist/", "Disallow: /docs/"],
  "linesRemoved": [],
  "aiCrawlerChanges": [],
  "sitemapsAdded": [],
  "sitemapsRemoved": []
}
{
  "recordType": "llms_changed",
  "site": "(the test site)",
  "titleBefore": "Node.js Documentation",
  "titleAfter": "Node.js Documentation",
  "linksAdded": ["(a link new in llms.txt)"],
  "linksRemoved": ["(a link no longer in llms.txt)"],
  "bytesBefore": 15010,
  "bytesAfter": 15010
}
```

When a change closes or opens the site to an AI crawler, `aiCrawlerChanges` lists it, for example
`{ "bot": "GPTBot", "vendor": "OpenAI", "group": "training", "before": "allowed", "after": "blocked", "rule": "line 12: Disallow: /" }`.

Row types: `site`, `url_added`, `url_removed`, `url_updated`, `url_listed` (first run, when asked),
`robots_created`, `robots_changed`, `robots_removed`, `llms_created`, `llms_changed`, `llms_removed`, and free
`status` rows (`bad_input`, `failed`, `change_rows_capped`).

### How to use it

1. Add the sites and pick an Alert name such as `competitors`.
2. Run once: you get one site row per site and the snapshot is saved.
3. Schedule the Actor (daily or weekly) with the same input, and add a Slack, email or webhook integration on the
   dataset. Each run returns only the changes.

### Pricing

Pay per result: one charge per site checked (the site row) and one per change row. A day with no changes costs only
the site rows.

Platform usage is included in the price.

Set a maximum cost per run in Apify Console; the Actor stops cleanly when it is reached and keeps the last snapshot
of any site whose changes were not delivered, so nothing is lost.

### How it reads sites

- An honest user agent (`dottti-site-change-monitor`), no proxy, no cookies, no browser, and no bot-check bypass.
- robots.txt is read first. Sitemaps and llms.txt are read only where robots.txt allows our user agent, at every
  redirect hop. A robots.txt that answers a server error means nothing else on the site is read (RFC 9309).
- Only the machine files are read: robots.txt, the sitemaps it lists (or /sitemap.xml) and llms.txt. Page content is
  never downloaded.

### Limits

- Changes are as good as the site's sitemap: pages missing from it are not seen, and many sites never update lastmod.
- When a site has more pages than **Max page addresses per site**, removed pages are not reported for it (the list is
  incomplete); added and updated pages within the part read are.
- A sitemap that fails to load on one run is reported in `notes`, and the last good snapshot is kept, so a temporary
  outage is not reported as every page removed.
- Big sitemaps take time: about 5 to 40 seconds per site.
- AI crawler verdicts follow robots.txt only; firewalls can still block crawlers that robots.txt allows.

### Privacy

The Actor reads files about websites and outputs page addresses and rule lines. Addresses with an "@" are dropped and
email addresses in robots.txt lines are replaced with "\[email removed]".

# Actor input Schema

## `sites` (type: `array`):

One website per line (example.com or https://www.example.com). Each site is watched through its robots.txt, its XML sitemaps (the Sitemap lines in robots.txt, or /sitemap.xml) and its llms.txt. Empty = a small demo with two sites.

## `watch` (type: `array`):

sitemap = pages added, removed or updated (lastmod); robots = robots.txt rule changes and AI crawler verdict changes; llms = llms.txt created, removed or changed. Empty = all three.

## `alertName` (type: `string`):

Name of the memory that holds the last snapshot of each site. Changes are reported against the last run with the same name. Use a different name for each schedule or client.

## `includeUpdated` (type: `boolean`):

Also report pages whose sitemap lastmod date moved forward (content updated). Off = only new and removed pages.

## `listUrlsOnFirstRun` (type: `boolean`):

The first run of a site saves its snapshot and returns one site row. Turn this on to also get one row per page address in the sitemap (charged as change rows).

## `maxUrlsPerSite` (type: `integer`):

Stop reading sitemaps after this many page addresses. When a site has more, removed pages are not reported for it (the list is incomplete).

## `maxSitemapFiles` (type: `integer`):

Sitemap index files can point to many sitemaps; this caps how many are read per site.

## `maxChangeRowsPerSite` (type: `integer`):

Cap on change rows per site per run (a site relaunch can change thousands of pages). The memory is updated either way.

## `maxConcurrency` (type: `integer`):

How many sites are checked in parallel.

## `requestDelayMs` (type: `integer`):

Pause between requests to the same host, to stay polite.

## Actor input object example

```json
{
  "sites": [
    "llmstxt.org",
    "www.anthropic.com"
  ],
  "watch": [
    "sitemap",
    "robots",
    "llms"
  ],
  "alertName": "default",
  "includeUpdated": true,
  "listUrlsOnFirstRun": false,
  "maxUrlsPerSite": 10000,
  "maxSitemapFiles": 25,
  "maxChangeRowsPerSite": 500,
  "maxConcurrency": 3,
  "requestDelayMs": 500
}
```

# Actor output Schema

## `changes` (type: `string`):

Site summaries and change rows.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "sites": [
        "llmstxt.org",
        "www.anthropic.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dottti/sitemap-robots-change-monitor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "sites": [
        "llmstxt.org",
        "www.anthropic.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("dottti/sitemap-robots-change-monitor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sites": [
    "llmstxt.org",
    "www.anthropic.com"
  ]
}' |
apify call dottti/sitemap-robots-change-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dottti/sitemap-robots-change-monitor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/wSDi9xTGHRxBscdnL/builds/8goD5rcBdyYnLmAZN/openapi.json
