Sitemap URL Extractor: XML Sitemap Parser avatar

Sitemap URL Extractor: XML Sitemap Parser

Pricing

$0.30 / 1,000 url extracteds

Go to Apify Store
Sitemap URL Extractor: XML Sitemap Parser

Sitemap URL Extractor: XML Sitemap Parser

Extract every URL from a website's XML sitemaps. Auto-discovers sitemaps from robots.txt and common paths, follows sitemap indexes, and reads gzip (.xml.gz) and text sitemaps. Returns lastmod, changefreq, priority, hreflang, images and video. Filter by regex or date. $0.30 per 1,000 URLs.

Pricing

$0.30 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Ivan Alvarado

Ivan Alvarado

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Features

Limited permissions

Share

Sitemap URL Extractor: XML Sitemap Parser for Every Page URL

Extract all URLs from any website's XML sitemaps in seconds. Give it a domain and it finds the sitemaps for you (robots.txt Sitemap: lines, /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml), follows sitemap indexes recursively, and reads gzip (.xml.gz) and plain-text sitemaps. Filter, then download as JSON, CSV or Excel.

What you get for each URL

url, lastmod, changefreq, priority, hreflang alternates, image count, video flag, news title, and the source sitemap. A per-site summary records how the sitemaps were discovered, how many were read, and any errors.

Filters

  • includePattern / excludePattern: regex filters (for example, only /blog/ or /products/)
  • modifiedAfter: only pages changed since a date, which is great for monitoring new or updated content on a schedule
  • maxUrlsPerSite: cap the volume and the cost

Use cases

Crawl planning (feed URLs into other Actors), SEO audits and indexation checks, competitor content monitoring, migration URL inventories, finding all product or blog pages, and building RAG and LLM ingestion lists.

Input example

{ "startUrls": ["https://crawlee.dev", "https://apify.com/sitemap.xml"], "maxUrlsPerSite": 1000, "includePattern": "/blog/", "modifiedAfter": "2026-01-01" }

Output example

{ "site": "https://crawlee.dev", "url": "https://crawlee.dev/blog", "lastmod": null, "changefreq": "weekly", "priority": 0.5, "alternates": [], "imageCount": 0, "hasVideo": false, "sitemap": "https://crawlee.dev/sitemap.xml" }

Pricing (pay per event)

$0.0003 per URL extracted ($0.30 per 1,000 URLs). You pay only for URLs saved after your filters, and duplicates are removed for free.

FAQ

The site has no sitemap? You get zero results and pay nothing. The run log and the SUMMARY-<host> record say so. Does it crawl pages? No. It only reads the sitemap files the site publishes for crawlers.

Keywords

sitemap extractor, sitemap URL extractor, XML sitemap extractor, XML sitemap parser, extract URLs from sitemap, sitemap crawler, sitemap index, lastmod, hreflang, image sitemap, news sitemap.