Sitemap Scraper: Extract All URLs from Any Website avatar

Sitemap Scraper: Extract All URLs from Any Website

Pricing

from $0.10 / 1,000 url saveds

Go to Apify Store
Sitemap Scraper: Extract All URLs from Any Website

Sitemap Scraper: Extract All URLs from Any Website

Extract every URL from a website's XML sitemaps: auto-discovers sitemaps via robots.txt, follows sitemap indexes, reads .xml.gz, and returns URL, lastmod, changefreq, priority, hreflang alternates and image URLs. Fast, no browser, ideal for SEO audits and crawl seeds.

Pricing

from $0.10 / 1,000 url saveds

Rating

0.0

(0)

Developer

veenkes

veenkes

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Features

Limited permissions

Share

A fast sitemap scraper / sitemap URL extractor. Enter a domain and it finds the sitemaps automatically (robots.txt and common locations), follows sitemap indexes, reads gzipped sitemaps, and returns every URL with lastmod, changefreq, priority, hreflang alternates and image URLs.

Perfect for SEO audits, content inventories and as a URL list for other crawlers. No browser — tens of thousands of URLs per minute.

Why use this sitemap scraper?

  • 🧭 Auto-discovery via robots.txt, sitemap.xml, sitemap_index.xml and wp-sitemap.xml.
  • 🪆 Nested sitemap indexes and .xml.gz handled.
  • 🌐 hreflang alternates and image URLs.
  • 🎯 Regex filter to keep only /blog/, /products/ and so on.
  • 💸 $0.10–$0.25 per 1,000 URLs.
  • 💸 From $0.10 per 1,000 URLs. No monthly rental.

Who is it for?

  • SEO specialists: audit indexable pages, lastmod freshness and hreflang setups.
  • Content and e-commerce teams: inventory every product or article URL of any site.
  • Developers: seed crawlers and change monitors with complete URL lists.
  • Competitive researchers: see how many pages and products a competitor has.

What data does it extract?

FieldExample
website, urlhttps://www.shopify.com/about
lastmod, changefreq, priority2026-11-16, weekly, 0.8
sitemapUrlthe sitemap file the URL came from
alternates[{"hreflang": "de", "url": "https://example.com/de/"}]
imagesimage URLs (optional)

How to use it

  1. Enter websites or sitemap URLs.
  2. Optionally set max URLs and a URL filter.
  3. Click Start and export to CSV, Excel or JSON.

Run it from the API

You can start this Actor from any language with the official Apify API client. Replace YOUR_APIFY_TOKEN with a token from Apify Console > Integrations. Never put the token in a public repo.

Python

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("veenkes/veenkes-sitemap-urls").call(run_input={
"websites": [
"https://www.shopify.com",
"wordpress.org"
],
"maxUrlsPerWebsite": 50000
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('veenkes/veenkes-sitemap-urls').call({
"websites": [
"https://www.shopify.com",
"wordpress.org"
],
"maxUrlsPerWebsite": 50000
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Schedule the Actor, send results to a webhook, or connect it in Zapier, Make or n8n. Store page: https://apify.com/veenkes/veenkes-sitemap-urls.

Use from AI agents (Apify MCP)

AI agents can run this Actor through the Apify MCP server. Connect Claude, Cursor or any MCP-compatible client to Apify, then ask the agent to call veenkes/veenkes-sitemap-urls with an input like the example above. The agent discovers the tool from the Actor title and description.

How much does it cost?

Apify plan tierPrice per 1,000 URLs
FREE$0.25
BRONZE$0.20
SILVER$0.15
GOLD and above$0.10

There is also a $0.00005 start fee per run.

Input example

{
"websites": [
"apify.com",
"https://example.com/sitemap.xml"
],
"maxUrlsPerWebsite": 10000,
"urlFilter": "/blog/",
"includeImages": true
}

Output example

{
"website": "https://wordpress.org",
"url": "https://wordpress.org/themes/goodwill-charity/",
"lastmod": "2025-11-18T05:53:47Z",
"changefreq": null,
"priority": null,
"sitemapUrl": "https://wordpress.org/themes/sitemap-8.xml"
}

The key-value store record SUMMARY lists every input with its status and the number of items saved.

Limitations

  • Only URLs listed in the site's sitemaps are returned; pages missing from sitemaps are not crawled.
  • Sites that block bots may return errors for their sitemaps; such websites are reported in the SUMMARY record.
  • Duplicate URLs within a website are removed.

Why this one?

Automatic discovery, nested and gzipped sitemaps, hreflang and images, at a fraction of the price of other sitemap extractors.

FAQ

Do I need to know the sitemap URL? No, just enter the domain.

Can it handle millions of URLs? Yes, set max URLs accordingly; results stream into the dataset.

Is it legal? Sitemaps are public files published for crawlers.


Integrations

  • Apify API — Python and JavaScript clients (examples above), plus a REST API.
  • AI agents — run it via the Apify MCP server.
  • Automation tools — Zapier, Make, n8n, or an Apify webhook when a run finishes.
  • Export — download the dataset as JSON, CSV, Excel or XML, or load it from a scheduled run.

Open the Actor in Apify Store.

None