Sitemap Extractor & Sitemap URL Checker avatar

Sitemap Extractor & Sitemap URL Checker

Pricing

Pay per event

Go to Apify Store
Sitemap Extractor & Sitemap URL Checker

Sitemap Extractor & Sitemap URL Checker

Finds and parses all sitemaps of a website (robots.txt, sitemap indexes, gzip, text, RSS/Atom) and returns every URL with lastmod, hreflang and images. Optional check: status codes, redirects, noindex, canonical, robots.txt blocks.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Cellwright

Cellwright

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Get every URL from a website's sitemaps – in seconds, without crawling. Give it a homepage, a robots.txt or a sitemap URL: the Actor finds the sitemaps (robots.txt Sitemap: lines, /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml …), follows sitemap indexes, reads .xml.gz, plain-text and RSS/Atom sitemaps and returns one clean record per unique URL with lastmod, changefreq, priority, hreflang alternates, image and video counts and Google News data.

Optionally, it checks every URL in the same run – status codes, redirects, noindex (meta and X-Robots-Tag), canonical mismatches and URLs your own robots.txt blocks. That is the classic sitemap hygiene audit: a sitemap should only list indexable 200 pages.

Plain HTTP, no browser: fast and cheap. Ideal for SEO audits, site migrations, crawl planning, content inventories, change monitoring (modifiedAfter) and as URL input for other Actors or AI agents.

Why this Actor

  • Finds sitemaps for you – robots.txt first, then the common paths; soft-404 HTML pages are not mistaken for sitemaps.
  • All formats: XML urlset, sitemap index (nested too), gzip (by content, not only by file name), text, RSS 2.0 and Atom feeds.
  • Clean data: URLs are de-duplicated across all sitemaps, dates are normalized to ISO 8601 UTC (lastmodIso), protocol problems are flagged per URL (other-host, invalid-lastmod, lastmod-in-future, …).
  • Sitemap report in the key-value store (OUTPUT): every sitemap file with type, URL count, size, compression, parent index, errors and issues (over-50000-urls, over-50mb, invalid-xml, redirected, http-error, empty), plus issue and status code totals.
  • Only what you need: modifiedAfter ("7 days", "2026-01-31"), include/exclude regex, URL and sitemap limits.
  • Safe and polite: respects robots.txt by default, honest user agent, moderate parallelism, private/internal addresses blocked, hardened XML parser (no XML bombs / XXE), size limits.

Input

FieldDefaultDescription
startUrls–Homepages, robots.txt URLs or sitemap URLs (up to 1,000)
checkModenonenone = extract only · status = HEAD per URL (status, redirects, X-Robots-Tag) · indexability = GET per page (status, redirects, noindex, canonical, title)
maxUrls10000Unique URLs per run (1–2,000,000)
maxSitemaps1000Sitemap files per run (indexes included)
modifiedAfter–Keep URLs with newer lastmod (date or period like 30 days); URLs without lastmod are kept
includeUrlPatterns / excludeUrlPatterns–Regular expressions
includeAlternatestrueReturn hreflang alternates
includeImagesfalseReturn image URLs (max 20 per URL); imageCount is always returned
respectRobotsTxttrueDon't fetch disallowed sitemaps/URLs; flag them instead
maxConcurrency5Parallel requests (1–20)
requestTimeoutSecs30Per request

Example – all blog posts changed in the last 30 days, with status check:

{
"startUrls": [{ "url": "https://www.example.com" }],
"includeUrlPatterns": ["/blog/"],
"modifiedAfter": "30 days",
"checkMode": "status"
}

Output (one record per unique URL)

FieldDescription
urlURL as listed in the sitemap
lastmod, lastmodIsoRaw lastmod and normalized ISO 8601 UTC (or null)
changefreq, priorityAs listed (or null)
imageCount, videoCountNumber of image:image / video:video entries
imagesImage URLs (only with includeImages)
alternates[{hreflang, url}] (with includeAlternates)
news{title, publicationDate} for Google News sitemaps
titleItem title (RSS/Atom) or page title (indexability)
sitemapUrl, startUrlSitemap file that listed the URL, and your input
issuesList of issue codes (see below)

With checkMode = status or indexability, additionally:

FieldDescription
checkedtrue if the URL answered
statusCode, finalUrl, redirectCountHTTP status, redirect target (or null), number of hops
contentType, responseTimeMsResponse metrics
xRobotsTag, noindexX-Robots-Tag header; true if noindex via header or meta
indexabletrue = 200, no redirect, no noindex, canonical matches
canonical, metaRobotsOnly indexability
checkErrorNetwork error message if the URL did not answer

If a start URL yields no URLs at all, you get one free record with url: null and an error explaining why.

Issue codes

  • Protocol: invalid-url, other-host (URL on a different host than the sitemap), scheme-mismatch (http vs https), invalid-lastmod, lastmod-in-future, invalid-priority, invalid-changefreq
  • Check: broken (4xx/5xx), redirects, noindex, canonical-mismatch, not-html, blocked-by-robots-txt, unreachable, blocked-address, slow-response (> 2 s)

Pricing (pay per event)

EventPrice
URL extracted$0.0002
URL status checked (status)$0.0003
URL indexability checked (indexability)$0.001

1,000 URLs: $0.20 extract only · $0.50 with status check · $1.20 with indexability check. Duplicates, filtered URLs, network errors and robots.txt-blocked URLs are free. Set a maximum charge per run in the run options to cap your cost.

Limits

  • Sitemap files larger than 60 MB (uncompressed) are refused (the protocol limit is 50 MB).
  • Sitemap indexes are followed up to 5 levels deep; each sitemap file is downloaded once per run.
  • Only public http(s) URLs; login-protected sitemaps are not supported.
  • The Actor does not crawl pages for links – for that use a site crawler or a broken link checker.

FAQ

My site has no sitemap in robots.txt. The Actor then tries /sitemap.xml, /sitemap_index.xml, /sitemap-index.xml, /wp-sitemap.xml, /sitemap.xml.gz and /sitemap.txt. You can always pass the sitemap URL directly.

Can I use it for monitoring? Yes – schedule it with modifiedAfter: "1 day" to get only new or changed URLs, or with checkMode: "status" to catch broken URLs in your sitemap early.