Sitemap Extractor API - all URLs of a website from its sitemaps
sitemap_extractorFind a site's sitemaps (robots.txt Sitemap: lines, /sitemap.xml, sitemap indexes, .gz, .txt) and return up to 100 page URLs per request (default 20) with lastmod, changefreq and priority. For non-sitemap URLs (e.g. example.com/pricing), only the domain is used to discover sitemaps. Filter by case-insensitive substring with contains (returns count 0 and empty items if none match). No pagination; single request up to maxItems=100. Top-level summary reports total matching URLs found (summary.urls), sitemapsRead, foundVia, errors and truncated; cached and cacheAgeSeconds are always returned at top level. Errors return 400/429/502 JSON with error, message and code. Live fetch, ~1-5 s. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/sitemap-extractor.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "sitemaps.org",
"maxItems": 10
},
"name": "sitemap_extractor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Domain or direct sitemap URL (.xml, .xml.gz, .txt), e.g. sitemaps.org or https://example.com/sitemap.xml. For non-sitemap page URLs, only the domain is used. | |
| contains | No | Optional case-insensitive substring filter on URLs, e.g. /blog/ | |
| maxItems | No | Maximum URLs to return (default 20, max 100) |