Sitemap Extractor & New Page Monitor avatar

Sitemap Extractor & New Page Monitor

Pricing

from $0.10 / 1,000 urls

Go to Apify Store
Sitemap Extractor & New Page Monitor

Sitemap Extractor & New Page Monitor

Every URL a website lists in its sitemaps: robots.txt discovery, nested indexes, gzip, Google News titles, images, hreflang. Optional HTTP status check, a site summary row and a monitor that returns only new URLs since the last run.

Pricing

from $0.10 / 1,000 urls

Rating

0.0

(0)

Developer

Rafael Iovi

Rafael Iovi

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

Get every URL a website lists in its sitemaps, and find out which pages are new since your last run. Give it a domain, a page or a sitemap URL. The Actor finds the sitemaps through robots.txt and the usual paths, walks nested sitemap indexes and gzip files, and returns each URL with lastmod, changefreq, priority, Google News title and date, image and video data and hreflang language versions. An optional status check flags 404s and redirects. A summary row per site shows how big and how fresh the site is.

Schedule it daily with onlyNewUrls and it becomes a competitor page monitor: new products, blog posts, landing pages, job pages or news articles, the same day they appear in the sitemap.

Why this Actor

🧭 Finds the sitemaps for yourobots.txt Sitemap: lines first, then /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml, /sitemap.xml.gz, /sitemap.txt and more. Nested indexes, gzip, RSS/Atom and plain-text sitemaps all work. Broken XML is read leniently instead of failing the run.
🆕 New-page monitoronlyNewUrls remembers every URL per site. Later runs return only URLs that appeared since, and the summary row reports removedSinceLastRun with a sample. In our test, a daily-style rerun on BBC's news sitemap caught 2 new articles and 1 removed one within 90 seconds.
📰 Rich fields, not just URLslastmod, changefreq, priority, Google News newsTitle, newsPublishedAt and newsKeywords, image count, video titles, hreflang alternates, plus the sitemap file each URL came from.
🩺 Optional status checkcheckStatus sends a HEAD request (GET if HEAD is refused) to each URL: status code, final URL, redirect flag, content type and the Last-Modified header. Use it to find dead pages that are still in the sitemap.
📊 Site summaryOne row per site: total URLs, sitemap files, top sections (/blog, /products ...), share of URLs with lastmod, newest and oldest lastmod, URLs updated in the last 7 and 30 days, lastmod by year, news and image counts, hreflang languages and status counts.
🎯 FiltersincludePatterns / excludePatterns (text or /regex/) and lastmodWithinDays. Only matching URLs are delivered and charged. The summary still counts the whole site.
🤝 Polite and legalRespects robots.txt and Crawl-delay, uses an identifiable user agent and limits parallel requests per site. Sites that block automated access are reported as a free error row. Blocks are never bypassed.

Use cases

  • Competitor monitoring: new product pages, pricing pages, landing pages, integrations or job pages, every morning.
  • SEO audits: URL inventory, freshness (lastmod by year), sections, hreflang coverage, and 404s or redirects that are still listed in the sitemap.
  • Content and news tracking: headlines and publication times from Google News sitemaps (BBC, heise, most publishers).
  • Feeding crawlers and AI pipelines: a clean, deduplicated URL list for Website Content Crawler, screenshot tools or RAG indexing. With onlyNewUrls, only the delta.
  • Migrations: compare old and new URL sets before and after a relaunch.

Measured on real sites (18 Nov 2026)

SiteSitemap filesURLsNotes
apify.com241,013,499Scanning the first 500,000 took 10 s at 344 MB peak memory.
wordpress.org294202,8449 sitemaps listed in robots.txt.
heise.de19,984200 URLs updated in the last 3 days, all 12 sampled returned 200.
stripe.com107,360Up to 76 hreflang language versions per page.
bbc.com news sitemap42,184Every URL has a news headline and publication time.

A run over 8 inputs, including invalid ones and sites without a sitemap, took 47 s.

Input examples

All URLs of a site

{ "startUrls": ["stripe.com"] }

Daily monitor: only new blog posts and product pages of three competitors

