Go to example tasks

Get every URL from a sitemap

Extract all URLs from any sitemap.xml via API. Follows nested sitemap indexes; returns loc, lastmod, changefreq, priority as JSON. $0.005 per sitemap file + $0.

Try for free
Sitemap URL Extractor — Every URL in a sitemap.xml as JSON
Sitemap URL Extractor — Every URL in a sitemap.xml as JSONeliai/sitemap-url-extractor
Loc
Lastmod
Changefreq
Priority
+1 field
Text
Number
Boolean
List
Object

Input

Sitemap URL or domain:https://www.apify.com/sitemap.xml
Multiple sitemap URLs / domains:https://apify.com/sitemap.xml
Max URLs:5000
Follow nested sitemap index files:true

Output fields

Loc
Lastmod
Changefreq
Priority
Source Sitemap

How it works

Sign up on Apify or log in

The Sitemap URL Extractor — Every URL in a sitemap.xml as JSON Actor is ready to run with the inputs already set for "Get every URL from a sitemap". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Get every URL from a sitemap" task

The Sitemap URL Extractor — Every URL in a sitemap.xml as JSON Actor will start running based on the input automatically. You can also change all the input fields, like sitemap url or domain, multiple sitemap urls / domains, and more, to match your specific use case.

Receive the "Get every URL from 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 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 "Get every URL from a sitemap" task via API.

Image

Integrate "Get every URL from a sitemap" into your workflow

Connect "Get every URL from 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