Sitemap URL Extractor: All Page URLs, Lastmod & New Pages
Pricing
from $0.45 / 1,000 results
Sitemap URL Extractor: All Page URLs, Lastmod & New Pages
Get every page URL from any website's XML sitemaps. Finds sitemaps automatically (robots.txt, sitemap index, .gz, WordPress, Shopify), returns lastmod, changefreq, priority, hreflang, images and news data. Filter by pattern or date, or monitor only new pages. $0.50 per 1,000 URLs.
Pricing
from $0.45 / 1,000 results
Rating
0.0
(0)
Developer
Joe Pena
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
What is Sitemap URL Extractor?
Sitemap URL Extractor gets every page URL a website publishes in its XML sitemaps, in one clean row per URL with lastmod, changefreq, priority, hreflang alternates, image URLs and Google News / video data.
Give it a domain and it finds the sitemaps for you: it reads robots.txt, then tries the usual locations (/sitemap.xml, /sitemap_index.xml, WordPress /wp-sitemap.xml, /sitemap.txt). It follows sitemap indexes of any depth and reads gzipped (.xml.gz) and plain-text sitemaps. It works with WordPress, Shopify, Yoast, Rank Math, Next.js, Webflow and custom sitemaps. No browser, no proxies, no API key, so runs are fast and cheap.
Turn on monitor mode and schedule it: each run returns only pages that are new since the last run. That gives you a simple new-page alert for any competitor, blog or store.
What data can you get?
| Field | Example |
|---|---|
url | https://www.shopify.com/blog/email-marketing |
lastmod | 2026-11-13T00:00:00+00:00 |
changefreq / priority | weekly / 0.8 |
alternates | [{"hreflang": "es-US", "url": "https://stripe.com/es-us/legal"}, …] |
imageCount / images | 1 / ["https://static01.nyt.com/…jpg"] |
newsTitle / newsPublishedAt | NWSL semifinals guide… / 2026-11-14T06:00:00-05:00 |
videoTitle | (video sitemaps) |
domain / path | www.shopify.com / /blog/email-marketing |
sitemapUrl / sitemapType | https://www.shopify.com/sitemap.xml / xml, xml-gz or txt |
A SUMMARY record in the key-value store lists, per website, how the sitemap was found, how many sitemap files were read, URLs found vs returned and any errors (for example "no sitemap found").
Use cases
- 🔎 SEO audits: get the full list of indexable URLs, find stale pages via
lastmod, check hreflang coverage - 🕵️ Competitor content monitoring: schedule monitor mode and get every new blog post, product or landing page a competitor publishes
- 🛒 E-commerce catalogs: list every product URL of a Shopify or WooCommerce store (
/products/filter), then feed them to a product scraper - 🧭 Crawl seeding: give your crawler or RAG / LLM pipeline the exact URL list instead of crawling links blindly
- 📰 News tracking: read Google News sitemaps (
news.xml) for fresh headlines with publication dates - 🔁 Site migrations: export old and new URL lists to build redirect maps
How to extract all URLs from a sitemap
- Paste websites (
stripe.com) or direct sitemap URLs (https://example.com/sitemap.xml) into Websites or sitemap URLs. - Optional: keep only some URLs with Only URLs containing (
/blog/,/products/, orre:for a regex), or only recently changed pages with Modified on or after (2026-11-01or7 days). - Optional: switch on Only new URLs since last run and add a schedule for alerts.
- Click Start and download the URLs as JSON, CSV or Excel from the Output tab.
Input example
{"startUrls": ["shopify.com", "https://www.nytimes.com/sitemaps/new/news.xml.gz"],"includePatterns": ["/blog/"],"lastmodAfter": "30 days","maxItems": 500}
Output example
{"url": "https://www.shopify.com/blog/email-marketing","lastmod": "2026-11-13T00:00:00+00:00","changefreq": null,"priority": null,"imageCount": 0,"domain": "www.shopify.com","path": "/blog/email-marketing","sitemapUrl": "https://www.shopify.com/sitemap.xml","sitemapType": "xml","input": "shopify.com","extractedAt": "2026-11-14T11:04:43+00:00"}
Monitor mode: only new pages since the last run
Switch on Only new URLs since last run. The first run returns all matching URLs and remembers them in a key-value store in your account (data-factory-sitemap-monitor). Every later run with the same input returns only URLs that weren't there before. Add a daily schedule (Actor → Schedules) plus an integration (Slack, email, webhook, Google Sheets) and you have a new-page alert. Use Monitor name to keep several separate histories.
How much does it cost?
Pay per result: $0.50 per 1,000 URLs ($0.0005 per URL). Sitemap files that are read but filtered out cost nothing.
- 1,000 URLs = $0.50
- 100,000 URLs = $50
- With monitor mode you pay only for the new URLs each run.
- Apify's free plan includes $5 of monthly usage, enough for about 10,000 URLs.
Use Max URLs or Max URLs per website to cap the cost of a run.
API example
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("data_factory_nerd/sitemap-url-extractor").call(run_input={"startUrls": ["stripe.com"], "maxItems": 1000})for row in client.dataset(run["defaultDatasetId"]).iterate_items():print(row["url"], row["lastmod"])
FAQ
How does it find a website's sitemap?
First from the Sitemap: lines in robots.txt, then from common locations: /sitemap.xml, /sitemap_index.xml, /sitemap-index.xml, /wp-sitemap.xml, /sitemap.xml.gz and /sitemap.txt. If a sitemap URL you enter returns 404, it searches the site for the real one.
A site has no sitemap. What happens?
The site is listed in SUMMARY with status no_sitemap, and you are not charged. For sites without sitemaps you need a link crawler instead.
Does it crawl the pages themselves?
No. It reads only the sitemap files, which keeps it fast and cheap. Use the URL list as input for any page scraper.
Can it handle huge sites?
Yes. Sitemap indexes with hundreds of files are followed (up to Max sitemap files per website, default 500). Use Only sitemaps containing (for example post-sitemap or products) to read only the parts you need.
Is it legal?
Sitemaps are files that websites publish specifically so that machines can read their URL lists. The Actor sends a clearly identified user agent and paces its requests.
Found a bug or need a field?
Open an issue on the Issues tab. We reply quickly.
Related Actors by data_factory_nerd
| Actor | What it does |
|---|---|
| Bulk WHOIS & DNS Lookup | Domain age, expiry, registrar, MX, SPF and DMARC for thousands of domains |
| Wayback Machine Scraper | Archived snapshots and page history of any URL or domain |
| Workday Jobs Scraper | Every job from any myworkdayjobs.com careers site |