Sitemap URL Extractor - All Page URLs with Lastmod & Status
Pricing
from $0.30 / 1,000 url extracteds
Sitemap URL Extractor - All Page URLs with Lastmod & Status
Extract every page URL from any website's XML sitemaps. Auto-finds sitemaps via robots.txt, follows sitemap indexes and .gz files, and returns lastmod, changefreq, priority, images, news, hreflang and optional HTTP status. Filter by pattern or date. No proxy. $0.30 per 1,000 URLs.
Pricing
from $0.30 / 1,000 url extracteds
Rating
0.0
(0)
Developer
Nirajan Prasai
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Get every page URL a website lists in its XML sitemaps and export it to JSON, CSV or Excel. Paste a website (like example.com) or a sitemap URL, and the Actor finds the sitemaps, follows every sitemap index and .xml.gz file, and returns one clean row per URL with lastmod date, changefreq, priority, images, Google News and video data, hreflang alternates and, if you want, the live HTTP status of each page.
It uses plain HTTPS requests only: no browser, no proxy, no login. It runs on 256 MB and costs $0.30 per 1,000 URLs.
How sitemaps are found
| You paste | What happens |
|---|---|
A website: https://example.com or example.com | Reads Sitemap: lines in robots.txt, then tries common locations (/sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml, /sitemap.xml.gz, /sitemap.txt, ...), then <link rel="sitemap"> on the home page |
A sitemap: https://example.com/sitemap.xml | Read directly |
| A sitemap index | Every child sitemap is followed (nested indexes too) |
A .xml.gz file | Decompressed automatically |
A text sitemap (sitemap.txt, one URL per line) | Supported |
An RSS or Atom feed (/feed/, .rss, .atom) | Supported - URL, title and publication date |
Works with WordPress (Yoast, Rank Math, core wp-sitemap.xml), Shopify, Wix, Squarespace, Webflow, Ghost, Next.js, Docusaurus and any other site that publishes a standard sitemap.
What you get for each URL
- 🔗 URL plus its domain, the sitemap file it came from and the parent sitemap index
- 🕒 lastmod normalized to ISO-8601 UTC, changefreq and priority
- 🖼️ Images from image sitemaps (count and up to 20 image URLs)
- 📰 Google News title, publication name and publication date
- 🎬 Video count, first video title and thumbnail
- 🌍 hreflang alternates (
[{hreflang, url}]) for multilingual sites - ✅ HTTP status (optional):
statusCode,finalUrl,redirected,contentType- find 404s and redirects listed in your sitemap
Why use this sitemap extractor?
- Paste a domain, not a sitemap. Sitemap discovery via robots.txt, common paths and the home page, so you don't have to hunt for the sitemap location.
- Complete. Nested sitemap indexes, gzip, text sitemaps, RSS/Atom, image, news, video and hreflang extensions.
- Filters that save money. Include/exclude URL patterns (plain text or
re:regular expressions), "modified within N days" and same-domain-only. Filtered-out URLs and duplicates are not charged. - Optional status check with HEAD requests (GET fallback for servers that reject HEAD) to audit a sitemap for broken or redirected pages.
- Fair pricing. Sites without a sitemap, invalid inputs and failed requests are free error rows. Set a maximum cost per run and the Actor stops cleanly when it is reached.
- Fast and light. Streams huge sitemaps (50,000 URLs per file) on 256 MB with retries, back-off and per-request timeouts.
Use cases
- SEO audits: list every indexable URL, check lastmod freshness and find 404s or redirects in the sitemap
- Crawling and RAG: get a clean URL list to feed into a content scraper, an LLM knowledge base or a vector database
- Competitor monitoring: schedule a daily run with
modifiedWithinDays: 1to see new and updated pages (products, blog posts, landing pages) - Site migrations: export the full URL inventory before and after a redesign to build redirect maps
- E-commerce research: pull every product or collection URL with
includePatterns: ["/products/"] - AI agents and automations: call it from the API, n8n, Make or Zapier to get a site's URL list on demand
How to use it
- Add websites or sitemap URLs under Websites or sitemap URLs, one per line.
- Optionally add Include / Exclude patterns, Modified within (days) or turn on Check HTTP status.
- Set Max URLs per site (0 = all) and click Start.
- Download the URLs overview view or all fields as CSV, Excel or JSON. The
SUMMARYrecord shows how each site's sitemaps were found.
Example input
{"startUrls": ["https://blog.cloudflare.com","https://crawlee.dev/python/sitemap.xml","example-shop.com"],"maxUrlsPerSite": 1000,"includePatterns": ["/blog/", "re:/20(25|26)/"],"excludePatterns": ["/tag/", "?page="],"modifiedWithinDays": 30,"keepUrlsWithoutLastmod": true,"sameDomainOnly": false,"checkStatus": false}
Example output (one URL)
{"type": "url","url": "https://blog.cloudflare.com/enabling-google-analytics-on-wordpress-blog","domain": "blog.cloudflare.com","site": "https://blog.cloudflare.com","sitemapUrl": "https://blog.cloudflare.com/sitemap-posts.xml","parentSitemapUrl": "https://blog.cloudflare.com/sitemap.xml","sitemapFormat": "xml","lastmod": "2026-07-15T12:25:22Z","changefreq": null,"priority": null,"alternates": [{ "hreflang": "en-us", "url": "https://blog.cloudflare.com/enabling-google-analytics-on-wordpress-blog" },{ "hreflang": "x-default", "url": "https://blog.cloudflare.com/enabling-google-analytics-on-wordpress-blog" }],"statusCode": 200,"finalUrl": "https://blog.cloudflare.com/enabling-google-analytics-on-wordpress-blog","redirected": false,"contentType": "text/html","scrapedAt": "2026-11-23T08:30:00Z"}
statusCode, finalUrl, redirected and contentType are only added when Check HTTP status is on. Image, news and video fields appear when the sitemap contains them.
Inputs that can't be processed produce a free row, for example {"type": "error", "input": "https://example.com", "errorMessage": "Skipped (not charged): no sitemap found in robots.txt, common locations or the home page - paste the sitemap URL directly"}. A run summary (URLs, sitemap files parsed, how each site's sitemaps were found, failed sitemap files) is saved to the SUMMARY record in the key-value store.
Pricing
Pay per event. You only pay for URLs that are saved to your dataset:
| Event | What it is | Price |
|---|---|---|
url-extracted | One unique URL saved | $0.30 / 1,000 URLs ($0.0003 each) |
| Actor start | Once per run (set by Apify, scales with memory) | $0.001 |
Example: 10,000 URLs cost about $3.00. The HTTP status check is included at no extra charge. Sites without a sitemap, invalid inputs, filtered-out URLs, duplicates and failed requests are free.
Tips and limits
- No sitemap found? Some sites don't publish one, or keep it at an unusual path. Paste the sitemap URL directly if you know it (check
/robots.txt). - Big sites: use Max URLs per site for a quick test first. Max sitemap files per site (default 1,000) protects against endless sitemap indexes.
- Date filter:
lastmodis set by the site owner and isn't always accurate. URLs without a lastmod are kept by default (turn off Keep URLs without lastmod to drop them). - Status check sends one light request per URL to the website. Keep Max concurrency low for small sites.
- Pages that are not listed in any sitemap are not discovered. This Actor reads sitemaps; it does not crawl links.
Legal
The Actor only reads robots.txt files, sitemaps and feeds that website owners publish so that machines can discover their pages. It does not log in anywhere, bypass any protection or collect personal data. You are responsible for how you use the URLs you extract.
FAQ
- How am I charged? $0.0003 per URL saved plus a $0.001 start fee. Error rows, duplicates and filtered-out URLs are free.
- How fresh is the data? Live. Every run downloads the current sitemaps.
- Can I get only new pages? Yes. Schedule a daily run with
modifiedWithinDays: 1. - What if I leave the input empty? The Actor falls back to a sample site (blog.cloudflare.com, 20 URLs), logs a warning and still writes a dataset.
- Is there a limit? Up to 1,000 websites per run and up to 1,000,000 URLs per site.