Go to example tasks

List all page URLs from a website sitemap.xml

Give a sitemap.xml or sitemap index URL and get every page URL it lists, with lastmod, changefreq and priority. Nested sitemap indexes and gzip sitemaps are followed. Filter by regex or last-modified date to get only the pages you need for crawling, audits or change tracking.

Try for free
Sitemap Extractor - Sitemap URL Scraper for XML & Gzip
Sitemap Extractor - Sitemap URL Scraper for XML & Gzipahmed.fouaad82/sitemap-extractor
loc
lastmod
changefreq
priority
+5 fields
Text
Number
Boolean
List
Object

Input

startUrls
url:https://docs.apify.com/sitemap.xml
maxUrls:25

Output fields

loc
lastmod
changefreq
priority
sitemapSource
alternates
images
videos
news

How it works

Sign up on Apify or log in

The Sitemap Extractor - Sitemap URL Scraper for XML & Gzip Actor is ready to run with the inputs already set for "List all page URLs from a website sitemap.xml". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "List all page URLs from a website sitemap.xml" task

The Sitemap Extractor - Sitemap URL Scraper for XML & Gzip Actor will start running based on the input automatically. You can also change all the input fields, like starturls and maxurls, to match your specific use case.

Receive the "List all page URLs from a website sitemap.xml" 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 loc, lastmod, changefreq, 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 "List all page URLs from a website sitemap.xml" task via API.

Image

Integrate "List all page URLs from a website sitemap.xml" into your workflow

Connect "List all page URLs from a website sitemap.xml" 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

The sitemap URLs task returns one row per unique page URL found in the sitemap, with lastmod, changefreq, priority and the sitemap it came from.

Yes. The sitemap URLs task follows nested sitemap index files and gzip sitemaps up to the maxSitemaps limit, and removes duplicate URLs.

The first 25 saved unique URLs of every run of the sitemap URLs task are free. After that the Actor charges per saved URL; the Pricing tab shows the current price.