Sitemap URL Extractor avatar

Sitemap URL Extractor

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Sitemap URL Extractor

Sitemap URL Extractor

Under maintenance

Discover and parse XML sitemaps for any website. Returns every URL with lastmod, changefreq and priority. Handles sitemap indexes, gzipped and plain-text sitemaps.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Y A

Y A

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Extract every URL from any website's XML sitemap — in seconds, with no code.

Point this Actor at a domain or a sitemap URL and get back a clean, structured list of every page the site publishes, complete with lastmod, changefreq, and priority metadata. Perfect for SEO audits, content inventories, site migrations, crawl seeding, and competitive research.

What it does

  • 🔍 Auto-discovers sitemaps from a bare domain via robots.txt and common well-known paths (/sitemap.xml, /sitemap_index.xml, WordPress /wp-sitemap.xml, and more).
  • 🗂️ Follows sitemap indexes recursively — nested sitemaps are crawled automatically.
  • 🗜️ Handles gzipped (.xml.gz) and plain-text sitemaps transparently.
  • 🧹 De-duplicates URLs across multiple sitemaps.
  • HTTP-only and fast — no headless browser, so runs are cheap and quick.

Input

FieldTypeDescription
startUrlsarrayList of domains or sitemap URLs. Domains are auto-discovered; sitemap URLs are parsed directly.
urlstringConvenience field for a single target.
maxUrlsintegerMax URLs to return (0 = unlimited). Default 0.
includeSubSitemapsbooleanRecursively follow sitemap-index files. Default true.

Example input

{
"startUrls": ["https://example.com"],
"maxUrls": 0,
"includeSubSitemaps": true
}

Output

Each dataset item is one URL:

{
"url": "https://example.com/blog/hello-world",
"lastmod": "2025-01-15",
"changefreq": "weekly",
"priority": "0.8",
"sourceSitemap": "https://example.com/sitemap.xml"
}

You can export results as JSON, CSV, Excel, or via API directly from the run.

Pricing

This Actor is billed per result — you pay only for the URLs it actually extracts. No subscription, no minimum. Runs that find nothing cost nothing beyond the negligible start event.

Notes

  • The Actor respects standard sitemap conventions and identifies itself with a clear User-Agent.
  • If a site has no discoverable sitemap, the run completes cleanly with zero results.