{
"startUrls": ["competitor-a.com", "https://competitor-b.com/sitemap_index.xml", "competitor-c.de"],
"includePatterns": ["/blog/", "/products/"],
"onlyNewUrls": true
}

Save it as a task and add a daily schedule. The first run saves the current URLs, and every later run returns only URLs that are new.

News published in the last 2 days, with status check

{
"startUrls": ["https://www.bbc.com/sitemaps/https-index-com-news.xml", "heise.de"],
"lastmodWithinDays": 2,
"checkStatus": true,
"maxUrlsPerSite": 500
}

Output

URL row (real values, from the monitor test: this article was new on the second run)

{
"type": "url",
"site": "https://www.bbc.com",
"url": "https://www.bbc.com/news/articles/cqglryg6k44ko",
"path": "/news/articles/cqglryg6k44ko",
"section": "/news",
"lastmod": "2026-11-18T20:12:18Z",
"newsTitle": "Mobo founder Kanya King has stone laid in her honour",
"newsPublishedAt": "2026-11-18T20:12:18Z",
"newsPublication": "BBC News",
"newsLanguage": "en",
"images": 0,
"isNew": true,
"sitemap": "https://www.bbc.com/sitemaps/https-sitemap-com-news-1.xml"
}

With checkStatus, each row also gets status, finalUrl, redirected, contentType and lastModifiedHeader.

Site summary row (real values, shortened)

{
"type": "site",
"site": "https://heise.de",
"totalUrls": 9984,
"matchingUrls": 200,
"sitemapFilesParsed": 1,
"urlsWithLastmodPct": 99.3,
"urlsUpdatedLast7Days": 372,
"topSections": [{"section": "/news", "urls": 7402}, {"section": "/hintergrund", "urls": 761}, {"section": "/bestenlisten", "urls": 611}],
"newUrls": null,
"removedSinceLastRun": null,
"statusCounts": {"200": 12}
}

Sites without a sitemap, invalid inputs and blocked sites produce an uncharged error row (no_sitemap_found, access_denied, blocked_by_robots_txt, invalid_input). The dataset has three views: URLs, Site summary and Errors. RUN_SUMMARY in the key-value store has the request counts and the estimated charge.

Pricing (pay per event)

EventPriceWhen it's charged
URL$0.0001 ($0.10 per 1,000 URLs)Each URL row delivered. Filtered-out URLs and URLs skipped by onlyNewUrls are free.
Status check$0.0002Only with checkStatus, per URL checked.
Site summary$0.001One per site (turn off with includeSiteSummary: false).
Actor start$0.00005Apify's standard start event.

Examples: all 7,360 URLs of stripe.com cost about $0.74. A daily monitor of 10 competitor sites that finds 30 new pages a day costs about $0.013 per day. maxItems and maxChargeUsd stop a run before it costs more than you want.

FAQ

Does it crawl the website? No. It reads only the sitemaps, which the site publishes for crawlers. With checkStatus on, it sends one light request per delivered URL. Nothing else is downloaded.

The site has no sitemap. What now? You get a free no_sitemap_found error row. If you know the sitemap address, paste it directly. Many shops and CMSs use names like /sitemap_products_1.xml or /post-sitemap.xml.

How big can a site be? Up to maxUrlsToScanPerSite URLs per site (default 300,000) and maxSitemapsPerSite sitemap files (default 1,000). Sitemap files are parsed as a stream, so the default 1 GB of memory is enough. In our test, apify.com (500,000 URLs scanned), wordpress.org (202,844) and heise.de together peaked at 361 MB. For bigger sites, raise both limits and give the run more memory.

How does the monitor work? URL hashes are stored per site in the named key-value store sitemap-monitor-state in your account. The first run delivers the current URLs (within your filters), and later runs deliver only new ones. removedSinceLastRun counts URLs that disappeared.

Is it legal? Sitemaps are public files that sites publish so crawlers can find their pages. The Actor follows robots.txt and Crawl-delay, doesn't log in, doesn't use cookies and doesn't bypass any block. The output is page URLs and metadata, not personal data.

Something doesn't work? Open an issue on the Issues tab with the site. Most fixes ship the same day.