Sitemap URL Extractor & Change Detector avatar

Sitemap URL Extractor & Change Detector

Pricing

Pay per usage

Go to Apify Store
Sitemap URL Extractor & Change Detector

Sitemap URL Extractor & Change Detector

Extract every URL from any website sitemap, with lastmod, priority, hreflang and images. Finds sitemaps automatically, checks status codes and detects new pages. Free.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Adaptive Labs

Adaptive Labs

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

13 days ago

Last modified

Features

Limited permissions

Share

Get every URL from a website's sitemap in seconds. Give this Actor a domain and it finds the sitemaps through robots.txt and the usual locations, follows sitemap indexes and gzip files, and returns each URL with its lastmod date, change frequency, priority, hreflang alternates and image count.

Switch on change detection and schedule it to get only the new, updated and removed pages on any site, perfect for competitor monitoring and SEO. Optionally check the HTTP status of every URL to find broken or redirected pages. No login, no API key and no proxy needed.

What you get

  • Automatic sitemap discovery from robots.txt, /sitemap.xml, /sitemap_index.xml, WordPress and gzip sitemaps
  • Follows nested sitemap indexes (up to 5 levels) and plain-text sitemaps
  • lastmod, changefreq, priority, hreflang alternates and image URLs for each page
  • Include and exclude filters with plain text or regular expressions
  • Optional HTTP status and redirect check for every URL (find 404s and redirects in your sitemap)
  • Change detection: only new, updated (lastmod changed) and removed URLs since the last run
  • Many sites in one run, with a per-site limit

Who uses it

  • SEO specialists: audit sitemaps, find broken or redirected URLs and check lastmod freshness
  • Competitor monitoring: get alerted when a competitor publishes new products, pages or blog posts
  • Content and growth teams: build a full URL inventory for migrations, internal linking or content audits
  • Developers and data teams: feed URL lists into crawlers, scrapers or RAG pipelines
  • Agencies: run one schedule across all client sites

Quick start (under a minute)

  1. Enter one or more websites (the example https://apify.com works out of the box) or direct sitemap URLs.
  2. Optionally add Only URLs containing filters such as /blog/, or tick Check HTTP status.
  3. Click Start. URLs appear in the Sitemap URLs table within seconds.
  4. To track new pages, turn on Change detection, set a Monitor name and add a daily schedule.

Input example

{
"startUrls": [
"https://www.example.com",
"https://competitor.example/sitemap_index.xml"
],
"maxUrlsPerSite": 10000,
"includePatterns": [
"/blog/"
],
"checkStatus": false,
"onlyNew": true,
"monitorName": "competitor-blog"
}

Input fields

  • startUrls: A domain (example.com), a home page or a sitemap URL. Sitemaps are discovered automatically.
  • includePatterns, excludePatterns: Plain text matches anywhere in the URL. Wrap in slashes for a regular expression.
  • onlyNew: First run saves everything as new. Later runs save only new, updated and removed URLs.

Output example

{
"url": "https://www.example.com/blog/how-to-choose-a-crm",
"lastmod": "2026-11-10T09:12:00+00:00",
"changefreq": "weekly",
"priority": 0.8,
"changeType": "new",
"previousLastmod": null,
"imageCount": 2,
"alternates": [
{
"hreflang": "de",
"href": "https://www.example.com/de/blog/crm-auswahl"
}
],
"site": "www.example.com",
"sitemapUrl": "https://www.example.com/post-sitemap.xml",
"statusCode": 200,
"redirectsTo": null,
"scrapedAt": "2026-11-11T07:00:00.000Z"
}

Output fields

  • changeType: new, updated or removed in change-detection mode, otherwise null.
  • statusCode, redirectsTo: Only when Check HTTP status is on.
  • alternates: hreflang language versions listed in the sitemap.

Use it from your code or tools

Apify API (cURL): start a run and get the results in one call:

curl -X POST "https://api.apify.com/v2/acts/adaptive_labs~sitemap-url-extractor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["https://apify.com"], "maxUrlsPerSite": 500}'

JavaScript / TypeScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('adaptive_labs/sitemap-url-extractor').call({
"startUrls": [
"https://apify.com"
],
"maxUrlsPerSite": 500
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("adaptive_labs/sitemap-url-extractor").call(run_input={
"startUrls": [
"https://apify.com"
],
"maxUrlsPerSite": 500
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

No-code and AI agents

  • Make, Zapier, n8n, Google Sheets, Slack: use the Apify integration for your tool, pick this Actor and map the dataset fields.
  • Schedules and webhooks: add the Actor to an Apify schedule (for example every morning) and send results anywhere with a webhook.
  • AI agents and MCP: this Actor works with the Apify MCP server, so Claude, ChatGPT, Cursor and other MCP clients can call it as a tool. Clean, flat JSON output is easy for LLMs to read.
  • Export: download results as JSON, CSV, Excel, XML or HTML from the Storage tab.

FAQ

What if the site has no sitemap? The Actor checks robots.txt and the common sitemap locations. If none exists it finishes with a clear message. You can also pass a sitemap URL directly.

Does it support huge sites? Yes. Sitemap indexes with hundreds of files are followed. Use Max URLs per site and Max sitemap files to control run time.

How does change detection work? The Actor remembers each URL and its lastmod under your monitor name. The next run with the same key saves only URLs that are new, have a different lastmod, or were removed.

Can I find broken links in my sitemap? Yes. Tick Check HTTP status to add the status code and redirect target of every URL.

Does it crawl the pages? No. It only reads sitemap files (and sends a HEAD request when status checks are on), so it is fast and light on the site.

Pricing

This Actor is free to use. You only pay for your own Apify platform usage (compute), and small runs use very little compute, so light use fits within the free monthly credit on Apify's free plan.

Feedback and support

We build and maintain this Actor at Adaptive Labs and we read every message.

  • If it helped you, please leave a quick review on the Actor page. It really helps other people find it.
  • Feature requests, bugs or a source you would like added: email support@adaptivelabs.app or open an issue on the Issues tab.

Responsible use

This Actor reads public robots.txt and sitemap files that websites publish for search engines. It does not log in or bypass access controls. Keep request volumes reasonable, especially with status checks on large sites.


If this Actor saved you time, a quick review on Apify Store would mean a lot. Ideas or problems? Email support@adaptivelabs.app.