XML Sitemap Scraper & URL Change Monitor avatar

XML Sitemap Scraper & URL Change Monitor

Pricing

from $2.00 / 1,000 sitemap url records

Go to Apify Store
XML Sitemap Scraper & URL Change Monitor

XML Sitemap Scraper & URL Change Monitor

Export sitemap URLs and lastmod dates to CSV or JSON. Compare snapshots for changes. Reads only authorized public HTTPS sitemap files, never your pages.

Pricing

from $2.00 / 1,000 sitemap url records

Rating

0.0

(0)

Developer

Felix GoldWin

Felix GoldWin

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

12 hours ago

Last modified

Features

Limited permissions

Share

Export URLs, sitemap lastmod dates, and optional crawl hints from the XML sitemaps you manage. Compare two sitemap snapshots to find new URLs, changed sitemap metadata, and URLs no longer listed, without requesting any of the pages themselves.

Useful for SEO audits, sitemap migration checks, content inventories, and spotting when a CMS stops listing an important set of pages. The Actor uses the public sitemap XML you supply, not a search engine, website crawl, or browser.

Quick start

  1. Use one or more known, direct, public HTTPS sitemap URLs from sites you own or have permission to check.
  2. Confirm authorization. Start with a small cap, then run and inspect Coverage summary.
  3. Export results as CSV, JSON, JSONL, or Excel through Apify's Dataset export controls. Save the SNAPSHOT record if you want to compare later.
  4. Run again with the same seed URLs and paste the previous SNAPSHOT object unchanged into Previous SNAPSHOT JSON. Optionally hide unchanged results.

Replace the illustrative hostname below with your authorized one:

{
"sitemapUrls": ["https://www.my-site.com/sitemap.xml"],
"confirmAuthorized": true,
"maxSitemaps": 10,
"maxUrls": 3000,
"maxDepth": 3
}

Input

FieldMeaning
sitemapUrlsOne to five exact sitemap or sitemap-index URLs. HTTPS only; no IP literals, credentials, fragments, redirects, or non-default ports.
confirmAuthorizedRequired confirmation that you own or have permission to read all supplied sources.
maxSitemapsMax sitemap documents attempted, including indexes and failures (1–50, default 10).
maxUrlsMax distinct current page URLs to retain (1–10,000, default 3,000). Comparison can also emit prior observations no longer listed.
maxDepthHow far to follow sitemap indexes (1–5, default 3; seeds are depth 0). Only links on each seed's exact hostname are eligible.
previousSnapshotOptional unchanged JSON object from the last run for the same seed URLs. It is not a URL or storage ID.
changesOnlyRequire a prior snapshot and suppress unchanged dataset rows; the new snapshot still contains all observed URLs.

Output

FieldMeaning
urlNormalized URL as listed in the sitemap. The Actor does not visit it.
lastmodValid date or timezone-qualified timestamp declared in the sitemap, or null. Not an HTTP response, revision history, or proof of a recent edit.
changefreq, priorityOptional validated sitemap hints, otherwise null.
sitemapUrlSource sitemap; null on historical absent rows. First discovered row wins for duplicates.
changeTypeobserved, new, newly_observed, updated, unchanged, or absent_from_sitemap.
  • Observed: no previous snapshot. New: not in a prior complete snapshot. Newly observed: not in a prior partial snapshot.
  • Updated: the tuple of sitemap lastmod, priority, and changefreq differs. This does not detect page-content changes.
  • Absent from sitemap: reserved for matching, complete snapshots only. This is not a 404, removal from Google, or proof that a page stopped existing.
  • SUMMARY reports completeness, attempted/parsed sitemap counts, retention limits and failures. SNAPSHOT contains the current URL/metadata set for your next run. There is no automatic shared baseline, alert service, or cross-run storage lookup.

Example row (illustrative):

{
"url": "https://www.my-site.com/guides/installation",
"lastmod": "2026-11-20",
"changefreq": null,
"priority": null,
"sitemapUrl": "https://www.my-site.com/sitemap.xml",
"changeType": "observed"
}

Limits and source handling

  • Supports UTF-8 XML sitemap indexes and URL sets, optionally gzip-compressed. No robots.txt discovery, HTML parsing, page requests, authentication, proxy, redirect, or browser.
  • The Actor only follows sitemap-index entries on the exact same hostname (not alternate www or CDN hostnames). Add another authorized seed explicitly if needed; a skipped off-host location makes that run partial.
  • All DNS answers must be public, and the TLS connection is pinned to one vetted IP. TLS still verifies the original hostname. Non-public addresses, credential-like query parameters, XML DOCTYPE/entity declarations, and over-limit responses are rejected.
  • Each request is bounded to 2 MiB transferred, 8 MiB decompressed, and a 12-second transfer. DNS has a separate 4-second deadline. Per-file rows and stored snapshots are also bounded. A cap, rejected source or skipped location can make a run partial; absent comparison is then disabled.
  • Sitemaps can omit content and contain stale dates. Treat output as the publisher's current sitemap declarations, not an indexing audit. Do not supply private or token-bearing sitemaps.
  • The Actor is independent and not affiliated with a search engine or CMS. See the Sitemaps protocol for field definitions.

Local development

Use a supported Node.js release and the Apify CLI:

npm ci
npm test
apify validate-schema
apify run --user-agent apify-codex-plugin/apify-actor-development --input-file ./my-input.json

Fixture tests do not contact external sites. Local CLI runs use local storage and do not publish or deploy the Actor. Support: provide the run ID, coverage summary and a public reproduction if you can; do not send credentials or private source content.