Go to example tasks

Find broken pages listed in a sitemap

Read a website's XML sitemap and check the HTTP status of every URL in it: find pages that return 404 or 500, pages that redirect, and URLs that robots.txt blocks. A sitemap should only list live pages, so every error here is a URL to fix or remove. Export the list as CSV or JSON.

Try for free
Sitemap Extractor — All URLs, lastmod, Images & hreflang
Sitemap Extractor — All URLs, lastmod, Images & hreflangsaliga/sitemap-extractor
URL
Last modified
HTTP status
Sitemap
+2 fields
Text
Number
Boolean
List
Object

Input

Websites or sitemap URLs(required):https://crawler-test.com/test_sitemap.xml
Max URLs per site:60
Keep URLs without lastmod:false
Only URLs matching
Skip URLs matching
Images, hreflang and news:true
Check HTTP status:true
Max status checks per site:60
Max sitemap files per site:1000

Output fields

URL
Last modified
HTTP status
Sitemap
Site
Error

How it works

Sign up on Apify or log in

The Sitemap Extractor — All URLs, lastmod, Images & hreflang Actor is ready to run with the inputs already set for "Find broken pages listed in a sitemap". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Find broken pages listed in a sitemap" task

The Sitemap Extractor — All URLs, lastmod, Images & hreflang Actor will start running based on the input automatically. You can also change all the input fields, like websites or sitemap urls, max urls per site, and more, to match your specific use case.

Receive the "Find broken pages listed in a sitemap" 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, HTTP status, 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 "Find broken pages listed in a sitemap" task via API.

Image

Integrate "Find broken pages listed in a sitemap" into your workflow

Connect "Find broken pages listed in a sitemap" 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