Sitemap Scraper: Extract All URLs from XML Sitemaps
Pricing
Pay per event
Sitemap Scraper: Extract All URLs from XML Sitemaps
Get every URL a website lists in its XML sitemaps (index, gzip, news, image, hreflang), with lastmod, priority and news titles. Auto-finds sitemaps via robots.txt. Monitor mode outputs only URLs that are new since the last run. $0.30 per 1,000 URLs.
Pricing
Pay per event
Rating
0.0
(0)
Developer
berryish_pillar
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Sitemap URL Extractor & New-URL Monitor: get all URLs from any website
Give it a domain or a sitemap URL and get every URL the site publishes in its XML sitemaps, with lastmod, changefreq, priority, image counts, Google News titles and hreflang alternates. It finds sitemaps automatically through robots.txt and common paths, follows sitemap indexes, and reads .xml.gz and plain-text sitemaps.
Turn on monitor mode and schedule it to get only the URLs that are new since the last run: new products, blog posts, job pages, news articles or landing pages on any site.
$0.30 per 1,000 URLs. Sitemap reads and robots.txt requests are free.
What can it do?
- 🌐 Domain in, all URLs out.
apify.comgives you every URL from every sitemap that robots.txt lists, across nested indexes. In our test that was 1,003,479 URLs from 23 sitemap files in seconds. - 🗂️ Every sitemap format: sitemap index, urlset, gzip, Google News (
news:title, publication date), image sitemaps, hreflangxhtml:linkalternates, plain-text sitemaps. - 🆕 New-URL monitor: remembers every URL per site and outputs only new ones.
RUN_SUMMARYalso counts URLs removed since the last run. URL memory needs a run with full permissions or from the Actor owner's account; limited-permission runs still extract every sitemap URL, but treat all of them as first-seen. - 🔎 Filters: include/exclude regex,
lastmodon or after a date, same-domain only. - ⚡ Fast and cheap: no browser, no page crawling. It reads only the sitemap files.
- 🤖 Polite: robots.txt respected, rate limited per host, retries with backoff, per-site timeout.
Who uses this?
- SEO teams: inventory a site, compare against a crawl, find pages missing from Google.
- Competitive intelligence: get alerts when a competitor publishes new product, pricing, landing or docs pages.
- AI / RAG pipelines: get the clean URL list to feed into a content crawler, and only re-crawl what changed (
lastmodAfter,onlyNewUrls). - News and content monitoring: track new articles via Google News sitemaps with titles and timestamps.
- E-commerce: watch for new product URLs on any store (pairs with our Shopify Products Monitor).
How to use it
- Add domains or sitemap URLs.
- Optionally set Max URLs per site, filters, or turn on Only URLs that are new since the last run.
- Click Start and download JSON, CSV or Excel, or read the dataset from the API. Add a Schedule for monitoring.
Input example
{"startUrls": [{ "url": "https://apify.com" }, { "url": "https://www.nytimes.com/sitemaps/new/news.xml.gz" }],"maxUrlsPerSite": 1000,"includeUrlPatterns": [],"onlyNewUrls": false}
Output example
{"site": "nytimes.com","url": "https://www.nytimes.com/es/2026/11/16/espanol/estilos-de-vida/apego-ansioso-evitativo-seguro.html","lastmod": "2026-11-16T06:07:13Z","changefreq": null,"priority": null,"imageCount": 0,"newsTitle": "¿Tienes un apego ansioso, evitativo o seguro?","newsPublicationDate": "2026-11-16T06:07:13Z","alternates": [],"sitemap": "https://www.nytimes.com/sitemaps/new/news.xml.gz","isNew": null,"scrapedAt": "2026-11-17T16:53:17Z"}
How much does it cost?
Pay per event:
| Event | Price |
|---|---|
| URL returned | $0.0003 ($0.30 per 1,000 URLs) |
Examples: a 5,000-page site costs $1.50. A daily new-URL monitor on 30 competitor sites that finds 100 new URLs a day costs $0.03 a day. In monitor mode you pay only for new URLs. Set Maximum cost per run in run options and the Actor stops cleanly at that amount.
Tips and limits
- The Actor only knows what the sitemap lists. Sites without a sitemap return
no_sitemapinRUN_SUMMARY(you're not charged). Use our SEO Site Audit to crawl those by links. - For sites with more than 350,000 URLs, new-URL tracking isn't saved (the URL list is still returned).
lastmodis whatever the site publishes; some sites set it to the crawl date for every URL.
Is it legal? Responsible use
Sitemaps are files that websites publish specifically so that machines can discover their URLs. The Actor reads only those files and robots.txt, identifies itself and respects robots.txt. It collects no personal data.
FAQ
Does it visit every page? No. It reads the sitemap files only, which is why it's fast and cheap.
Can I pass a specific sitemap? Yes. Paste its URL directly, including .xml.gz files and news sitemaps.