Validate a sitemap or sitemap index API
Check sitemap URL counts, absolute locs, lastmod/changefreq/priority and size limits against the sitemaps.org protocol.
The Validate a sitemap or sitemap index operation is part of the Technical SEO Audits Robots Sitemap Hreflang API on BRAINIAC.software. Check sitemap URL counts, absolute locs, lastmod/changefreq/priority and size limits against the sitemaps.org protocol. It is exposed as POST /api/v1/seo-technical/xml-sitemap-validate and priced at $0.03 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied robots.txt, sitemaps, crawl exports, logs, backlinks and Search Console rows processed locally IANA Language Subtag Registry (public domain) vendored in src/data/seo-technical/ schema.org vocabulary subset (CC BY-SA 3.0) vendored in src/data/seo-technical/ Googlebot IP ranges (CC BY 4.0) vendored as googlebot.json web.dev Core Web Vitals thresholds (CC BY 4.0) Limitations: Pure computation on caller input: no request-time crawl or third-party SEO API is called. Outputs are lookups or prechecks for human review. They are not legal, customs, tax, medical, or identity determinations. schema-org-validate uses a Product/Offer vocabulary subset from vendored schema.org data. Bing crawler IP ranges are not bundled. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Test URLs against robots.txt, Validate an hreflang cluster, Audit canonical tags in a crawl export, Analyse redirect chains and loops. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/seo-technical/xml-sitemap-validateExample request
curl -i -X POST "https://www.brainiac.software/api/v1/seo-technical/xml-sitemap-validate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"xml": "<?xml version='1.0'?><urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'><url><loc>https://example.com/</loc><lastmod>2026-11-14</lastmod><changefreq>daily</changefreq><priority>0.8</priority></url></urlset>",
"sitemapUrl": "https://example.com/sitemap.xml"
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Test URLs against robots.txt — $0.02 USDC
- Validate an hreflang cluster — $0.03 USDC
- Audit canonical tags in a crawl export — $0.03 USDC
- Analyse redirect chains and loops — $0.02 USDC
Related APIs
Technical SEO Audits Robots Sitemap Hreflang APIFull docsHow it works