Sitemap URL Extractor avatar

Sitemap URL Extractor

Pricing

from $1.00 / 1,000 result items

Go to Apify Store
Sitemap URL Extractor

Sitemap URL Extractor

Extract URLs from XML sitemaps in bulk. Supports sitemap indexes, auto-discovers nested sitemaps, and outputs structured JSON. Pay-per-event: per 1,000 URLs extracted.

Pricing

from $1.00 / 1,000 result items

Rating

0.0

(0)

Developer

soot

soot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

11 days ago

Last modified

Share

Bulk-extract URLs from XML sitemaps — fast, reliable, pay-per-event.

Extract every URL from one or many XML sitemaps in a single batched run. Supports sitemap indexes, auto-discovers nested sitemaps, and outputs structured JSON. Ideal for seeding crawlers, SEO inventory, and content audits at scale.

Why this Actor?

  • Batch processing — process 1 to 1,000+ sitemaps in one run
  • Recursive sitemap indexes — automatically follows sitemap index -> sitemap -> URLs
  • Structured output — clean JSON with source_url, extracted_urls, count, status
  • SEO-focused — built for agencies managing multiple client sites
  • Pay-per-event — no monthly fees, pay only for what you use ($0.01 per 1,000 URLs)
  • No API key — works out of the box

Input

FieldTypeRequiredDescription
sitemapsarrayNoList of sitemap XML URLs to extract from
urlstringNoSingle sitemap URL (backward compatibility)

Output

FieldTypeDescription
source_urlstringSource sitemap URL
extracted_urlsarrayAll URLs found in the sitemap
countintegerNumber of URLs extracted
statusstringok or error

Usage

Single sitemap

$apify call sootesting~sitemap-url-extractor --input '{ "url": "https://example.com/sitemap.xml" }'

Multiple sitemaps (batch)

$apify call sootesting~sitemap-url-extractor --input '{ "sitemaps": ["https://example.com/sitemap.xml", "https://example.com/sitemap-news.xml"] }'

Run via API

$curl -X POST "https://api.apify.com/v2/acts/sootesting~sitemap-url-extractor/runs?token=YOUR_TOKEN" -H "Content-Type: application/json" -d '{"url": "https://example.com/sitemap.xml"}'

Pricing

EventPrice
Actor start$0.05
Per 1,000 URLs$0.01

Platform usage is included. No hidden fees.