Sitemap Extractor & Change Monitor avatar

Sitemap Extractor & Change Monitor

Pricing

from $0.50 / 1,000 url extracteds

Go to Apify Store
Sitemap Extractor & Change Monitor

Sitemap Extractor & Change Monitor

Extract every URL from website sitemaps: robots.txt discovery, nested indexes, .xml.gz, text, image/news/video, hreflang. Regex & lastmod filters. Change monitor mode outputs only added/removed/updated URLs. Respects robots.txt.

Pricing

from $0.50 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Alexandr Cheremikin

Alexandr Cheremikin

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Get every URL a website publishes in its XML sitemaps — with lastmod, images, news metadata, video and hreflang alternates — and, in change monitor mode, only what was added, removed or updated since your last run.

Give it a site root (https://example.com) and it finds the sitemaps itself through robots.txt (Sitemap: lines), falling back to /sitemap.xml and /sitemap_index.xml. Or give it sitemap URLs directly.

Features

FeatureThis actorTypical sitemap extractors
Auto-discovery via robots.txt + standard locations✅partial
Nested sitemap indexes (depth limit)✅✅
Gzipped sitemaps (.xml.gz)✅often ❌
Plain-text sitemaps (.txt)✅❌
Image, news, video extensions✅rarely
hreflang alternates✅rarely
Regex include / exclude filters✅sometimes
lastmod date range filter✅❌
Change monitor (added / removed / updated)✅❌
Per-sitemap counts and errors in a run summary✅❌
Respects robots.txt + Crawl-delay✅varies
Price$0.50 per 1,000 URLs—

Output

One dataset item per URL:

FieldExample
siteRoothttps://apify.com
sitemapUrlhttps://apify.com/sitemap-store.xml
lochttps://apify.com/apify/web-scraper
lastmod2026-11-16T08:12:00Z
changefreqdaily
priority0.8
images[{"loc": "https://…/cover.jpg"}]
news{"title": "…", "publicationDate": "2026-11-17T09:10:21Z", "publicationName": "…", "publicationLanguage": "en"}
videos[{"title": "…", "thumbnailLoc": "…", "contentLoc": "…"}]
alternates[{"hreflang": "de", "href": "https://example.com/de/"}]
changeTypeadded / updated / removed (monitor mode only)
previousLastmodprevious lastmod (monitor mode only)

The OUTPUT record in the key-value store holds the run summary: per site, each sitemap fetched (type, depth, URL count, output count), errors, totals and — in monitor mode — counts of added / updated / removed.

Input

  • startUrls — site roots or sitemap URLs (.xml, .xml.gz, .txt).
  • maxUrls (default 5000) — total URLs output; in monitor mode, total changes output.
  • maxSitemapDepth (default 3), maxSitemaps per site (default 200).
  • urlIncludes / urlExcludes — Python regular expressions on the URL.
  • lastmodAfter / lastmodBefore — YYYY-MM-DD or ISO date-time.
  • changeMonitor + monitorStoreName — snapshot per site in a named key-value store.
  • requestDelaySecs (default 1, min 0.5) — polite delay per host; a larger robots.txt Crawl-delay always wins.

Change monitor mode

Turn on changeMonitor and schedule the actor (e.g. daily). The first run outputs every URL as added and saves a snapshot. Every later run outputs only:

  • added — new URLs in the sitemap,
  • updated — lastmod changed,
  • removed — URL disappeared from the sitemap.

If a sitemap fails to load or a limit is hit, removals are not reported for that run (so you don't get false "removed" alerts), and the snapshot keeps the URLs it couldn't check.

Use cases

  • SEO audits — full URL inventory, stale lastmod, missing hreflang, image coverage.
  • Content monitoring — new competitor pages, product launches, deleted pages, news feeds.
  • Crawl seeding — feed exact URL lists into a crawler instead of spidering a whole site.
  • AI agents & RAG — give an agent a fresh list of a site's docs pages; re-index only what changed.

Privacy & fair use

The actor reads only public sitemap files of the sites you choose. It fetches robots.txt first, never requests a path disallowed for it, honours Crawl-delay, sends one request at a time per host and identifies itself with a clear User-Agent. It does not bypass any bot protection; a site that blocks it simply shows an error in the summary. Sitemaps contain URLs and dates, not personal data. You are responsible for how you use the URLs.

Built and maintained by Alexandr Cheremikin (Koh Samui, Thailand) with an AI assistant.