Go to example tasks

Extract URLs from a website's XML sitemaps

Point this sitemap URL extractor at a homepage. It reads robots.txt, tries common sitemap paths, follows nested indexes and gzip, and returns each URL with lastmod, changefreq and priority. Capped at 500 URLs. $0.50 per 1,000 extracted URLs; failures free.

Try for free
Sitemap URL Extractor: Bulk XML Sitemap Parser
Sitemap URL Extractor: Bulk XML Sitemap Parserhillcountrybots/sitemap-url-extractor
URL
Last modified
Change freq.
Priority
+3 fields
Text
Number
Boolean
List
Object

Input

Website or sitemap URLs(required):https://www.sitemaps.org/
Discover sitemaps from robots.txt:true
Also try common sitemap paths:true
Max URLs:500

Output fields

URL
Last modified
Change freq.
Priority
Source sitemap
Status
Error

How it works

Sign up on Apify or log in

The Sitemap URL Extractor: Bulk XML Sitemap Parser Actor is ready to run with the inputs already set for "Extract URLs from a website's XML sitemaps". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract URLs from a website's XML sitemaps" task

The Sitemap URL Extractor: Bulk XML Sitemap Parser Actor will start running based on the input automatically. You can also change all the input fields, like website or sitemap urls, discover sitemaps from robots.txt, and more, to match your specific use case.

Receive the "Extract URLs from a website's XML sitemaps" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, last modified, change freq., and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Extract URLs from a website's XML sitemaps" task via API.

Image

Integrate "Extract URLs from a website's XML sitemaps" into your workflow

Connect "Extract URLs from a website's XML sitemaps" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

A homepage is enough. The Actor reads robots.txt Sitemap: lines and also tries /sitemap.xml, /sitemap_index.xml and their .gz versions.

sitemaps.org has under 100 URLs, so this run stays under $0.05. The price is $0.50 per 1,000 extracted URLs. Failed fetches and filtered URLs are free.