Find redirected or broken URLs in a sitemap
Extract the URLs from a website's sitemaps and send one HEAD request to each to get its HTTP status code and redirect target, so you can spot redirects, 404s and server errors listed in the sitemap. $0.20 per 1,000 URLs plus $0.50 per 1,000 status checks. This example checks 50 URLs of htmx.org.
Input
Output fields
Sign up on Apify or log in
The Sitemap URL Extractor & Change Monitor: New & Removed Pages Actor is ready to run with the inputs already set for "Find redirected or broken URLs 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 redirected or broken URLs in a sitemap" task
The Sitemap URL Extractor & Change Monitor: New & Removed Pages Actor will start running based on the input automatically. You can also change all the input fields, like websites or sitemap urls, check http status of each url (paid add-on), and more, to match your specific use case.
Receive the "Find redirected or broken URLs 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, change frequency, 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 redirected or broken URLs in a sitemap" task via API.

Integrate "Find redirected or broken URLs in a sitemap" into your workflow
Connect "Find redirected or broken URLs in a sitemap" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
To find redirected or broken URLs in a sitemap costs $0.0002 per URL plus $0.0005 per status check ($0.70 per 1,000 URLs), plus a $0.00005 start fee. This 50-URL example costs about $0.035.
To find redirected or broken URLs in a sitemap, the actor sends one HEAD request per URL, does not follow redirects and respects robots.txt. statusCode and redirectLocation are added to each row.
Search engines expect sitemaps to list final, indexable URLs. When you find redirected or broken URLs in a sitemap, list the redirect targets instead and remove 404s so crawlers do not waste requests on them.
Yes. To find redirected or broken URLs in one section of a sitemap, add a pattern such as /blog/ under 'Only keep URLs matching', or enter that section's sitemap URL.