XML Sitemap & Index Crawler Tree Decompiler
crawl_sitemap_urlsParses XML sitemaps and sitemap index files into structured URL trees with change frequency and last-modified filters. Use when discovering domain architectures, mapping crawl frontiers, or indexing blog/product catalogues; for extracting on-page hyperlinks from raw HTML, use extract_page_hyperlinks instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'sitemap_xml' ('filter_criteria' defaults to 'all_entries'), supports '?demo=true' or L402 (15 sats), and returns HTTP 400 if invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Maximum number of URLs to extract and return in the catalog. | |
| sitemap_xml | Yes | XML string of the sitemap or sitemapindex file to inspect and parse. | |
| filter_criteria | No | URL retention filter: all entries, recently modified lastmod only, or HTML pages only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sub_sitemaps | Yes | Nested child sitemap URLs detected if document is a sitemapindex file. | |
| sitemap_entries | Yes | List of structured URL entries containing loc, lastmod, and priority. | |
| total_urls_found | Yes | Total valid loc URLs parsed from the XML sitemap document. |