Sitemap URL Extractor — recursive, filters, .gz avatar

Sitemap URL Extractor — recursive, filters, .gz

Pricing

$1.00 / 1,000 sitemap file fetcheds

Go to Apify Store
Sitemap URL Extractor — recursive, filters, .gz

Sitemap URL Extractor — recursive, filters, .gz

Extract every URL from any sitemap: recursive sitemap-index expansion, gzipped sitemaps, robots.txt auto-discovery, include/exclude filters, lastmod output. Feed the URL list to any crawler or audit. Pay per sitemap file processed.

Pricing

$1.00 / 1,000 sitemap file fetcheds

Rating

0.0

(0)

Developer

Opklaar

Opklaar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Turn any sitemap into a flat, deduplicated URL list — with lastmod, changefreq, and priority — ready to feed into a crawler, SEO audit, content inventory, or link checker.

  • Sitemap indexes expanded recursively (nested sitemaps followed automatically, up to 500 files)
  • Gzipped sitemaps (.xml.gz) handled transparently
  • Auto-discovery: pass just https://example.com and the sitemap is found via robots.txt and common locations
  • Include/exclude filters: plain substrings or /regex/ — extract only /blog/, skip /tag/, etc.
  • Deduplicated output with a maxUrls cap for very large sites

Input

{
"sitemapUrls": ["https://example.com"],
"includePatterns": ["/blog/"],
"excludePatterns": ["/tag/", "/page/"],
"maxUrls": 100000
}

Output (one dataset item per URL)

{
"url": "https://example.com/blog/hello-world",
"lastmod": "2026-07-14",
"changefreq": "weekly",
"priority": "0.8",
"sitemap": "https://example.com/sitemap-posts.xml"
}

Export as JSON, CSV, or Excel straight from the dataset tab, or fetch via API.

Pricing

Pay per event — sitemap-fetched, charged once per sitemap file successfully fetched and parsed (an index file and each nested sitemap count once each). A sitemap that fails to download or parse is free. There are no per-URL charges: a 50,000-URL sitemap in one file costs one event.

Common uses

  • Seed list for any crawler or scraper (pairs well with an article extractor for full-content pipelines)
  • SEO: find URLs missing from a sitemap, compare lastmod freshness, inventory a competitor's content structure
  • Migration QA: diff URL lists before/after a relaunch

Works with AI agents

Exposed through Apify's MCP server — an AI agent can ask "list every blog URL on example.com" and get structured JSON back in seconds.

FAQ

What if the site has no sitemap? Auto-discovery checks robots.txt plus common paths (/sitemap.xml, /wp-sitemap.xml, …). If nothing is found, the run tells you — and costs nothing.

Does it respect huge sitemap indexes? Yes — nested sitemaps are queued breadth-first with a 500-file safety cap and your maxUrls limit.