Sitemap URL Extractor: All URLs, lastmod, hreflang
Pricing
from $0.07 / 1,000 urls extracted
Sitemap URL Extractor: All URLs, lastmod, hreflang
Get every URL of a website from its sitemaps. Input: website or sitemap URLs. Output: one JSON row per URL with lastmod, changefreq, priority and hreflang (robots.txt discovery, nested indexes, .xml.gz). Regex and date filters, new-page monitoring.
Pricing
from $0.07 / 1,000 urls extracted
Rating
0.0
(0)
Developer
Plainprobe
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
2 hours ago
Last modified
Categories
Features
Share
Get every URL of a website from its XML sitemaps, as clean JSON. Give a domain; the Actor finds the sitemaps (robots.txt, then the standard paths), follows nested sitemap indexes and .xml.gz files, and returns one row per URL with its last modification date, change frequency, priority, image count and hreflang alternates.

For AI agents (MCP)
- Tool:
plainprobe/sitemap-url-extractorvia the Apify MCP server (https://mcp.apify.com). - Minimal input:
{"sites": ["example.com"], "maxUrlsPerSite": 100} - Key output fields (rows with
type: "url"):url,lastmod(ISO 8601 UTC ornull),changefreq,priority,alternates[{hreflang, href}],sitemap. One row per site withtype: "site":status,urlCount,truncated,errors[{code, message}]. - Cost: $0.0001 per URL returned ($0.10 per 1,000). Site summaries and failed sites are free.
- Time: about 1 to 3 seconds per site for up to 10,000 URLs; 120 seconds maximum per site (partial result with
SITE_TIME_LIMIT). - Limits: 1,000 sites per run, 500,000 URLs per site, 200 sitemap files and 3 index levels per site.
What does Sitemap URL Extractor do?
| Row type | Fields |
|---|---|
url (one per page URL) | url, lastmod (ISO 8601), changefreq, priority, images count, alternates (hreflang), source sitemap, change in monitor mode, checkedAt |
site (one per site) | status, sitemapsFound, urlCount, urlsReturned, truncated, removed (monitor mode), typed errors, durationMs |
Runs on Apify: call it from the API or an AI agent (MCP), schedule it, connect it to Make, Zapier or n8n, and export results as JSON, CSV or Excel.
How to use Sitemap URL Extractor (start in 30 seconds)
- Click Try for free.
- Keep the default input (apify.com and wordpress.org, 100 URLs each) or type your own domains; raise
maxUrlsPerSiteto get every URL. - Click Start. The URLs appear in the Output tab in a few seconds; export them as JSON, CSV or Excel.
- To get only new and updated pages each day, turn on monitor mode and add a daily schedule.
Use it from your code, an AI agent or a no-code tool
- API:
POST https://api.apify.com/v2/acts/plainprobe~sitemap-url-extractor/run-sync-get-dataset-items?token=<YOUR_TOKEN>with{"sites": ["example.com"]}as JSON body; the URLs come back in the response. - AI agents (MCP): add the Apify MCP server (
https://mcp.apify.com) to Claude, Cursor or any MCP client; the Actor is callable as a tool (details in the section above). - No-code: n8n, Make and Zapier have official Apify integrations (Run Actor, then Get dataset items), for example to send new blog or product URLs to a sheet or a Slack channel every morning.
When to use it
- Build a crawl list or an inventory of all pages of a site, without crawling it.
- Get the pages published or updated since a date (
since), e.g. new articles or products. - Watch competitors or your own sites: monitor mode returns only new and updated URLs, and lists removed ones.
- Check hreflang coverage across languages.
When not to use it
- The site has no sitemap (the Actor says
NO_SITEMAP_FOUND): use a crawler instead. - You need page content, titles or status codes: this Actor reads sitemaps only; it does not open the pages. To check which listed URLs are broken or redirect, pass them to Bulk URL Status Checker.
Input
| Field | Default | Description |
|---|---|---|
sites | ["apify.com"] | Domains or URLs, up to 1,000. |
sitemapUrls | none | Exact sitemap or index URLs, to skip discovery. |
include / exclude | none | Case-insensitive regex on the URL (max 200 characters). |
since | none | Keep URLs with lastmod on or after this date; old child sitemaps are skipped without download. |
maxUrlsPerSite | 10,000 (form: 100) | You pay only for URLs returned. |
monitor, monitorName | off, default | Only new and updated URLs since the previous run with the same name. If the named store cannot be created (limited permissions), the run returns one MONITOR_STORE_UNAVAILABLE item and charges nothing. |
Output example
Real rows from the benchmark run (www.ovh.com, sitemapsFound shortened):
{"type": "url","site": "https://www.ovh.com","url": "https://www.ovh.com/sg/solutions/load-balancer/infrastructure-hybride.xml","lastmod": "2021-12-20T00:00:00.000Z","changefreq": "monthly","priority": 1,"images": 0,"alternates": [],"sitemap": "https://www.ovh.com/sg/sitemap-sg.xml","change": null,"checkedAt": "2026-12-01T12:42:11.226Z"}
{"type": "site","site": "https://www.ovh.com","status": "ok","sitemapsFound": ["https://www.ovh.com/sg/sitemap-sg.xml","https://www.ovh.com/ca/en/sitemap-ca-en.xml","…"],"urlCount": 165,"urlsReturned": 165,"truncated": false,"removed": null,"errors": [],"checkedAt": "2026-12-01T12:42:11.226Z","durationMs": 1237}
How much does it cost to extract sitemap URLs?
Free to try: the Apify free plan includes $5 of platform credit every month, enough for about 50,000 URLs with this Actor.
| Event | When | Price |
|---|---|---|
url_extracted | One URL returned in the dataset | $0.0001 |
| Actor start | Once per run, per GB of memory | $0.00005 |
Site rows, failed sites and URLs removed by your filters are free. 10,000 URLs cost $1. Set maxUrlsPerSite to cap the cost per site.
Benchmarks
Measured on 2026-12-01 against apify/sitemap-extractor, same 5 sites (python.org, ovh.com, djangoproject.com, rust-lang.org, debian.org):
| This Actor | apify/sitemap-extractor | |
|---|---|---|
| Sitemap URLs found | 1,191 / 1,191 | 1,191 / 1,191 |
| Non-sitemap URLs mixed in | 0 | 5,865 (HTML pages ending in .xml parsed as sitemaps) |
| Sites with no sitemap | explicit NO_SITEMAP_FOUND row, free | silently empty |
| Fields | lastmod, changefreq, priority, images, hreflang, source sitemap | url |
| Time | 2.9 s | 24 s (stopped at a $0.25 cap) |
| Price per URL | $0.0001 | $0.0005 (FREE plan) to $0.0001 (GOLD) |
Errors (stable codes)
NO_SITEMAP_FOUND, SITE_UNREACHABLE, INVALID_INPUT, BLOCKED_ADDRESS (private or internal addresses are refused), SITEMAP_INVALID, SITEMAP_UNAVAILABLE, SITEMAP_TOO_LARGE, SITEMAP_TOO_DEEP, SITEMAP_LIMIT, SITE_TIME_LIMIT, TIMEOUT. A broken child sitemap never fails the site: its error is listed and the other files are still read.
Privacy and limits
- Reads only public
robots.txtand sitemap files, the files a site publishes for crawlers. No pages are crawled, no login, no bypass of bot protections; private and internal addresses are refused. - 1,000 sites per run; per site: up to 200 sitemap files, 3 levels of nested indexes, 50 MB per uncompressed sitemap, a 120 s budget (partial result with
SITE_TIME_LIMITbeyond), andmaxUrlsPerSite(default 10,000, max 500,000). - Monitor snapshots are kept for sites with up to 100,000 URLs. Runs use 512 MB of memory by default.
Data source
Sitemaps are files that sites publish for search engines and crawlers (sitemaps.org protocol). The Actor reads only these public files and robots.txt, with a clear user agent, and returns page addresses and dates: no personal data.
FAQ, disclaimers and support
Does it crawl the site? No. It reads only the sitemaps the site publishes, so it returns exactly what the site declares, fast and cheap. Pages that are linked but not listed in a sitemap are not returned.
Some URLs end in .xml. Are they sitemaps? Only if they are listed in a sitemap index. Inside a urlset, they are pages and are returned as pages, never fetched.
How do I get only new pages? Use since with a date, or turn on monitor and schedule the Actor: each run returns only new and updated URLs, and the site row lists removed ones.
Are compressed sitemaps supported? Yes, .xml.gz files up to 50 MB each.
Can I call it from an AI agent? Yes, through the Apify MCP server or the Apify API; the input and output are plain JSON with stable error codes.
Disclaimer. Results reflect what public sources returned at checkedAt; verify them before any legal or financial decision. Plainprobe is independent and not affiliated with the sites or registers it reads.
Support. Found a wrong result or need a field? Open an issue in the Issues tab: we read issues every day.
More from Plainprobe
Step-by-step guide: find all pages of a website. Other Plainprobe tools and how to call them from an AI agent: plainprobe.github.io.