{"uid":"cap_KDzsaxkpkAgIPK54bEOiZ","slug":"toolvend-dev-sitemap-parser-d71f7df4","name":"toolvend.dev Sitemap Parser","description":"Fetch and parse sitemap XML or gzip into JSON. For an index, follow the first N children with ?follow=N. Caps merged output at 500 URLs.","url":"https://toolvend.dev/parse/sitemap","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":"Public HTTP(S) sitemap URL, including .xml.gz, or a site origin to try /sitemap.xml"},"follow":{"type":"integer","maximum":10,"minimum":0,"description":"For a sitemap index, fetch and merge the first N children (default 0)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_n0-PoA6JIMJxXSDka-VFe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches and parses a sitemap XML or gzip file from a public URL and returns structured JSON, optionally following child sitemaps in a sitemap index.","exampleAgentPrompt":"Can you fetch the sitemap at https://example.com/sitemap.xml and parse it into JSON — and if it's a sitemap index, follow the first 3 child sitemaps to get the full URL list?","exampleUseCases":[{"title":"SEO audit URL discovery","prompt":"Pull all the URLs from https://mybrand.com/sitemap_index.xml into JSON — follow the first 5 child sitemaps so I can see the full list of indexed pages."},{"title":"Competitor site inventory","prompt":"Fetch and parse the sitemap at https://competitor.com/sitemap.xml and give me a structured list of all their published URLs."},{"title":"Gzipped sitemap extraction","prompt":"Parse the gzipped sitemap at https://news-site.com/sitemap.xml.gz into JSON so I can see which articles they have indexed."}],"resultDescription":"A JSON object containing up to 500 parsed sitemap entries, including URLs and any available metadata (lastmod, changefreq, priority). For sitemap indexes with follow>0, child sitemap contents are merged into the response.","failureModes":["Invalid or inaccessible URL returns an error (private/firewalled URLs not reachable)","Non-sitemap XML or malformed XML may fail to parse","Gzip decompression failures for corrupted .xml.gz files","Sitemap index with follow=N may hit rate limits on child fetches","Output capped at 500 URLs — large sitemaps are truncated","follow parameter exceeds maximum of 10"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract and parse a website's sitemap into structured JSON for SEO auditing, site crawling, content inventory, or URL discovery. Prefer it over generic HTTP fetchers when you specifically need sitemap XML (including gzipped formats) parsed into clean JSON with optional sitemap-index traversal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:43:18.105Z","isFirstParty":false}