# Sitemap Validator — REST API endpoint `sitemap-validator`

Validate sitemap XML text against the sitemaps.org protocol: well-formed XML, <urlset> or <sitemapindex> and its namespace, absolute http(s) <loc> under 2,048 characters with & escaped, duplicates, mixed hosts, W3C-datetime <lastmod> not in the future, the seven <changefreq> values, <priority> 0.0-1.0, and the 50,000-URL limit. Every issue has a severity, rule id and line number. Accepts up to 10 MB of XML (the protocol allows 50 MB). Checks the pasted text only and fetches nothing, so it does not test that the URLs respond.

- Category: seo
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/sitemap-validator/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/api/sitemap-validator/
- Same tool on the other surface: https://findutils.com/mcp/sitemap-validator/

## Call the endpoint (verified example)

```bash
curl -X POST https://api.findutils.com/api/tools/sitemap-validator/execute \
  -H "Content-Type: application/json" \
  -d '{
    "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><url><loc>https://example.com/</loc></url></urlset>"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/sitemap-validator
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `xml` | string | yes | The sitemap or sitemap index XML (uncompressed), up to 10 MB. |

Example arguments (verified):

```json
{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\"><url><loc>https://example.com/</loc></url></urlset>"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Then ask the client to call `findutils:sitemap_validator`. Full MCP reference: https://findutils.com/mcp/sitemap-validator/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
