Publishing checks
Confirm that important public URLs appear in a usable sitemap after a release.
Sitemap analysis endpoint
Audit what a site says should be crawled and compare it with the live technical state of listed pages. 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.
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.