Sitemap URL Extractor avatar

Sitemap URL Extractor

Pricing

from $0.50 / 1,000 url extracteds

Go to Apify Store
Sitemap URL Extractor

Sitemap URL Extractor

Extract every URL from any website's sitemaps: auto-discovers sitemaps, follows indexes, supports .gz, text, RSS and Atom. Filter by pattern or lastmod date, and optionally check each URL's HTTP status.

Pricing

from $0.50 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Ahmed Zaky

Ahmed Zaky

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Share

Get every URL a website publishes in its sitemaps — as a clean table you can download as CSV, JSON or Excel, or feed straight into another Actor or workflow.

Paste a website address and the Actor finds the sitemaps for you. No need to know where they live.

What it does

  • Finds sitemaps automatically from robots.txt and the usual locations (/sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml, …).
  • Follows sitemap indexes to any depth, so large sites with hundreds of nested sitemaps work.
  • Reads every format: XML sitemaps, gzipped .xml.gz, plain-text sitemaps, RSS and Atom feeds.
  • Keeps the metadata: lastmod, changefreq, priority, image URLs, hreflang alternates and Google News titles.
  • Filters as it goes: include/exclude URL patterns and a Modified since date. Schedule it daily to get only new or updated pages.
  • Optional status check: records the HTTP status code and redirect target of each URL, so you can find broken (404) and redirected pages listed in your sitemap.
  • Never loses a whole run to one bad file. Unreadable sitemaps are skipped and listed in the SUMMARY record, and everything else is saved.

Use cases

  • SEO audits: find 404s, redirects and orphaned URLs in your sitemap.
  • Content monitoring: track new pages, products or articles on competitor sites with a daily schedule and Modified since.
  • Crawl planning: get a clean list of URLs to feed into a content or product scraper, instead of crawling blindly.
  • AI / RAG pipelines: enumerate every docs or blog page before indexing.
  • Site migrations: snapshot every URL before and after a move.

Input

FieldDescription
Start URLsWebsites or direct sitemap/feed URLs
Include / Exclude URL patternsRegular expressions, e.g. /blog/, /products/, /tag/
Modified sinceKeep only URLs with lastmod on or after this date
Check HTTP statusAdds statusCode and finalUrl for every URL
Max URLs / Max URLs per websiteCost and size limits

Output

{
"url": "https://example.com/blog/hello-world",
"lastmod": "2026-09-21T10:00:00Z",
"changefreq": "weekly",
"priority": 0.8,
"statusCode": 200,
"sitemapUrl": "https://example.com/post-sitemap.xml",
"site": "https://example.com"
}

A SUMMARY record in the key-value store lists the sitemaps found per website and any that could not be read.

Pricing

Pay only for results: you are charged per URL saved, plus per URL when the optional status check is on. Set Max URLs or a maximum cost per run to stay in budget. The Actor stops cleanly at your limit and keeps everything collected so far.

FAQ

The site has no sitemap. The run tells you so (it checks robots.txt and common locations). If you know where the sitemap lives, paste its URL directly.

Some URLs have no lastmod. The site didn't publish one. With Modified since set, those URLs are skipped because their age can't be confirmed.

Is this legal? Sitemaps are published by site owners specifically so automated tools can read them.

Found a problem or need a feature? Open an issue on the Issues tab. Issues are answered within 24 hours.