Sitemap URL Extractor: All Page URLs & Lastmod
Pricing
from $0.50 / 1,000 page urls
Sitemap URL Extractor: All Page URLs & Lastmod
Get every URL of a website from its sitemaps. Finds sitemaps via robots.txt, follows sitemap index files and .xml.gz, returns URL, lastmod, changefreq, priority. Regex filters, date filter, dedup.
Pricing
from $0.50 / 1,000 page urls
Rating
0.0
(0)
Developer
Nico Klyve
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
9 days ago
Last modified
Categories
Features
Share
Sitemap URL Extractor: all page URLs and lastmod dates
Get the full list of pages of any website in seconds, straight from its XML sitemaps. Paste a website address and the Actor finds its sitemaps in robots.txt (or at /sitemap.xml), follows sitemap index files, unpacks .xml.gz files and returns one clean row per page URL with its lastmod, changefreq and priority.
No browser, no crawling of the pages themselves: it only reads the sitemap files that websites publish for robots, so it is fast, cheap and polite.
What people use it for
- SEO audits: compare the URLs in the sitemap with what is indexed, find missing or outdated pages.
- Content monitoring: schedule it daily with "Only URLs modified since" to get the pages a competitor or a news site added or updated.
- Feeding other scrapers: build the list of product, article or documentation URLs to pass to another Actor.
- Site migrations: export the full URL inventory before and after a redesign to build redirect maps.
- RAG and LLM pipelines: get every documentation page of a product before converting it to text.
Example output
{"url": "https://docs.apify.com/api","lastmod": null,"changefreq": "weekly","priority": 0.5,"sitemapUrl": "https://docs.apify.com/sitemap_base.xml","site": "docs.apify.com"}
Websites without any sitemap get one row with an error field so you know which ones to check by hand (this row is free).
Input
| Field | What it does |
|---|---|
| Websites or sitemap URLs | Website addresses or direct sitemap URLs (.xml, .xml.gz, sitemap index, plain text sitemaps). |
| Max URLs | Total number of page URLs to save. |
| Only keep URLs matching | Regular expressions or text fragments, for example /blog/ or /products/. |
| Drop URLs matching | Patterns to exclude, for example /tag/ or /author/. |
| Only URLs modified since | Keep pages whose lastmod is on or after this date. Ideal for scheduled monitoring. |
| Include image URLs | Add the images listed in image sitemaps. |
| Max sitemap files per website | Safety limit for very large sitemap indexes. |
Pricing
Pay per result: $0.0005 per page URL saved ($0.50 per 1,000 URLs). Websites without a sitemap, unreadable sitemap files and filtered-out URLs are free. You can cap the cost of any run with the maximum charge setting.
Good to know
- Duplicate URLs found in several sitemaps are saved only once.
- The Actor reads only
robots.txtand the sitemap files, which websites publish precisely so that robots can read them. It never loads the pages themselves. - Some sites block unknown robots on their sitemaps (HTTP 403). Those files are skipped and logged.
- Works well on a schedule: combine "Only URLs modified since" with an Apify schedule and a webhook to get alerted about new pages.