Sitemap Change Feed for RAG & SEO Refresh avatar

Sitemap Change Feed for RAG & SEO Refresh

Pricing

$0.20 / 1,000 sitemap url observations

Go to Apify Store
Sitemap Change Feed for RAG & SEO Refresh

Sitemap Change Feed for RAG & SEO Refresh

Track new, removed and lastmod-changed URLs across sitemap indexes. Export scope-checked snapshots for recurring RAG refresh and SEO monitoring, with partial-scan safeguards.

Pricing

$0.20 / 1,000 sitemap url observations

Rating

0.0

(0)

Developer

Nathaniel Standridge

Nathaniel Standridge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

Turn public XML sitemaps into a repeatable URL change feed. Use it to prepare a RAG document refresh queue, spot newly listed URLs, or monitor sitemap metadata for SEO operations. The Actor follows sitemap indexes, deduplicates URLs and exports a snapshot you can compare in the next run.

$0.20 per 1,000 delivered URL observations ($0.0002 each). No startup fee. Each baseline, added, unchanged, lastmod-changed or removed URL delivered to the default dataset is one charged observation. Empty sitemaps, rejected input, failed fetches, duplicate URLs and diagnostic records produce no observation charge. Every observed URL is returned, including unchanged URLs. A result spending limit can stop delivery; check OUTPUT.complete before advancing your baseline.

Start with a baseline

{
"sitemapUrls": ["https://www.sitemaps.org/sitemap.xml"],
"maxResults": 1000,
"maxSitemaps": 25,
"maxRunSeconds": 120
}

Download SNAPSHOT from the run's key-value store. When its complete field is true, paste that JSON into previousSnapshot for a later run with the same sitemapUrls. Snapshots are supplied explicitly; this Actor does not create a schedule or implicitly read another run's storage. Automations can retrieve SNAPSHOT through the Apify API and inject it into the next input.

Interpret the feed

changeStatusMeaning
baselineFirst observation without a prior snapshot. This is not a claim that the URL is new.
addedListed now but absent from the supplied complete snapshot.
unchangedListed in both snapshots with the same raw lastmod value, including two missing values.
lastmod_changedThe raw sitemap lastmod value differs, including appearance or disappearance of that value.
removedPresent in the prior snapshot and absent after a complete scan of the current sitemap forest. This is not proof that the page was deleted.

lastmod is publisher-supplied metadata, not proof of page-content change. The Actor does not fetch, render, summarize or hash the listed pages. A stale or inaccurate sitemap can omit real site changes. Timestamp formatting changes count as metadata changes; strings are retained rather than converted to dates.

Example observation:

{
"schemaVersion": 1,
"observationId": "<stable hash of scope and URL>",
"url": "https://example.com/docs/start",
"changeStatus": "lastmod_changed",
"lastmod": "2026-11-04",
"previousLastmod": "2026-11-01",
"sourceSitemap": "https://example.com/sitemap.xml",
"occurrences": 1,
"scanComplete": true,
"scopeId": "<root-set hash>",
"observedAt": "2026-11-05T00:00:00Z"
}

sourceSitemap is the first sitemap containing the URL. occurrences counts matching duplicate entries. Conflicting duplicate lastmod values are diagnosed and excluded from the charged dataset. All observations are globally deduplicated across the supplied roots.

Coverage and comparison safeguards

  • OUTPUT reports scan completeness, delivery completeness, counts, source errors and any limit reached. SNAPSHOT contains the normalized root set, a scope hash and current url/lastmod entries.
  • Any incomplete scan suppresses every removal. Failed child sitemaps, invalid entries, cycles, unsupported URLs, depth limits and resource caps cannot manufacture removals. Usable current observations can still be delivered with scanComplete: false.
  • An incomplete or differently scoped prior snapshot is rejected before collection or billing. Use the last complete snapshot until a new complete run succeeds. If delivery stops at the price cap, its exported snapshot is also incomplete.
  • Collection is frozen before delivery. Resume uses the same frozen observations and reconciles existing dataset rows. An uncertain write stops instead of blindly retrying a potentially billed append.
  • A valid empty sitemap completes without a charged dataset row. If no sitemap is readable, the run fails with safe error codes in OUTPUT.

Supported inputs and limits

Supply 1–10 HTTPS roots using public DNS hosts on port 443. XML urlset and sitemapindex are supported, with or without the standard sitemap namespace, to five nested index levels. Source XML must use UTF-8. Gzip sitemap files and gzip/deflate HTTP responses are decompressed within a 4 MB compressed/expanded bound; multiple gzip members and malformed archives are rejected. RSS, Atom, text sitemaps and authenticated sources are outside this version's contract.

The listed page URLs can use HTTP or HTTPS, but they are never fetched. Sitemap fetches validate public DNS addresses and pin the connection to a validated address. Redirect destinations are independently checked. Robots rules are respected. Cookies, credentials and custom request headers are not accepted or forwarded.

Default bounds are 1,000 observations, 25 sitemap documents and 120 work seconds. Maximums are 5,000 observations, 100 sitemap documents and 180 seconds. Up to 25 seconds of the work budget is reserved for delivery. Storage calls and platform shutdown can add a short overhead. The frozen plan is bounded to 8 MiB. Result caps include potential removals; if the full comparison would exceed the cap, removals are suppressed and the snapshot is incomplete. For large sites, submit a smaller stable subset of sitemap roots in separate runs and maintain a snapshot per subset.

Outputs and operational use

The dataset supports JSON, CSV and Excel export through Apify. Filter added and lastmod_changed to prepare a refresh queue; handle removed according to your retention policy after checking full coverage. Preserve unchanged observations when auditing why a refresh was skipped. Dataset rows, source error details and snapshots may contain URLs supplied by you or published by the source; use your normal Apify storage retention controls.

The observation price covers this Actor's output. Any downstream crawler, embedding service or scheduler has its own costs. No proxy or paid third-party API is used by this Actor.

Development

uv sync --frozen
uv run python -B -m unittest discover -s tests -v

Python dependencies and the container base image are pinned. Tests cover parser changes, partial scans, stale scope, hostile URLs, decompression bounds, absolute network deadlines, uncertain billing outcomes and resume behavior. Live source checks are operational tests, not evidence of customer demand.