{"uid":"cap_T2gvZhaBTH0LVU7f3Klb5","slug":"x402-web-tools-sitemap-parser-55556d68","name":"x402 Web Tools – Sitemap Parser","description":"The URLs a sitemap lists, with last modified dates, or the sitemaps a sitemap index lists. Given a site instead of a sitemap, it finds the sitemap from robots.txt or /sitemap.xml. Gzipped sitemaps are read too.","url":"https://web.kagurazaka.dev/v1/sitemap?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"https URL of a sitemap, or of the site"},"limit":{"type":"integer","description":"how many URLs (1-1000, default 200)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"url":{},"kind":{},"urls":{},"total":{},"truncated":{}}}}}}},"responseSchema":{"type":"json","example":{"url":"https://www.cloudflare.com/sitemap.xml","kind":"urlset","urls":[{"url":"https://www.cloudflare.com/learning/","lastmod":"2026-10-01T00:00:00.000Z"}],"total":1200,"truncated":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bID1uOvQmjYmuvlpMdfBt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and parses a sitemap (or sitemap index) at a given URL, returning all listed URLs with their last-modified dates, and can auto-discover the sitemap from a site's robots.txt or /sitemap.xml.","exampleAgentPrompt":"Can you pull all the URLs from https://www.cloudflare.com's sitemap — up to 500 URLs — and include their last-modified dates?","exampleUseCases":[{"title":"SEO audit URL inventory","prompt":"Get me all the pages listed in https://example.com's sitemap with their last-modified dates so I can audit which content is stale."},{"title":"Competitor content discovery","prompt":"Find the sitemap for https://www.competitor.com and list up to 300 of their URLs so I can see what topics they're publishing."},{"title":"Sitemap index breakdown","prompt":"Fetch the sitemap index at https://www.nytimes.com/sitemaps/new-sitemaps/sitemap-index.xml and tell me which child sitemaps it references."}],"resultDescription":"A JSON object containing the resolved sitemap URL, the kind of sitemap ('urlset' for a regular sitemap or 'sitemapindex' for an index), an array of URL entries each with 'url' and optional 'lastmod' fields, the total URL count in the sitemap, and a 'truncated' boolean indicating whether the result was capped by the limit parameter.","failureModes":["Sitemap not found: site has no robots.txt sitemap directive and no /sitemap.xml — returns an error","Invalid URL: non-https or malformed URL input returns a validation error","Timeout: very large or slow-loading sitemaps may time out before completion","Unreadable format: malformed XML in the sitemap causes a parse error","Gzip decode failure: corrupted .gz sitemap cannot be decompressed","Limit exceeded: requesting more than 1000 URLs is rejected","Private/auth-gated sitemap: returns an access error if the sitemap requires authentication"],"whenToPreferThis":"Choose this endpoint when you need to enumerate pages on a website for SEO auditing, content discovery, or crawl planning, and want automatic sitemap discovery without knowing the sitemap URL in advance. It handles gzipped sitemaps and sitemap indexes natively. Prefer it over generic web scrapers when you specifically want structured sitemap data rather than rendered page content.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:02:59.101Z","isFirstParty":false,"canonicalSlug":"x402-web-tools-sitemap-parser-55556d68"}