Sitemap URL Extractor - Get Every URL from sitemap.xml avatar

Sitemap URL Extractor - Get Every URL from sitemap.xml

Pricing

$20.00 / 1,000 sitemap parseds

Go to Apify Store
Sitemap URL Extractor - Get Every URL from sitemap.xml

Sitemap URL Extractor - Get Every URL from sitemap.xml

Extract every URL from any sitemap.xml, auto-following nested sitemap index files. Input: startUrls (sitemap URL). Output: JSON records with loc, lastmod, changefreq, priority, sourceSitemap. Cheap pay-per-result: $0.02 per sitemap parsed.

Pricing

$20.00 / 1,000 sitemap parseds

Rating

0.0

(0)

Developer

Anthony Snider

Anthony Snider

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Sitemap URL Extractor

Extract every URL from any sitemap.xml — automatically follows nested sitemap index files and reads lastmod, changefreq, and priority.

Live on the Apify Store — run it instantly, or call it as an agent tool via Apify MCP.

What you get

  • Give it a sitemap URL, a sitemap index URL, or just a bare domain — it finds the sitemap for you via robots.txt and /sitemap.xml.
  • Recursively follows nested sitemap index files so you get every URL, not just the top level.
  • One clean row per page URL with loc, lastmod, changefreq, priority, and which sourceSitemap it came from.
  • Automatic de-duplication and a maxUrls cap so big sites stay fast and predictable.
  • Batch mode: pass an array to crawl many sites in one run.

Perfect for SEO audits, content inventories, crawl seeding, and feeding URL lists to other agents.

Input

{
"url": "https://www.apify.com/sitemap.xml",
"maxUrls": 5000,
"followNested": true
}

Or process several at once:

{
"urls": ["example.com", "https://another-site.com/sitemap_index.xml"],
"maxUrls": 10000
}

Output

One dataset item per extracted URL:

{
"loc": "https://www.apify.com/pricing",
"lastmod": "2025-01-15",
"changefreq": "weekly",
"priority": "0.8",
"sourceSitemap": "https://www.apify.com/sitemap.xml"
}

Fields are null when the sitemap omits them. Pricing is pay-per-event: you are charged once per sitemap file fetched (including each nested child sitemap).