Sitemap URL Extractor (All Website URLs + Change Monitor)
Pricing
from $0.24 / 1,000 url extracteds
Sitemap URL Extractor (All Website URLs + Change Monitor)
Get every URL of a website from its XML sitemaps for SEO and content audits: auto-finds sitemaps, follows indexes, reads .xml.gz and text sitemaps, returns lastmod, priority, images and hreflang. Monitor mode returns only new or updated pages. $0.40 per 1,000 URLs.
Pricing
from $0.24 / 1,000 url extracteds
Rating
0.0
(0)
Developer
Domain Signal Labs
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
$0.40 per 1,000 URLs. No start fee; sites without a sitemap, filtered-out URLs and unchanged URLs are free. This sitemap URL extractor gets every page URL of a website from its XML sitemaps in seconds, without crawling the site. Paste a homepage and it finds the sitemaps for you (robots.txt Sitemap: lines, then the usual locations), follows sitemap indexes to the bottom, reads .xml.gz, plain-text and RSS/Atom sitemaps, and returns one clean row per URL with lastmod, changefreq, priority, image count and optional hreflang language versions.
Switch on monitor mode and schedule it to get only new or updated pages on every run: a lightweight way to watch competitors' new product pages, blog posts, landing pages or job listings.
Typical uses: SEO audits (find every indexable URL, spot stale lastmod dates, check hreflang coverage), content audits and inventories (export all blog or product URLs to a spreadsheet), site migrations (list old URLs for redirect mapping), and feeding a URL list to other scrapers.
Why this one
- Finds the sitemap for you. Give it
https://docs.apify.comand it reads robots.txt, opens the sitemap index, and walks every child sitemap. WordPress (/wp-sitemap.xml), Yoast (/sitemap_index.xml) and text sitemaps are covered by the fallbacks. - A change feed, not just a dump. Monitor mode remembers each URL and its
lastmod, and marks each rowchange: "new"or"updated". Unchanged URLs are skipped and never charged. - Pay only for the URLs you keep. Include and exclude patterns (
/blog/,*/products/*,re:/20(25|26)/) and a "modified after" date are applied before charging. Duplicates across sitemap files are merged. - Seconds, not hours. No page is crawled; only sitemap files are downloaded. A 50,000-URL site typically finishes in under a minute on the default 512 MB.
- Polite and safe by default. Honours
robots.txt, keeps a minimum delay per host, retries on errors and rate limits with back-off, refuses private or internal addresses, and caps each file at the protocol's size limit. - Clear failures. A site without a sitemap, or a child sitemap returning 404, becomes a free row with a plain-English
error, so you know exactly what was missed.
You give it / you get back
| You give it | You get back (one row per page URL) |
|---|---|
A website: https://acme.com | url, lastmod (ISO 8601), changefreq, priority |
A sitemap or sitemap index: https://acme.com/sitemap.xml, .xml.gz, .txt | images: number of images listed for the page |
| Optional include / exclude patterns and a date | alternates: hreflang language versions (on request) |
| Monitor mode on a schedule | change: new or updated since the last run |
news: title and date from Google News sitemaps, when present | |
sitemapUrl: the file the URL came from |
Input
| Field | Type | Default | Description |
|---|---|---|---|
startUrls | list of URLs | required | Websites or sitemap URLs (up to 1,000). |
maxUrlsPerSite | integer | 10,000 | Cap per start URL (up to 1,000,000). |
includePatterns | list | empty | Keep URLs matching any pattern: text, * wildcard, or re: regex. |
excludePatterns | list | empty | Drop URLs matching any pattern. |
lastmodAfter | string | empty | 2026-11-01 or relative, e.g. 7 days. URLs without lastmod are kept. |
onlyNew | boolean | false | Monitor mode: only new or updated URLs since the last run. |
includeAlternates | boolean | false | Add hreflang alternates. |
sameHostOnly | boolean | true | Skip URLs on other domains (subdomains are kept). |
maxSitemapsPerSite | integer | 200 | Stop after this many sitemap files per site. |
maxConcurrency | integer | 5 | Sites processed in parallel. |
requestIntervalMs | integer | 500 | Minimum delay between requests to the same host. |
{"startUrls": ["https://docs.apify.com", "https://crawlee.dev/sitemap.xml"],"includePatterns": ["/blog/"],"maxUrlsPerSite": 5000,"onlyNew": true}
Output
Real rows from a test run (the full set is in sample-output.json in the source):
{"site": "https://www.gov.uk/","url": "https://www.gov.uk/hmrc-internal-manuals/vat-repayment-supplement-manual","lastmod": "2026-09-30T09:36:46.000Z","changefreq": null,"priority": 0.5,"images": 0,"alternates": [],"sitemapUrl": "https://www.gov.uk/sitemaps/sitemap_1.xml","extractedAt": "2026-11-15T16:22:01.226Z"}
{"site": "https://docs.apify.com/","url": "https://docs.apify.com/academy","lastmod": null,"changefreq": "weekly","priority": 0.5,"images": 0,"alternates": [],"sitemapUrl": "https://docs.apify.com/sitemap_base.xml","extractedAt": "2026-11-15T16:21:50.793Z"}
A site that cannot be read produces one free row instead:
{ "site": "https://no-such-host-for-testing-8841.example/", "error": "Host no-such-host-for-testing-8841.example could not be resolved (ENOTFOUND).", "sitemapsRead": 0, "extractedAt": "2026-11-15T16:20:00.000Z" }
Pricing
Pay per event:
- $0.0004 per URL saved ($0.40 per 1,000), with lower prices on higher Apify plans (down to $0.16 per 1,000).
- No custom start fee; only Apify's standard tiny platform start event applies.
- Free: error rows, URLs removed by your filters or date, duplicates, and unchanged URLs in monitor mode.
Examples: a full export of a 20,000-page store costs $8 once. Monitoring 30 competitor sites daily, with about 100 new or changed pages a day between them, costs about $0.04 a day.
How to monitor a competitor's new pages
- Add the competitor's homepage to
startUrlsand setonlyNew: true. Narrow it withincludePatterns, for example/products/or/blog/. - Run once. The first run returns every matching URL marked
newand remembers them. - Create an Apify Schedule (daily or weekly) for this input.
- Connect the run to Slack, email, Google Sheets, Make, Zapier, n8n or a webhook. Each later run delivers only pages that are new or whose
lastmodchanged.
Monitor state lives in the key-value store sitemap-url-extractor-state in your account (up to 150,000 remembered URLs per start URL). Delete it to start fresh.
Use with
| Actor | How they fit |
|---|---|
| Website Email Scraper & Contact Finder | Found a list of company sites? Get their role e-mails, phones and socials in one row per domain. |
| Website Tech Stack Detector | Feed it interesting URLs from a sitemap to see which CMS, analytics and hosting each page uses. |
| RSS Feed Reader & Monitor | Pair a site's sitemap change feed with its blog feed for complete "what's new" monitoring. |
| Is This Company Hiring? Job Openings by Domain | A competitor adding careers pages? Check its open roles by department. |
| WHOIS Lookup (RDAP), Bulk Domain Age & Registrar | Registrar, creation and expiry dates for the domains you are watching. |
| Email List Cleaner | Clean the contact addresses you collect before outreach. |
FAQ
How do I get all URLs of a website?
Paste the homepage into startUrls and run. If the site publishes a sitemap (almost every CMS does), you get every URL it lists. Pages the owner left out of the sitemap are not included; for those you need a crawler.
Where is a website's sitemap?
Usually listed in https://site.com/robots.txt on a Sitemap: line, or at /sitemap.xml. This Actor checks robots.txt first, then /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml and /sitemap.txt. If yours lives elsewhere, paste its URL directly.
Does it read compressed .xml.gz sitemaps and sitemap indexes?
Yes. Gzip is detected from the file content, and indexes are followed recursively until maxSitemapsPerSite files have been read.
What does lastmod mean, and can I trust it?
It is the "last modified" date the site owner puts in the sitemap. Many sites keep it accurate; some set it to the build date for every page. Monitor mode uses it to flag updates, so a site that rewrites every lastmod on each deploy will show many updated rows.
Can I export only blog posts or product pages?
Yes: includePatterns: ["/blog/"] or ["*/products/*"]. For complex rules use a regex with the re: prefix, e.g. re:/20(25|26)/.
Is this a site audit tool? No. It lists URLs and their sitemap metadata. It does not fetch pages, check status codes or grade SEO.
Can an AI agent use it? Yes, through the Apify API or Apify's MCP server. Input is a list of URLs and the output is a flat list of page URLs, ideal as the first step before reading or summarising pages.
Is it allowed to read sitemaps? Sitemaps are published by site owners specifically so automated clients can discover their pages. The Actor also honours each host's robots.txt and a polite per-host delay.
Data source, terms and limits
- Reads only the sitemap files and robots.txt of the sites you provide. Page content is never downloaded.
- Page URLs and metadata belong to each site owner; check a site's terms before reusing its content.
- Sites behind a login, or that block automated clients (HTTP 403), cannot be read; they appear as free error rows.
- Maximum 1,000 start URLs, 1,000,000 URLs per site and 5,000 sitemap files per site per run.
Sitemap not parsing? Open an issue with the sitemap URL; fixes usually ship within days.