Publishing checks
Confirm that important public URLs appear in a usable sitemap after a release.
Sitemap validation endpoint
Most sitemap tools stop at parsing the XML. This endpoint fetches every URL the sitemap lists and reports whether it actually works, so a sitemap validator becomes a sitemap error checker. The response always separates discovered URLs from inspected URLs.

Endpoint
POST /v1/sitemap-inspectorSet your key once in a server-side environment variable, then send a JSON request.
curl --request POST \
--url "https://api.tooltrace.io/v1/sitemap-inspector" \
--header "X-ToolTrace-Key: ${TOOLTRACE_KEY}" \
--header "Content-Type: application/json" \
--data '{
"url": "https://example.com/sitemap.xml",
"max_urls": 25,
"summary_only": true
}'Response scope
The response is structured for software, with source evidence kept beside the extracted or inspected data.
Practical uses
Confirm that important public URLs appear in a usable sitemap after a release.
Find old redirects, missing pages, canonical conflicts, and stale sitemap entries after URL changes.
Track sitemap health with bounded requests and compact summary responses.
Implementation guidance
XML validation checks document structure. Live inspection checks whether listed pages return useful responses and agree with robots, noindex, redirect, and canonical signals.
Fix errors, blocked URLs, noindex conflicts, and canonical mismatches before lower-priority formatting warnings.
The API can inspect only a bounded number of URLs in one request. Always read discovered_urls, inspected_urls, inspection_complete, and limit_reason before treating a report as complete.
A sitemap should list URLs that return 200. Entries returning 404 or 410 advertise deleted pages to search engines, and entries returning 301 or 302 mean the sitemap lists the redirect rather than its destination. Filter results on status_code and redirect_count to find both.
Server errors may be intermittent. Re-check a 5xx before removing the URL from a sitemap.
Point the endpoint at a domain or an index file and it reads the index, then its child documents. The documents array reports the type, status, entry count, and size of every sitemap document read.
Large sites split sitemaps across children. Check the index first to enumerate them, then check each child separately.
The most damaging sitemap problems look healthy. A page carrying noindex, a canonical pointing at a different URL, or a robots.txt rule blocking a submitted URL all return a normal status code.
The technically_indexable field collapses those signals into one verdict when you need a decision rather than the underlying evidence.
Send your key through the X-ToolTrace-Key header from server-side code. Read credit and rate-limit headers after every request. Validation, blocked destination, authentication, plan, and upstream fetch errors use structured responses that applications should handle by code rather than message text.
Use a dedicated key for each environment. Review current fields in the interactive API reference and compare usage limits on the pricing page.