Sitemap URL Extractor - XML Sitemap Scraper
Pricing
from $1.00 / 1,000 results
Sitemap URL Extractor - XML Sitemap Scraper
Extract URLs from XML sitemaps and sitemap indexes. Get URL, lastmod, changefreq, priority and source sitemap.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
ben
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
Extract URLs from XML sitemaps and sitemap indexes in one run. Get page URL, last modified date, change frequency, priority and the source sitemap each URL came from. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.
What is the Sitemap URL Extractor?
The Sitemap URL Extractor turns XML sitemap files into clean datasets. Paste one or more sitemap URLs and the actor returns every URL it can find, including URLs inside nested sitemap indexes. It is useful for SEO audits, migration checks, website inventory, crawling preparation, content monitoring and competitor research.
What data does it extract?
- URL: the page or asset URL listed in the sitemap.
- Last modified:
lastmodwhen provided by the site. - Change frequency:
changefreqwhen present. - Priority: sitemap priority when present.
- Source sitemap: the exact sitemap file that contained the URL.
Input
Paste one or more sitemap XML URLs into sitemapUrls. Keep includeNested enabled to follow sitemap indexes automatically. Use maxUrls to cap large websites.
Example input
{"sitemapUrls": ["https://apify.com/sitemap.xml"],"includeNested": true,"maxUrls": 1000}
Output
Each dataset row can include:
{"url": "https://example.com/page","lastmod": "2026-07-01","changefreq": "weekly","priority": "0.8","source_sitemap": "https://example.com/post-sitemap.xml"}
Use cases
🔎 SEO audits: Export all indexed sitemap URLs and check which pages a site wants search engines to crawl.
🚚 Website migrations: Compare old and new sitemap exports to catch missing URLs, redirects or forgotten content.
🗂️ Content inventory: Build a structured list of pages for editorial, analytics or internal search projects.
🕷️ Crawler seed lists: Use sitemap URLs as clean start URLs for a larger crawler.
📊 Competitor research: Export competitor sitemap structures to understand content depth, landing pages and publishing cadence.
Workflow ideas
Run this actor before a crawl to collect a reliable URL seed list. Send the output into a website crawler, status-code checker, SEO audit tool or spreadsheet. For migrations, run it on the old and new domains, then compare URL sets. For publishers, schedule it weekly and track new URLs by comparing the latest run with previous datasets.
Because each row includes the source_sitemap, you can see which section of a sitemap index produced the URL. That helps separate blog posts, products, categories, docs, images or localized pages when a site uses multiple nested sitemap files.
Reliability notes
The actor expects valid XML sitemaps using the standard sitemap protocol. If a website blocks requests, returns HTML instead of XML, or uses a non-standard sitemap format, the actor logs a warning and continues with the next sitemap.
Very large sitemap indexes can contain hundreds of thousands of URLs. Use maxUrls during testing and increase it gradually for production exports.
Data quality tips
Sitemaps are declarations from the website owner, not proof that a page is live, indexed or canonical. A URL in a sitemap can still redirect, return 404, be blocked by robots.txt or have a noindex tag. For a complete SEO audit, use this actor as the URL discovery step and then pass the output into a crawler, status checker or page analyzer.
When comparing two sitemap exports, normalize trailing slashes, protocols and hostnames before diffing. Many migration issues are caused by small URL-shape differences. Keep the source_sitemap field because it often reveals which site section changed: blog, docs, products, categories, localized pages or image assets.
For large ecommerce sites, run with a small maxUrls first to confirm the sitemap structure. Then increase the limit once you know the nested sitemap index is behaving as expected.
Pricing
This actor uses pay-per-result pricing. You are charged for each sitemap URL pushed to the dataset, plus a tiny actor-start event.
FAQ
Does it follow sitemap indexes?
Yes. Keep includeNested enabled and the actor follows nested sitemap files.
Does it crawl the pages?
No. It extracts URLs from sitemap XML. Use a crawler or status checker separately if you need page content or HTTP status codes.
Can I extract multiple sitemaps?
Yes. Add multiple values to sitemapUrls.
Does it support image or video sitemaps?
It extracts the main URL entries. Specialized image/video metadata is not the focus of this actor.
Can I schedule sitemap monitoring?
Yes. Save a task and compare datasets over time.
Is it legal?
This actor reads public sitemap files. Use the output responsibly and respect website terms, robots guidance and applicable rules.
Why are some fields null?
Sitemap fields like lastmod, priority and changefreq are optional. Many sites only provide the URL.
Can it extract URLs from robots.txt?
This actor expects sitemap XML URLs. Use a robots/sitemap analyzer first if you need to discover sitemap URLs from a domain's robots.txt file.
Can I use it for competitor research?
Yes. Public sitemaps often reveal product pages, category structures, blog depth and localized landing pages.
Does it respect max URL limits?
Yes. The actor stops pushing rows once maxUrls is reached, even when a sitemap index contains more nested files.
You might also like
- Robots Sitemap Analyzer - inspect robots.txt and sitemap references
- Website Contact Extractor - enrich domains from URL lists
- RSS Feed Scraper - extract feed articles
- Tech Stack Detector - analyze website technologies
Keywords
sitemap scraper, sitemap URL extractor, XML sitemap parser, sitemap index scraper, SEO URL export, sitemap API, website URL inventory, crawl seed list, sitemap to CSV, sitemap monitoring, SEO audit scraper.