Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor
Pricing
from $0.21 / 1,000 sitemap urls extracted
Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor
Zero-browser XML, .xml.gz, RSS, Atom, TXT sitemap & robots.txt extractor with Content-Signal/Agentmap parsing, lastmod filtering, deduplication, and Standby MCP.
Pricing
from $0.21 / 1,000 sitemap urls extracted
Rating
0.0
(0)
Developer
James Edmans
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
15 hours ago
Last modified
Categories
Features
Share
Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor
Apify Store Actor:
forgekit/sitemap-robots-extractor| Runtime: Node.js 22 (256–512 MB, zero-browser) | Billing: Pay-Per-Event (PPE) + Standby MCP Server
Overview
Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor is an anti-fragile, zero-CAPTCHA technical SEO URL discovery engine engineered for SEO agencies, data engineers, RAG ingestion pipelines, and AI coding agents. Pass bare root domains (https://apify.com) or direct sitemap URLs (.xml, .xml.gz, .txt, RSS 2.0, Atom) to automatically discover sitemaps via robots.txt and common fallback cascades, recursively traverse nested <sitemapindex> trees with cycle protection, transparently gunzip .xml.gz files with a 50 MB zip-bomb cap, recover from malformed unescaped & entities, filter and deduplicate URLs before billing, and evaluate every extracted URL against RFC 9309 robots.txt rules plus 2026 Content-Signal and Agentmap directives.
Because extraction runs purely on lightweight HTTP + fast-xml-parser on 256–512 MB RAM (no headless Chromium, no residential proxies, and fast default checkHttpStatus: false), it eliminates the high timeout/abort rates and 4 GB memory bloat common to legacy sitemap crawlers.
Features vs Competitors
- Zero-Config Discovery Cascade: Reads
robots.txt(Sitemap:,User-agent,Allow/Disallow,Crawl-delay,Content-Signal,Agentmap) and automatically falls back to/sitemap_index.xml,/sitemap.xml,/wp-sitemap.xml,/sitemap.xml.gz, and/sitemap-index.xml. - Multi-Format &
.xml.gzResilient Parser: Auto-detects gzip magic bytes (0x1f 0x8b) with a 50 MB decompression guard, strips UTF-8 BOMs, sanitizes bare unescaped&query parameters, and parses<sitemapindex>,<urlset>, RSS 2.0, Atom, and plain-text sitemaps. - Full SEO XML Extension Extraction: Captures
<lastmod>,<changefreq>,<priority>,xhtml:link(hreflangAlternates),<image:image>counts & primary image URLs, and Google<news:news>titles. - Pre-Charge Filtering & Deduplication: Applies
includePatterns,excludePatterns,modifiedAfter,modifiedBefore, and canonical URL deduplication before pushing dataset rows or chargingurl-extracted. - Optional Live Liveness Verification (
HEAD→GETFallback): WhencheckHttpStatus: true, probes kept URLs concurrently with automaticGETfallback on405/403/501/400responses. - Native Standby MCP Server: Expose
discover_sitemapsandextract_sitemap_urlsdirectly to Claude Desktop, Cursor, and autonomous AI workflows.
| Capability | apify/sitemap-extractor (★3.24) | boxbox10/sitemap-extractor | Ultra-Fast Sitemap & robots.txt Extractor |
|---|---|---|---|
Auto-discover sitemaps from robots.txt + common fallbacks | Partial | No | Yes (Full Cascade) |
Recursive nested <sitemapindex> + .xml.gz gunzip + cycle guard | Flaky | No | Yes (50 MB zip-bomb cap) |
Extracts lastmod, priority, hreflang, image:image, news:news | Partial | Minimal | Yes (Full XML Extensions) |
| Supports TXT, RSS 2.0 & Atom sitemaps | No | No | Yes |
Pre-charge lastmod date range + regex filtering + deduplication | No | No | Yes (Pay only for kept URLs) |
Full robots.txt parser (Allow/Disallow, Content-Signal, Agentmap) | No | No | Yes (ROBOTS_REPORT KV artifact) |
Optional live HTTP status check (HEAD → GET fallback) | Slow default | No | Yes (Fast opt-in) |
| Memory footprint & pricing per 1,000 URLs | 4096 MB / $0.50 | 4096 MB | 256–512 MB / $0.30 |
| Standby MCP Server | No | No | Yes (/mcp) |
Input Configuration
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
targets | string[] | Yes | ["https://apify.com"] | Root domains or direct sitemap URLs (.xml, .xml.gz, .txt, RSS, Atom; 1–100 items). |
maxUrlsPerTarget | integer | No | 5000 | Hard cap on emitted URLs per input target (1–200000). |
maxIndexDepth | integer | No | 4 | Max recursion depth for nested <sitemapindex> trees (1–10). |
includePatterns | string[] | No | [] | Regex or substring patterns a URL must match to be kept (up to 50 patterns, max 200 chars each). |
excludePatterns | string[] | No | [] | Regex or substring patterns used to exclude URLs before billing (up to 50 patterns). |
modifiedAfter | string | No | "" | ISO-8601 date (YYYY-MM-DD or timestamp); keep only URLs with lastmod >= modifiedAfter. |
modifiedBefore | string | No | "" | ISO-8601 date; keep only URLs with lastmod <= modifiedBefore. |
evaluateRobotsRules | boolean | No | true | Parse host robots.txt and annotate each URL with allowedForWildcard and allowedForGooglebot. |
checkHttpStatus | boolean | No | false | Optional live HTTP HEAD (with GET fallback) check per kept URL. |
deduplicateUrls | boolean | No | true | Deduplicate identical URLs across overlapping child sitemaps before charging. |
maxConcurrency | integer | No | 10 | Max concurrent child sitemap and status HTTP requests (1–50). |
timeoutSecs | integer | No | 15 | Per-request HTTP timeout in seconds (3–60). |
Output Example
Each extracted URL is stored in the default Apify Dataset with full SEO extension metadata and robots.txt evaluation. Below is an authentic output item captured from a real local execution of this Actor:
{"target": "https://apify.com","url": "https://apify.com/docs/actors","sourceSitemap": "https://apify.com/sitemap.xml.gz","sitemapFormat": "urlset","lastmod": "2026-11-28","changefreq": "weekly","priority": 0.9,"hreflangAlternates": [{"lang": "en-US","href": "https://apify.com/docs/actors"},{"lang": "de-DE","href": "https://apify.com/de/docs/actors"}],"imageCount": 1,"primaryImageUrl": "https://apify.com/img/actors.png","newsTitle": null,"allowedForWildcard": true,"allowedForGooglebot": true,"httpStatus": null,"redirectUrl": null,"extractedAt": "2026-12-01T20:43:42.700Z"}
Additional Key-Value Store artifacts saved per run:
ROBOTS_REPORT: Parsedrobots.txtobjects per host (sitemaps,agentGroups,contentSignals,agentmaps,crawlDelay).SUMMARY: Run totals (sitemapsDiscovered,sitemapsParsed,gzippedSitemaps,duplicatesSkipped,filteredOut, per-target status).PPE_LEDGER: Exact local Pay-Per-Event billing ledger.
Pay-Per-Event (PPE) Pricing
| Event Key | Event Title | Price (USD) | Billing Trigger |
|---|---|---|---|
actor-start | Actor Run Start | $0.002 | Charged once per batch run start when billable URLs are produced ($0.00 on empty/no-sitemap runs). |
url-extracted | Sitemap URL Extracted | $0.0003 | Charged per filtered, deduplicated URL pushed to the dataset ($0.30 per 1,000 URLs). |
url-status-checked | Optional HTTP Status Check | $0.0003 | Additional charge per URL only when checkHttpStatus: true. |
mcp-tool-call | Standby MCP Tool Call | $0.002 | Charged per successful Standby MCP tools/call invocation. |
Illustrative Cost Example: Extracting 1,000 filtered, deduplicated URLs in fast default mode (checkHttpStatus: false) costs $0.002 + (1,000 × $0.0003) = $0.302 USD — 40% cheaper than apify/sitemap-extractor and 100× cheaper than $0.03/URL competitors.
Standby MCP Server & AI Agent Integration
Run this Actor in Apify Standby Mode (APIFY_META_ORIGIN=STANDBY) to connect it directly to Claude Desktop, Cursor, or any MCP-compatible AI agent over Streamable HTTP / SSE:
- Health endpoint:
GET /health - MCP JSON-RPC 2.0 endpoint:
POST /mcpandGET /mcp - Exposed MCP tools:
discover_sitemaps— Parserobots.txt(User-agent,Sitemap,Content-Signal,Agentmap) and probe common sitemap endpoints.extract_sitemap_urls— Extract up to5,000filtered, deduplicated URLs with full SEO metadata from a domain or sitemap URL.
{"mcpServers": {"sitemap-robots-extractor": {"url": "https://forgekit--sitemap-robots-extractor.apify.actor/mcp","headers": {"Authorization": "Bearer YOUR_APIFY_TOKEN"}}}}
Error Handling, Rate Limits & Limitations
- Strict SSRF Protection: Only
http:andhttps:schemes are permitted. Initial URLs, redirect hops, nested child sitemaps, and<loc>entries resolving to loopback (127.0.0.0/8,::1,localhost), RFC 1918 private ranges, CGNAT, or cloud metadata (169.254.169.254) are strictly blocked. - Zero-Result Non-Billing: If a domain has no discoverable sitemap (
status: "no_sitemap_found") or all URLs are filtered out before emission,$0.00is charged whileSUMMARYandROBOTS_REPORTare still written cleanly. - Polite Retries & Caps: Respects
Retry-Afterheaders on429/503responses with exponential backoff, enforces a 50 MB gzip decompression limit, rejects invalid or ReDoS regex patterns at input validation, and respectsACTOR_MAX_TOTAL_CHARGE_USDbudget limits.
Quick Start & Example Input
1. Run in Apify Console (No Code)
- Open
forgekit/sitemap-robots-extractorin Apify Console and click Try for free. - Paste or adjust the ready-to-run input JSON below (safe defaults are pre-filled).
- Click Start and export results as JSON, CSV, Excel, or NDJSON from the Output tab.
{"targets": ["https://apify.com"]}
2. Run via API (apify-client — Node.js & Python)
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('forgekit/sitemap-robots-extractor').call({"targets":["https://apify.com"]});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
from apify_client import ApifyClientimport osclient = ApifyClient(os.environ["APIFY_TOKEN"])run = client.actor("forgekit/sitemap-robots-extractor").call(run_input={"targets":["https://apify.com"]})items = list(client.dataset(run["defaultDatasetId"]).iterate_items())print(items)
3. Connect to n8n, Make, Zapier & Webhooks
- n8n / Make / Zapier: Add the official Apify module, choose Run Actor, select
forgekit/sitemap-robots-extractor, and pass the JSON payload above. - Schedules & Webhooks: Attach an Apify Schedule for recurring runs and trigger downstream webhooks automatically on
ACTOR.RUN.SUCCEEDED.
Use Cases — What Can You Do With This Data?
- Technical SEO & Agency Site Audits: Run fast, automated checks with Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor across client domains to catch broken links, redirect chains, sitemap/canonical defects, and Core Web Vitals regressions.
- AI-Search (GEO) & RAG Optimization: Verify
llms.txt, AI crawler policies (GPTBot,ClaudeBot,PerplexityBot), and clean Markdown readability so content ranks in both Google and AI answer engines. - EU Accessibility Act (EAA) & WCAG Compliance: Audit public web pages systematically and generate structured compliance reports for engineering and legal sign-off.
- CI/CD & Scheduled Monitoring: Run weekly regression audits via Apify Schedules or GitHub Actions and export results straight into Looker Studio, BigQuery, Sheets, or Slack alerts.
Frequently Asked Questions (FAQ)
How much does Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor cost to run?
You only pay for actual output via transparent Pay-Per-Event billing (starting at $0.0003 per url-extracted (Sitemap URL Extracted); see the PPE Pricing table above). Runs that produce zero billable results or fail upstream incur $0.00 — including zero actor-start fee — and Apify's built-in Max total charge (ACTOR_MAX_TOTAL_CHARGE_USD) hard-caps spend automatically.
Does this Actor require proxies, logins, or CAPTCHA solving?
No. This Actor inspects publicly accessible web pages, sitemaps, robots.txt, and llms.txt using polite HTTP or real Chromium/CDP audits — strictly respecting SSRF boundaries and never bypassing authentication or anti-bot gates.
What export formats and integrations are supported?
Every run stores structured results in an Apify Dataset downloadable as JSON, CSV, Excel (XLSX), NDJSON, XML, or HTML Table via Console or REST API, plus native connectors for n8n, Make, Zapier, Google Sheets, Airtable, Slack, and webhooks.
Can AI agents (Claude Desktop, Cursor, ChatGPT, LangChain) call this Actor directly via MCP?
Yes! Ultra-Fast Sitemap, Sitemap-Index & robots.txt URL Extractor includes a built-in Standby MCP Server at https://forgekit--sitemap-robots-extractor.apify.actor/mcp supporting JSON-RPC 2.0 (initialize, ping, tools/list, tools/call) with Claude-compliant ^[a-zA-Z0-9_.-]{1,64}$ tool schemas.
How does it protect against runaway costs or bad inputs?
Every input is strictly validated upfront with Zod schemas before any work starts, user-supplied URLs pass SSRF protection blocking private/cloud-metadata IPs, and streaming BudgetGuard enforcement stops immediately once your result or USD budget cap is reached.
How fast and lightweight is it compared to browser scrapers?
It runs on lightweight Node.js 22 (256–512 MB RAM, zero headless browser) so typical runs finish in seconds with high reliability and low platform compute cost.
Related forgekit Actors
Explore companion Actors in Technical SEO, AI-Search & Compliance and core ETL utilities to chain end-to-end pipelines:
| Actor | Store Slug | Mode |
|---|---|---|
| Bulk Broken Link (404/5xx) & Multi-Hop Redirect Chain Tracer | forgekit/broken-link-redirect-tracer | Batch REST API |
| Fast Zero-Browser On-Page Technical SEO Auditor (0–100 Score + JSON-LD + Hreflang) | forgekit/fast-technical-seo-auditor | ✅ Standby MCP |
| llms.txt & AI-Search (GEO) Readiness Auditor — AI Bot Access, Content-Signal & RAG Score | forgekit/llms-txt-geo-auditor | ✅ Standby MCP |
| Bulk WCAG 2.2 & EU Accessibility Act (EAA) Compliance Auditor (axe-core + EN 301 549) | forgekit/wcag-eaa-accessibility-auditor | Batch REST API |
| Bulk Core Web Vitals (LCP/INP/CLS) & Lighthouse Performance Auditor — Desktop & Mobile | forgekit/core-web-vitals-lighthouse-auditor | Batch REST API |
| Dataset Merge, Fuzzy Dedupe & Cross-Join Pro | forgekit/dataset-merge-dedupe-pro | ✅ Standby MCP |
| Dataset Diff & Change Detector (Added / Removed / Modified) | forgekit/dataset-diff-change-detector | ✅ Standby MCP |