Sitemap URL Extractor
Pricing
$1.00 / 1,000 results
Sitemap URL Extractor
Sitemap URL Extractor returns every page URL listed in a website's sitemaps, with the lastmod date for each one, for a site or sitemap link you give it. You type in a homepage like https://nodejs.org or a direct sitemap link like https://apify.com/sitemap.xml. You get one row per site you type in.
Sitemap URL Extractor – sitemap extractor and page URL list export
Sitemap URL Extractor returns every page URL listed in a website's sitemaps, with the lastmod date for each one, from a site or sitemap link you give it. You type in a homepage like https://nodejs.org or a direct sitemap link like https://apify.com/sitemap.xml.
You get one row per site you type in. Each row has the urls list (each item with url and lastmod), urlCount, sitemapsFetched, a status, and a plain reason when a limit or a problem stopped the read.
Schedule it to run daily or weekly and compare lastmod values between runs to spot new or changed pages.
Why this one
- Finds sitemaps for you. Give it a homepage and it discovers the sitemaps from robots.txt.
- Follows nested indexes. Sitemap index files are opened and the child sitemaps are read, up to the limit you set.
- One row per input. Every site gets a record with a
statusofok,not_found,invalidorerror, so one bad link doesn't spoil the run. - Clear limits. When a limit stops a site early, the row is marked
truncatedand thereasonsays so. - Fair price. $1.00 per 1,000 results, and runs with no results cost nothing.
Quick start
{"sites": ["https://apify.com", "https://nodejs.org", "https://www.gov.uk"],"maxUrlsPerSite": 5,"maxSitemapsPerSite": 5}
This returns one row per site, each holding up to 5 page URLs with their lastmod dates.
What you can use it for
| Who | What for |
|---|---|
| SEO consultants | Pull a client's full URL list to check indexing and find stale pages by lastmod |
| Developers | Check a sitemap migration kept every URL after a site rebuild |
| Content teams | See which pages changed recently and plan updates |
| Market researchers | Count and group a competitor's product or blog pages |
| AI agent builders | Get a list of pages to crawl before fetching content |
How to use it
- Click Try for free.
- In Sites or sitemap URLs, add one site per line, such as
https://nodejs.orgorhttps://apify.com/sitemap.xml. You can add up to 100. - Set Max URLs per site, for example
1000. - Set Max sitemap files per site, for example
50, to cap how many XML files are read on big sites. - Click Start.
Tip: add the run to Schedules and compare the urls list between runs to catch new pages.
What data you get
Each row describes one input site and the URLs found in its sitemaps.
| Field | What it is | Example |
|---|---|---|
id | The site's host name | nodejs.org |
input | The value you passed, echoed back | https://nodejs.org |
status | ok, not_found, invalid or error | ok |
reason | Plain explanation of why the run stopped or failed | Stopped at the configured limit |
siteUrl | The site's origin | https://nodejs.org |
sitemapsFound | Sitemap links discovered | ["https://nodejs.org/sitemap.xml", "https://nodejs.org/learn/sitemap.xml"] |
sitemapsFetched | Number of sitemap files read | 1 |
urlCount | Number of page URLs returned | 5 |
truncated | True when a limit stopped the read early | true |
urls | List of { url, lastmod } items | { "url": "https://nodejs.org/en/blog", "lastmod": "2026-11-12T14:01:22.349Z" } |
checkedAt | When the site was checked, ISO 8601 | 2026-11-15T10:51:30.649Z |
source | Where the sitemaps were found, with a link | { "name": "robots.txt", "url": "https://nodejs.org/robots.txt" } |
In a test run on 15 Nov 2026 with three sites and a limit of 5 URLs each, the run returned 3 rows.
Pricing
| Event | Price |
|---|---|
| Result (one row per site) | $0.001 |
| Run | Cost |
|---|---|
| 100 results | $0.10 |
| 1,000 results | $1.00 |
| 10,000 results | $10.00 |
There is no start fee, and runs with no results cost nothing.
Good to know
- Limits: up to 100 sites per run, up to 50,000 URLs and 500 sitemap files per site.
- Where the data comes from: the site's own public robots.txt and sitemap XML files.
- What is not included: pages not listed in a sitemap, and page content.
lastmodisnullwhen the site doesn't provide it, as with apify.com in the test run. - Freshness: data is fetched live at run time, so it is only as current as each site's sitemap.
- Not affiliated: this tool isn't affiliated with or endorsed by the owners of any website whose sitemaps you read.
FAQ
Can I pass a sitemap link directly?
Yes. Add a link like https://apify.com/sitemap.xml and it is read directly.
What happens if a site has no sitemap?
You get a row with status set to not_found and a reason, and the run carries on.
How do I get more than 1,000 URLs per site? Raise Max URLs per site, up to 50,000. Raise Max sitemap files per site too if the site has many sitemap files.
How do I export sitemap URLs to Excel or CSV? Run the tool, then download the results as Excel or CSV from the Output tab.
Getting the data out
Download results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the Integrations tab. Every run is available through the Apify API, and you can run it on a timetable from Schedules.
Questions or problems
Open an issue on the Issues tab and include the run link. I reply within one business day.
Related tools
- Bulk Email Syntax and MX Validator: check email addresses in bulk
- TED Europa Tender Scraper: export public tenders from TED Europa
- Companies House Company Scraper: export UK company records