Sitemap URL Extractor - All Pages of Any Website avatar

Sitemap URL Extractor - All Pages of Any Website

Pricing

$0.30 / 1,000 urls

Go to Apify Store
Sitemap URL Extractor - All Pages of Any Website

Sitemap URL Extractor - All Pages of Any Website

Returns every URL listed in a website's XML sitemaps with lastmod, changefreq, priority and images. Finds sitemaps via robots.txt, follows sitemap indexes and .gz files. Input: domains or sitemap URLs. Filters: URL contains, modified in last N days.

Pricing

$0.30 / 1,000 urls

Rating

0.0

(0)

Developer

Blue Moon

Blue Moon

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Get every URL of a website from its XML sitemaps, in seconds. Just enter a domain: the Actor finds the sitemaps in robots.txt (or at /sitemap.xml, /sitemap_index.xml, /wp-sitemap.xml), follows sitemap indexes, reads .xml.gz files and returns one clean row per URL.

Features

  • Auto-discovery from robots.txt, or give sitemap URLs directly
  • Nested sitemap indexes, gzip sitemaps and plain-text sitemaps
  • lastmod, changefreq, priority, and optional image URLs
  • Filters: URL contains / excludes (e.g. only /blog/), modified in the last N days
  • Bulk: many websites per run, de-duplicated

Use cases

  • SEO audits and content inventories
  • Feed URLs to other scrapers (product pages, blog posts, job pages)
  • Monitor competitors' new pages (schedule with "modified in the last 1 day")
  • Build datasets for AI / RAG pipelines

Input example

{ "urls": ["apify.com", "https://www.example.com/sitemap.xml"], "urlContains": ["/blog/"], "modifiedSinceDays": 30 }

Output example

{ "url": "https://apify.com/blog/some-post", "lastmod": "2026-11-20", "changefreq": "weekly", "priority": 0.8, "domain": "apify.com", "sitemap": "https://apify.com/sitemap-blog.xml" }

Pay only per URL returned. Export to CSV, JSON, Excel or use the API, Make, Zapier, n8n.

How much does it cost?

$0.30 per 1,000 URLs ($0.0003 per URL). Example: a 20,000-page website costs about $6. Apify's free plan includes monthly platform credit, enough to try it at no cost.

How to use it

  1. Click Try for free (an Apify account is free).
  2. Fill in the input, or paste the JSON example below.
  3. Click Start and wait for the run to finish.
  4. Download the results as JSON, CSV, Excel or HTML, or get them by API, webhook or an integration (Google Sheets, Zapier, Make, n8n, Slack).

Run it by API

Run the Actor and get the results in one call:

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

Or use the official JavaScript and Python clients.

Use it from AI agents (MCP)

This Actor works as a tool for Claude, ChatGPT, Cursor, VS Code and other MCP clients through the Apify MCP server. Add this server URL to your client:

https://mcp.apify.com?tools=bluemoonstone/sitemap-url-extractor

Then ask, for example: "List every blog URL on example.com that changed in the last 30 days."

It also works with LangChain, LlamaIndex, CrewAI and the OpenAI Agents SDK through the Apify integrations.

FAQ

Do I need to know the sitemap URL?

No. Enter the homepage; the Actor finds the sitemaps automatically from robots.txt, and follows nested sitemap indexes, gzip and plain-text sitemaps.

Can I get only some pages?

Yes. Use urlContains, urlExcludes and modifiedSinceDays to filter.

Why use it instead of a crawler?

Reading sitemaps is much faster and cheaper than crawling and gives you lastmod dates, which is ideal for SEO audits, migrations and feeding other scrapers.

Something not working, or need a feature?

Open an issue in the Issues tab. Feature requests are welcome and shape what gets built next.

Responsible use

  • This Actor reads publicly available pages and data only. It never logs in and does not bypass CAPTCHAs or other access controls.
  • You must have the right to access each target and must follow its terms of service and all applicable laws (including privacy and data-protection laws such as GDPR).
  • It is not designed to collect personal data. Do not use it to build lists of people.
  • Not affiliated with, endorsed by or sponsored by any company, website or brand named here; names are used only to describe compatibility.