Build with Krokanti Audit
Automate website audits, retrieve scores, and get AI recommendations programmatically. Use our REST API or integrate via the MCP server for AI assistants.
Authentication
Bearer tokens with kau_ prefix
REST API
6 endpoints, JSON responses
MCP Server
Use in Claude, Cursor, and more
Authentication
All API requests must include an API token in the Authorization header. Tokens use the kau_ prefix and can be generated in your account settings.
curl https://audit.krokanti.com/api/audits \
-H "Authorization: Bearer kau_your_token_here"Rate limit: 100 requests per minute per token.
Token security: Tokens are stored hashed. You cannot retrieve a token after creation — save it immediately.
Plan requirements: Some endpoints require a Pro or Team subscription.
Base URL
https://audit.krokanti.comAll endpoints are relative to this base URL. HTTPS is required.
REST API Endpoints
/api/auditsCreate a new auditAll plansTriggers a new website audit. Returns immediately with status 'queued'. Poll GET /api/audits/{id} until status is 'completed' or 'failed'.
Request body
{
"url": "https://example.com",
"isMultiPage": false
}Response
{
"id": "rpt_abc123",
"url": "https://example.com",
"status": "queued",
"createdAt": "2026-02-25T12:00:00.000Z"
}/api/auditsList your auditsAll plansReturns all audits for the authenticated user, ordered by creation date descending.
Response
[
{
"id": "rpt_abc123",
"url": "https://example.com",
"status": "completed",
"performanceScore": 94,
"seoScore": 88,
"accessibilityScore": 97,
"bestPracticesScore": 92,
"overallScore": 92,
"createdAt": "2026-02-25T12:00:00.000Z"
}
]/api/audits/{id}Get audit detailsAll plansRetrieves full audit data including all scores, issues, and AI recommendations.
Response
{
"id": "rpt_abc123",
"url": "https://example.com",
"status": "completed",
"performanceScore": 94,
"seoScore": 88,
"accessibilityScore": 97,
"bestPracticesScore": 92,
"overallScore": 92,
"isMultiPage": false,
"pageCount": 1,
"createdAt": "2026-02-25T12:00:00.000Z"
}/api/audits/{id}Delete an auditAll plansPermanently deletes an audit report. This action cannot be undone.
Response
{ "ok": true }/api/audits/{id}/exportExport a reportPro / TeamExport the full report as PDF, CSV, or JSON. Append ?format=pdf|csv|json.
Response
Binary (PDF) or text (CSV) or JSON depending on format parameter/api/audits/{id}/historyGet score history for a URLPro / TeamReturns previous audits for the same URL. Useful for tracking score changes over time.
Response
[
{
"id": "rpt_prev1",
"overallScore": 87,
"performanceScore": 82,
"createdAt": "2026-01-15T06:00:00.000Z"
}
]MCP Server
Krokanti Audit ships a built-in Model Context Protocol (MCP) server. Connect it to Claude Desktop, Cursor, or any MCP-compatible AI assistant to run audits and retrieve recommendations without leaving your editor.
MCP server URL
https://audit.krokanti.com/api/mcpAvailable tools
list_reportsList all your audit reportsget_reportGet full report details and scoresget_recommendationsRetrieve AI recommendationsget_site_historyScore history for a URL
Available prompts
analyze_siteFull site analysis walkthroughcompare_trendExplain score changes over time
Authentication: Pass your kau_ token via the MCP server URL: https://audit.krokanti.com/api/mcp?token=kau_xxx
Error codes
| Status | Meaning |
|---|---|
200 / 201 | Success |
400 | Bad request — check your request body. Returns { error: string } |
401 | Unauthorized — missing or invalid API token |
403 | Forbidden — feature requires a higher plan. Returns { upgradeRequired: true } |
404 | Not found — report does not exist or belongs to another user |
429 | Rate limit exceeded — slow down to 100 req/min |
500 | Internal server error — please try again or contact support |
Ready to integrate?
Generate your API key in settings and start making requests in minutes.