Sitemap Extractor (all URLs from sitemap.xml) avatar

Sitemap Extractor (all URLs from sitemap.xml)

Pricing

Pay per usage

Go to Apify Store
Sitemap Extractor (all URLs from sitemap.xml)

Sitemap Extractor (all URLs from sitemap.xml)

Get every page URL a site lists in its sitemaps, with lastmod, changefreq and priority. Finds sitemaps through robots.txt, follows sitemap indexes, reads .gz and text sitemaps. Free, 512 MB, obeys robots.txt.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Sagnato

Sagnato

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 hours ago

Last modified

Categories

Features

Limited permissions

Share

Give it a site or a sitemap link; get back every page URL the site lists in its sitemaps, one row each, with lastmod, changefreq and priority. Handy before a crawl, an SEO check, or a screenshot run of every page.

Limits, up front

  • No proxy and no retries. Requests come straight from Apify's servers as SagnatoBot; a site that blocks bots, or a sitemap that fails once, gives a plain reason in the summary.
  • The status check is optional and slow: off by default, about one second per URL per site, and at most 10,000 checks per run.
  • Sitemap indexes are followed five levels deep, up to 1,000 sitemap files.

What it handles

  • Finds the sitemaps for you: reads the Sitemap: lines in robots.txt, and falls back to /sitemap.xml and /sitemap_index.xml.
  • Sitemap indexes, nested up to five levels.
  • Gzip (.xml.gz) and plain-text sitemaps, CDATA and escaped URLs.
  • Same-site filter (on by default) and a total limit, so huge sites still finish.
  • A summary per site: sitemaps read, URLs found, and a plain reason for anything that couldn't be read.
  • Optional status check (checkStatus): opens the start of each listed page and adds its HTTP status, the final URL after redirects and the Last-Modified header, so you can spot broken or moved pages. Up to 10,000 checks per run (maxStatusChecks, default 1,000); about one second per URL per site.

Input

  • urls (required): sites (example.com) or sitemap links, up to 100 per run.
  • maxUrls (default 50,000, up to 500,000), sameHostOnly (default on), includeSitemapUrl (default on).
  • checkStatus (default off) and maxStatusChecks (default 1,000).

Example for an AI agent or the API: {"urls": ["example.com"], "maxUrls": 1000}.

Polite by design

Free; runs at 512 MB. Only public addresses; robots.txt read first and obeyed for our crawler SagnatoBot; one request per site at a time, at least a second apart (or the site's Crawl-delay). It reads only sitemap files, never the pages themselves, unless you turn on the status check, which reads only the first 64 KB of each page, in the same one-at-a-time queue per site.

Output

Dataset rows: url, lastmod, changefreq, priority, sitemap, plus status, finalUrl, lastModifiedHeader and checkError when the status check is on. Key-value store: SUMMARY (per site) and REPORT.md.

What it does not do

  • It does not crawl links to find pages that are missing from the sitemaps.
  • No sitemap file over 50 MB (the sitemap protocol's own limit), zipped or unzipped: it is skipped with a reason.
  • No proxy: requests come straight from Apify's servers under our own crawler name.