Sitemap Extractor - All Website URLs from XML Sitemaps avatar

Sitemap Extractor - All Website URLs from XML Sitemaps

Pricing

from $0.08 / 1,000 url extracteds

Go to Apify Store
Sitemap Extractor - All Website URLs from XML Sitemaps

Sitemap Extractor - All Website URLs from XML Sitemaps

Sitemap extractor: get all URLs of any website from its XML sitemaps. Auto-finds sitemaps via robots.txt, follows sitemap indexes and .xml.gz. lastmod, priority, hreflang, image and video sitemap data, regex and date filters. $0.10 per 1,000 URLs.

Pricing

from $0.08 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Leping Gong

Leping Gong

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Sitemap Extractor — Get All URLs of a Website from XML Sitemaps (sitemap.xml, Index, .gz, Image & News Sitemaps)

Enter a domain and get every URL of the website from its sitemaps — or paste sitemap URLs directly. The extractor finds sitemaps automatically (robots.txt Sitemap: lines, /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml …), follows sitemap indexes recursively, unpacks .xml.gz, reads sitemap.txt and RSS / Atom feeds, and returns each URL with lastmod, changefreq, priority, hreflang alternates, image sitemap and video sitemap data and Google News sitemap fields.

Fast and cheap — $0.10 per 1,000 URLs, no start fee.

Why this sitemap extractor?

  • 🔍 Sitemap finder — just type example.com; robots.txt and common sitemap locations are checked for you
  • 🗂️ Sitemap index + .gz — nested indexes (up to 5 levels), gzip, 50,000-URL files, broken XML (regex fallback)
  • 📅 New & updated pages — Modified since keeps only URLs with a recent lastmod; child sitemaps that weren't modified are skipped
  • 🎯 Regex filters — include /blog/ or /products/, exclude /tag/|/page/
  • 🖼️ Image & video sitemaps — image URLs, titles, captions; video title, thumbnail, duration
  • 🌍 hreflang — xhtml:link alternate language URLs per page
  • 📰 Google News sitemaps — article title, publication date, publication name, language
  • 🧾 Optional list of every sitemap file with its type and URL count (free rows)

Input

{
"urls": ["apify.com", "https://www.bbc.com/sitemaps/https-index-com-news.xml"],
"includePattern": "/store/",
"modifiedSince": "2026-11-01",
"maxUrlsPerDomain": 10000
}

Output

{
"url": "https://www.bbc.com/sport/cricket/articles/c0q44le0z5wo",
"domain": "www.bbc.com",
"path": "/sport/cricket/articles/c0q44le0z5wo",
"lastmodIso": "2026-11-15T13:34:57+00:00",
"changefreq": null,
"priority": null,
"sitemapUrl": "https://www.bbc.com/sitemaps/https-sitemap-com-news-1.xml",
"imageCount": 0,
"alternates": [],
"news": {"title": "Australia v England: ...", "publicationDate": "2026-11-15T13:34:57Z", "publicationName": "BBC News", "language": "en"}
}

Use cases

  • Website URL list for crawling, scraping or content audits — feed the URLs into any other Actor
  • SEO audits — count indexable pages, find pages without lastmod, check hreflang coverage. Pair with the SEO Meta Tags & Schema Extractor and the Bulk URL Status Checker
  • Competitor monitoring — schedule daily with Modified since to see new products, blog posts or landing pages
  • News monitoring — read Google News sitemaps of publishers for the latest articles
  • Site migrations — export the full URL inventory before and after a redesign
  • AI / RAG pipelines — get the list of documentation pages to load into your knowledge base

Tips & limits

  • Websites without any sitemap are reported with an error row (not charged).
  • URLs are deduplicated across sitemaps. A Max URLs per website limit also stops downloading further sitemap files.
  • Some sites block datacenter IPs — enable Proxy → Apify Proxy.

Pricing

  • URL extracted — $0.10 per 1,000 URLs. Sitemap list rows and errors are free.

Discounts for Apify Silver, Gold and higher plans.

Integrations & API

  • API — run it from Python, Node.js or any language with the Apify API / apify-client; export JSON, CSV or Excel.
  • Schedules — run daily or weekly and watch for new pages.
  • Zapier, Make, n8n, Google Sheets, Slack, webhooks — send new URLs to your tools.
  • AI agents (MCP) — use it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server.

FAQ

Does it crawl the website? No — it reads the sitemaps the website publishes, which is much faster and cheaper than crawling.

What if a site lists its sitemaps only in robots.txt? That's the first place we look.

Is there a limit on sitemap size? Standard sitemaps hold up to 50,000 URLs per file; indexes of hundreds of files are fine.

More from ScrolahData