XML Sitemap URL Extractor avatar

XML Sitemap URL Extractor

Pricing

from $1.00 / 1,000 url extracteds

Go to Apify Store
XML Sitemap URL Extractor

XML Sitemap URL Extractor

Recursively crawl and extract every single URL from a website’s sitemap.xml. Automate your SEO audits and scraping queues.

Pricing

from $1.00 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Andok

Andok

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Share

Sitemap URL Extractor (Bulk)

Recursively downloads and parses XML Sitemaps (and Sitemap Indexes) to extract all individual page URLs.

What it does

For each input sitemap URL (e.g. https://example.com/sitemap.xml), it downloads the XML and extracts:

  • Every <loc> tag.
  • If the <loc> tag points to a child .xml sitemap index, it recursively fetches it (up to maxDepth).
  • Associated <lastmod>, <changefreq>, and <priority>.

Input

  • urls (required): list of Sitemap URLs (e.g. https://example.com/sitemap_index.xml)
  • maxUrls (default 1000): max URLs to output per top-level sitemap.
  • maxDepth (default 2): how deep to follow sitemap index files.
  • timeoutSeconds (default 15): per-file fetch timeout.

Output

Outputs one dataset item per extracted URL.

Monetization + safety

This actor is designed for Pay-Per-Event (dataset item = 1 URL) and respects the per-run max charge limit.