Sitemap Extractor — Unique URLs From XML, Gzip & Index Sitemaps avatar

Sitemap Extractor — Unique URLs From XML, Gzip & Index Sitemaps

Pricing

from $0.24 / 1,000 url listeds

Go to Apify Store
Sitemap Extractor — Unique URLs From XML, Gzip & Index Sitemaps

Sitemap Extractor — Unique URLs From XML, Gzip & Index Sitemaps

Sitemap extractor: Unique URLs from sitemap indexes, XML, gzip and RSS maps. $0.0003 per URL listed; start extra; usage included; failed results uncharged.

Pricing

from $0.24 / 1,000 url listeds

Rating

0.0

(0)

Developer

Logan Parker

Logan Parker

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

Sitemap extractor discovers website sitemaps through robots and conventional paths, follows indexes and reads XML, gzip, text and RSS or Atom maps, returning deduplicated URLs with lastmod, changefreq and priority. AI agents can call and pay through Apify MCP. List event rates are $0.0003 per URL listed; start is extra, usage is included and failed results are uncharged.

Example result

Example record for the minimal input under How to use it, as this Actor returned it on 2026-10-18 in a run of its production image; the record is kept unchanged with the release.

{
"type": "url",
"url": "https://docs.apify.com/api",
"ok": true,
"lastmod": null,
"changefreq": "weekly",
"priority": 0.5,
"sitemap": "https://docs.apify.com/sitemap_base.xml"
}

How to use it

Start a run in Apify Console, by API or from an agent with an input like this one — it is the input Apify runs every day to test this Actor:

{"urls": ["https://docs.apify.com/"], "maxUrls": 50}

Start with the minimal JSON example above, then adjust the fields in the table below. Read the Example result and Output fields sections for the returned record, Errors for failure codes, and Events and prices for result events and the separate platform start.

FieldTypeMeaning
urlsarrayDomains or absolute sitemap URLs; bare domains use HTTPS.
maxUrlsintegerMaximum unique matching URL records across the run.
filterstringOptional regex; at most 512 characters and a 20 ms match timeout.
includeRobotsbooleanOne free all-group robots summary per host; independent of HermesBot policy enforcement.

Events and prices

EventTitleCharged whenFREE / BRONZESILVERGOLD / PLATINUM / DIAMOND
url-listedURL listedOne unique matching URL written from a sitemap.$0.0003$0.00027$0.00024

Platform usage is not passed through. Apify's automatic actor-start event remains $0.00005 per started GB (one GB or less counts once). The synthetic dataset-item event is absent. Charge limits stop further paying work; unprocessed inputs receive uncharged errors. Completed readable pending events are settled on abort.

Worked cost example: ten successful primary events cost $0.003 at list, plus actor start. Failures are not included in that count.

Call it from an agent

Through Apify's MCP server (https://mcp.apify.com) use call-actor:

{
"actor": "hermeskd/sitemap-urls",
"input": {
"urls": [
"https://docs.apify.com/"
],
"maxUrls": 50
},
"callOptions": {
"maxTotalChargeUsd": 0.05,
"timeout": 1800
},
"waitSecs": 30
}

Then call get-dataset-items with the returned defaultDatasetId. Dedicated tool URL: https://mcp.apify.com?tools=hermeskd/sitemap-urls

Output fields

FieldMeaning
typeListed URL or free robots summary.
urlListed URL, robots URL, or original failed input.
okTrue for returned results; errors never charged.
lastmodPublisher-provided modification/publication value.
changefreqPublisher change frequency.
priorityPublisher priority between zero and one.
sitemapSource sitemap final URL.
robotsFree all-group summary, separate from the HermesBot access decision.
errorFailure, always uncharged.

Limits and run time

1–20 domains or sitemap URLs; maxUrls 1–200,000 across the run, after filtering and deduplication. XML/index, gzip, UTF-8 text, RSS and Atom are supported. Every sitemap is bounded to 50 MiB expanded and 50,000 entries; traversal to 10,000 documents and depth 50, with cycles deduplicated. Regex filters are at most 512 characters with a 20 ms match timeout. Robots summaries are free and do not mask failed sitemap outcomes. Protocol extensions do not replace protocol namespace fields.

The default run timeout is 1800 seconds. Typical run time on Apify, measured by its deploy of 2026-10-20: the minimal input under How to use it took 7–8 seconds a run at the default 1,024 MB (three runs, peak memory 61 MiB). The same input also ran and passed the pricing floor at 512 MB and 4,096 MB (the deploy's memory probes).

Errors

CodeMeaning
no_sitemapNo readable sitemap URL result was found for the input.
download_failedThe request or connection failed within its bounded deadline.
http_errorThe source answered an unsuccessful HTTP status.
robots_disallowedrobots.txt forbids fetching the URL; no request was made to it.
blocked_hostThe host is on the deny-list or resolves to a private or local address; no request was made.
too_largeA documented response, expansion or traversal cap was exceeded.
source_schema_changedA source or tool response no longer has the verified protocol shape.
timeoutThe input did not finish within the run's time budget.
invalid_inputThe run input passed the input schema but cannot be used; the message names the field.
internal_errorUnexpected failure; the message carries the error class.
charge_limit_reachedThe run reached its maximum total charge; this input was not processed.

No failure record is charged. A run fails only when all input outcomes are Actor-side failures; caller errors and a mixture of caller/Actor failures do not fail the run.

Sources and terms

Only process content you have the right to process. URL fetches obey HermesBot robots-group selection, the shared deny-list, public-address checks on connections and redirects, honest identity, deadlines and rate limits. No caller credentials, cookies, CAPTCHA solving, residential proxies or evasion. Public robots files and sitemap documents are fetched; listed pages are not downloaded. The bounded parser supports XML urlsets/indexes, gzip, UTF-8 text, RSS and Atom. DTDs and entities are refused. The public documentation sitemap source was checked directly; its Apache-2.0 source repository and observed document counts are recorded with the manifests. The 2026-10-18 GitHub-hosted run completed actual production-container traversal, with raw records and provenance shown above.

Not affiliated

This Actor is not affiliated with Google, Apify, IANA, Verisign or other named protocol/source providers. Third-party names describe compatibility and source material.

Changelog

  • 1.0 (2026-10-26) — store listing rewritten for the people and agents searching for this job: title, description, search-engine title and description, categories, and the README in the order a searcher reads it (what it does, a real result, how to use it, prices, the agent call).
  • 1.0 (2026-10-20) — first public release on Apify Store, after the deploy's typical calls, memory probes, benchmarks and pricing floor passed on the platform.
  • 1.0 (2026-10-19) — repairs from an independent review: DNS privacy, malformed publisher URLs, empty sitemap failures, responsive assets and schema prefill, as applicable to this Actor.
  • 1.0 (2026-10-18) — the production image, smoke input, three example tasks and benchmarks passed on GitHub-hosted Linux.
  • 1.0 (2026-10-17) — first implementation.