Sitemap Extractor — Expand XML Sitemaps to URL Lists
Under maintenancePricing
from $0.72 / 1,000 sitemap urls
Sitemap Extractor — Expand XML Sitemaps to URL Lists
Under maintenanceFetch any XML sitemap (or a domain) and get a clean list of all its URLs with lastmod, changefreq and priority. Follows sitemap indexes and gzipped sitemaps. Great for SEO and crawling.
Pricing
from $0.72 / 1,000 sitemap urls
Rating
0.0
(0)
Developer
Marouane Oulabass
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Share
Sitemap Extractor — XML Sitemap URLs to Clean JSON
Fetch any XML sitemap (or a whole domain) and get a clean list of all its URLs. Point this actor at a sitemap or a domain and get back a tidy row per URL with lastmod, changefreq and priority. It follows sitemap indexes and unpacks gzipped sitemaps automatically. No setup, no anti-bot.
AI-agent ready: this Actor is callable and payable by AI agents via x402 (USDC on Base), no Apify account required.
The fast way to discover every URL on a site for SEO, crawling and migration.
Who uses this
- 🔎 SEO teams — audit indexed URLs,
lastmodfreshness and priorities. - 🕷️ Crawlers & scrapers — get a complete URL seed list before a crawl.
- 🔀 Site migrations — inventory every URL to map redirects.
- 🤖 AI / LLM pipelines — discover pages to ingest for a knowledge base.
- 🧑💻 Developers — a clean sitemap parser without handling XML/gzip yourself.
What you get — one clean row per URL
| Field | Description |
|---|---|
loc | The page URL |
lastmod | Last-modified date |
changefreq | Change frequency hint |
priority | Priority hint (0.0–1.0) |
sitemap | Source sitemap the URL came from |
ok, scrapedAt | Status & provenance |
Example
Input
{ "sitemapUrls": ["https://www.apify.com/sitemap.xml"], "maxUrls": 5000 }
(you can also pass a bare domain — the sitemap is discovered automatically)
Output (one item)
{"sitemap": "https://www.apify.com/sitemap.xml","loc": "https://apify.com/store","lastmod": "2026-07-01","changefreq": "daily","priority": 0.8}
Why this actor
- ✅ Follows sitemap indexes — expands nested sitemaps automatically.
- 🗜️ Handles gzip — unpacks
.xml.gzsitemaps for you. - 🌐 Domain or sitemap URL — pass either; it finds the sitemap.
- 🎯 Cap the output — set
maxUrlsfor large sites. - ⚡ Fast & affordable — pay only per URL returned. No setup, no anti-bot.
Input options
sitemapUrls(required) — sitemap URLs or bare domains.maxUrls— cap the total URLs returned (for very large sites).
FAQ
Does it follow sitemap index files? Yes — nested sitemaps are expanded automatically.
Gzipped sitemaps? Yes — .xml.gz sitemaps are unpacked transparently.
Can I pass a domain instead of a sitemap URL? Yes — the sitemap is discovered from the domain.
How fresh is the data? Live — it fetches the sitemap in real time on every run.
Can I export to CSV/Excel/Google Sheets? Yes — the dataset exports to JSON, CSV, Excel and HTML, or pull it via the API.
What does it cost? Pay-per-URL — you're only charged for URLs actually returned.
Tip: run this before a crawl to get a complete, deduplicated seed list of a site's pages.