API
The API runs the same engines as the free tools and the command line. It is anonymous: there are no API keys yet, and limits apply for each client IP address.
- Base URL:
https://api.kytheos.com - Format: JSON, except the secrets check upload (not available yet), which is a zip file
- Specification: openapi.yaml (OpenAPI 3.1). The reference is generated from it.
Endpoints
Section titled “Endpoints”| Method and path | What it does |
|---|---|
GET /health |
Confirms the API is running |
GET or POST /v1/domain-check |
Grade a domain |
GET /v1/lookalike |
Find registered lookalikes |
POST /v1/guardian |
Check a link or message |
POST /v1/prompt-check |
Check a system prompt |
POST /v1/mcp-check |
Scan an MCP config |
POST /v1/secrets-check |
Not available yet |
Errors
Section titled “Errors”Every error is JSON in one shape, and the HTTP status carries the meaning:
{ "error": "Enter only the domain name, without http://, paths or ports." }| Status | Meaning |
|---|---|
| 400 | The input is missing, malformed or not allowed. The message says what to change. |
| 404 | No such route or scan. |
| 413 | The request body is larger than the endpoint accepts. |
| 429 | Too many requests from your network. Wait retry-after seconds (always 60). |
| 502 | The scanner backend did not answer (secrets check only, when available). |
| 503 | The feature is not available yet (secrets check today). |
Write programs against the status code. The error text is for people and may change.
Reading a result
Section titled “Reading a result”Every graded result has the same building blocks. A check has a status of pass, warn, fail,
info or error, a severity, a summary, evidence and a fix. When any check has the status
error, the score.grade is null and score.incomplete is true. Treat null as “could not
be checked”, never as a pass.
Responses can gain new fields at any time. Ignore fields you do not know.
Calling from a browser
Section titled “Calling from a browser”Only https://kytheos.com and https://www.kytheos.com get CORS headers. From anywhere else,
call the API from a server or a script.
Versioning
Section titled “Versioning”The version is in the path. A breaking change would ship as /v2, and /v1 would keep working
through a notice period. The planned notice period is 12 months. Formal deprecation headers and a
published policy are on the roadmap and are not in place yet.
Not yet available
Section titled “Not yet available”These are planned and not part of the API today: API keys and higher limits, request ids,
rate limit headers beyond retry-after, error responses in the problem details format,
idempotency keys, and generated SDKs.