Website Audit
API Reference
Website Audit
Runs a full Lighthouse scan and returns Performance, SEO, Accessibility, and Best Practices scores (0-100 each) with AI-generated fixes tailored to the detected tech stack.
POST
/api/auditsynchronousPerformance scores, SEO issues, and AI recommendations
Request body
{
"url": "https://example.com"
}Response
{
"reportId": "clxyz...",
"scores": {
"performance": 91,
"seo": 87,
"accessibility": 100,
"bestPractices": 95
},
"issues": [...],
"fixes": [...],
"aiSummary": "..."
}Example
curl -X POST https://www.scanverra.com/api/audit \
-H "X-API-Key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'Scoring convention
Each score is a raw Lighthouse score from 0-100. Scanverra's UI treats ≥90 as good, 50-89 as needs improvement, and <50 as poor. There is no built-in pass/fail gate on this endpoint — pick your own threshold per score when using it in a pipeline (see CI/CD Integration).
