Krokanti Audit
Developer API

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

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.

HTTP request
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.com

All endpoints are relative to this base URL. HTTPS is required.

REST API Endpoints

POST/api/auditsCreate a new auditAll plans

Triggers 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"
}
GET/api/auditsList your auditsAll plans

Returns 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"
  }
]
GET/api/audits/{id}Get audit detailsAll plans

Retrieves 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"
}
DELETE/api/audits/{id}Delete an auditAll plans

Permanently deletes an audit report. This action cannot be undone.

Response

{ "ok": true }
GET/api/audits/{id}/exportExport a reportPro / Team

Export 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
GET/api/audits/{id}/historyGet score history for a URLPro / Team

Returns 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/mcp

Available tools

  • list_reportsList all your audit reports
  • get_reportGet full report details and scores
  • get_recommendationsRetrieve AI recommendations
  • get_site_historyScore history for a URL

Available prompts

  • analyze_siteFull site analysis walkthrough
  • compare_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

StatusMeaning
200 / 201Success
400Bad request — check your request body. Returns { error: string }
401Unauthorized — missing or invalid API token
403Forbidden — feature requires a higher plan. Returns { upgradeRequired: true }
404Not found — report does not exist or belongs to another user
429Rate limit exceeded — slow down to 100 req/min
500Internal server error — please try again or contact support

Ready to integrate?

Generate your API key in settings and start making requests in minutes.