Sitemap Extractor - All Sitemap URLs, Lastmod & Status Codes avatar

Sitemap Extractor - All Sitemap URLs, Lastmod & Status Codes

Pricing

from $0.30 / 1,000 url extracteds

Go to Apify Store
Sitemap Extractor - All Sitemap URLs, Lastmod & Status Codes

Sitemap Extractor - All Sitemap URLs, Lastmod & Status Codes

Sitemap extractor and sitemap URL scraper: every URL from robots.txt, sitemap indexes and .gz sitemaps, with lastmod, hreflang and images. Optional 404/redirect status check and 'modified since' filter for new pages. Pay per URL.

Pricing

from $0.30 / 1,000 url extracteds

Rating

0.0

(0)

Developer

Webstack Data

Webstack Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Sitemap URL Extractor - All URLs, Lastmod & Status Codes

Give it a website and get every URL listed in its sitemaps, one clean row per URL, with lastmod, changefreq, priority, hreflang alternates and image count. Built by Webstack Data.

  • Automatic discovery: reads robots.txt Sitemap: lines, then /sitemap.xml, /sitemap_index.xml and /wp-sitemap.xml.
  • Follows sitemap indexes to any depth, and reads gzipped (.xml.gz) and plain-text sitemaps.
  • "Modified since" filter: only return pages added or updated after a date. Use it to monitor competitors' new pages or to feed a scraper with fresh URLs only.
  • Optional status check: request each URL and get the HTTP status, redirect target and response time. This finds 404s and redirects that should not be in your sitemap.
  • No browser and no proxy. It is fast and cheap.

Use cases

  • SEO audits: compare the sitemap with what is indexed, and find broken or redirected URLs inside the sitemap.
  • Scraping pipelines: get the full list of product or article URLs before you scrape them.
  • Competitor monitoring: run it weekly with modifiedSince to see new pages, products or blog posts.
  • Migrations: export every URL of the old site to build the redirect map.

Input

{
"startUrls": ["example.com", "https://shop.example.com/sitemap_products_1.xml"],
"maxUrlsPerSite": 10000,
"modifiedSince": "2026-10-01",
"checkStatusCodes": false
}

Output

One row per URL:

{
"type": "url",
"site": "https://example.com",
"sitemap": "https://example.com/post-sitemap.xml",
"url": "https://example.com/blog/hello-world/",
"lastmod": "2026-10-05T09:12:00+00:00",
"changefreq": "weekly",
"priority": 0.8,
"alternates": [{ "hreflang": "es", "href": "https://example.com/es/blog/hola/" }],
"imageCount": 2,
"statusCode": 200,
"redirectTo": null,
"responseTimeMs": 143
}

statusCode, redirectTo and responseTimeMs appear only when Check HTTP status is on. Each site also gets one site-summary row with the number of URLs and sitemaps, any sitemaps that failed, and NO_SITEMAP_FOUND if the site has none.

Pricing

Pay per event, no subscription:

  • $0.00005 per run start
  • $0.0003 per URL extracted ($0.30 per 1,000 URLs)
  • $0.0006 per URL extracted and status-checked ($0.60 per 1,000), only when the status check is on

Sites without a sitemap cost nothing beyond the start fee. Set a maximum cost per run in Apify and the Actor stops cleanly when it is reached.

API and automation

curl -X POST "https://api.apify.com/v2/acts/uianalize~sitemap-url-extractor/run-sync-get-dataset-items?token=YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls": ["example.com"], "modifiedSince": "2026-10-01"}'

Templates and tutorials: github.com/uunnaaiii/webstack-data.

Other Webstack Data Actors