{"uid":"cap_w4AsgOURC-OcHbmWyqrVH","slug":"toll402-sitemap-parser-7109b10f","name":"Toll402 Sitemap Parser","description":"The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.","url":"https://toll402.dev/v1/t/sitemap_parse","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"URL of the sitemap.xml or sitemap index to fetch"},"maxUrls":{"type":"integer","default":2000,"maximum":2000,"minimum":1}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zSRJpI9M_4amSHb3pVqt-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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 all discovered URLs up to a configurable limit","exampleAgentPrompt":"Can you fetch the sitemap at https://example.com/sitemap.xml and give me all the URLs listed there, up to 500?","exampleUseCases":[{"title":"Discover all pages on a website","prompt":"Go to https://shop.acmecorp.com/sitemap_index.xml and pull out every product and category URL you can find — up to 1000 URLs."},{"title":"Audit site structure for SEO","prompt":"Fetch the sitemap at https://myblog.com/sitemap.xml and list all the URLs so I can check which pages are being indexed."},{"title":"Seed a web crawler with known URLs","prompt":"Parse the sitemap at https://docs.example.com/sitemap.xml and return up to 200 URLs so I can start crawling the documentation site."}],"resultDescription":"A JSON object with ok: true and an array of URLs discovered from the sitemap or sitemap index, up to the specified maxUrls limit (default 2000). Each entry typically includes the page URL and may include metadata present in the sitemap such as last-modified dates or priority values.","failureModes":["Sitemap URL is unreachable or returns a non-200 HTTP status","URL does not point to a valid XML sitemap (e.g. HTML page returned instead)","Sitemap is malformed or unparseable XML","maxUrls exceeds the maximum allowed value of 2000","Required 'url' field missing from request body","Network timeout fetching a large sitemap index"],"whenToPreferThis":"Use this endpoint when you need a structured list of all URLs on a website and that site publishes a sitemap.xml or sitemap index. It is faster and more reliable than crawling pages manually, and it respects the site's own declared page inventory. Prefer it over general web-scraping when you want URL discovery rather than page content extraction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:33.757Z","isFirstParty":false}