{"uid":"cap_-QMrdgGKvbFrlPp8lF9qT","slug":"agent402-tools-sitemap-fetcher-parser-a0d08e93","name":"agent402.tools Sitemap Fetcher & Parser","description":"Fetch and parse a sitemap.xml (or sitemap index): returns up to 500 URLs with lastmod, or the child sitemaps of an index.","url":"https://agent402.tools/api/sitemap","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"Sitemap URL (xml)"}}},"responseSchema":{"type":"json","example":{"type":"urlset","urls":[{"loc":"https://agent402.tools/","lastmod":"2026-06-01"}],"count":42}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nk18LkZbZyXfeCnYPsM_6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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.xml or sitemap index URL, returning up to 500 URLs with lastmod timestamps, or the child sitemaps of a sitemap index.","exampleAgentPrompt":"Can you fetch and parse the sitemap at https://example.com/sitemap.xml and give me all the URLs listed along with their last-modified dates?","exampleUseCases":null,"resultDescription":"A list of up to 500 URLs extracted from the sitemap with their lastmod timestamps, or, if the target is a sitemap index, a list of child sitemap URLs contained within it.","failureModes":["Invalid or unreachable sitemap URL returns an error","Non-XML or malformed XML at the URL causes a parse failure","Sitemap index with more than 500 child sitemaps may be truncated","URLs inside sitemaps that themselves contain more than 500 entries will be capped","Timeout if the remote sitemap server is slow to respond","HTTP errors (404, 403) from the sitemap host propagate as failures"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover all pages or sections of a website via its sitemap.xml, especially when you want lastmod timestamps for freshness checking or need to enumerate child sitemaps from a sitemap index. Prefer this over manual HTML crawling when a structured sitemap is available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:17:30.545Z","isFirstParty":false}