Integrate StoreVitals health scans into your tools and workflows.
API keys via Bearer token. Generate keys in Settings.
Agency plan: 200 pages/scan, unlimited scans.
API access requires an active Agency plan ($49/mo).
All API requests require a Bearer token in the Authorization header. Generate API keys from your Settings page.
Authorization: Bearer sv_your_api_key_here
/api/v1/scanRun a health scan on a store URL. Returns a full report with score, issues, and page-level details.
curl -X POST https://store-vitals.com/api/v1/scan \
-H "Authorization: Bearer sv_your_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-store.com",
"maxPages": 50
}'{
"url": "https://your-store.com",
"score": 74,
"pagesCrawled": 18,
"platform": "shopify",
"scanDurationMs": 12340,
"summary": {
"total": 8,
"critical": 2,
"warnings": 4,
"info": 2,
"byCategory": {
"broken_link": 2,
"missing_alt": 3,
"slow_page": 1,
"missing_meta": 2
}
},
"issues": [
{
"category": "broken_link",
"severity": "critical",
"page": "https://your-store.com/products/item",
"detail": "Broken external link: ... (HTTP 404)"
}
],
"pages": [
{
"url": "https://your-store.com/",
"status": 200,
"loadTimeMs": 1800,
"title": "Your Store",
"issues": 2
}
]
}Parameters: url (required) — the store URL to scan. maxPages (optional, default 200, max 200) — maximum pages to crawl.
/api/v1/reportGenerate a white-label HTML report for a specific scan. Returns unbranded HTML suitable for emailing to clients.
curl "https://store-vitals.com/api/v1/report?scanId=<uuid>&agencyName=My+Agency" \ -H "Authorization: Bearer sv_your_key"
Parameters: scanId (required) — UUID of the scan. agencyName (optional) — your agency name for the report header.
Returns text/html. The report uses a clean light theme with no StoreVitals branding.
401Missing or invalid API key403Invalid key, expired key, or not on Agency plan400Missing required fields or invalid input404Resource not found (scan, store, etc.)500Server error — target site may be unreachableUpgrade to the Agency plan to get API access, white-label reports, and more.
View Plans