
Bring leak monitoring into the tools you already use. Authenticate with an API key generated from your dashboard.
All requests must include the header Authorization: Bearer <your_key>
read — Read leaks, scores, alertsscan — Trigger manual scans/api/v1/leaksreadPaginated list of email leaks, with filters.
domainIdstringFilter by domain (optional — all domains if omitted)severitystringFilter by severity: LOW, MEDIUM, HIGH, CRITICALresolvedstring"true" or "false" to filter by statuspagenumberPage number (default: 1)limitnumberResults per page (default: 50, max: 200)curl -H "Authorization: Bearer ks_live_xxx" \ "https://kryptascope.com/api/v1/leaks?severity=HIGH&resolved=false"
{
"leaks": [
{
"id": "clx...",
"email": "john@example.com",
"breachName": "Example Breach 2019",
"breachDate": "2019-05-01",
"dataTypes": ["email", "password"],
"passwordExposed": true,
"severity": "HIGH",
"detectedAt": "2026-04-13T...",
"resolved": false,
"resolvedAt": null
}
],
"pagination": { "total": 46, "page": 1, "pages": 1, "limit": 50 }
}/api/v1/scorereadCurrent security score (0-100, higher is better), risk level and history.
domainIdstringFilter by domain (optional)curl -H "Authorization: Bearer ks_live_xxx" \ "https://kryptascope.com/api/v1/score"
{
"scores": {
"domain": "example.com",
"domainId": "clx...",
"securityScore": 55,
"riskLabel": "medium",
"lastChecked": "2026-04-13T...",
"leaks": { "active": 24, "resolved": 12, "total": 36 },
"history": [
{ "securityScore": 80, "riskLabel": "low", "createdAt": "2026-03-01" },
{ "securityScore": 55, "riskLabel": "medium", "createdAt": "2026-04-01" }
]
}
}/api/v1/alertsreadHistory of alerts already sent.
pagenumberPage number (default: 1)limitnumberResults per page (default: 50, max: 200)curl -H "Authorization: Bearer ks_live_xxx" \ "https://kryptascope.com/api/v1/alerts"
{
"alerts": [
{
"id": "clx...",
"channel": "EMAIL",
"trigger": "NEW_LEAK",
"status": "SENT",
"sentAt": "2026-04-13T...",
"payload": { "domain": "example.com", "leakCount": 3 }
}
],
"pagination": { "total": 15, "page": 1, "pages": 1 }
}/api/v1/scanscanStarts a full scan (email leaks + public code repositories). The scan runs in the background.
domainIdstringID of the domain to scan (required) *curl -X POST -H "Authorization: Bearer ks_live_xxx" \
-H "Content-Type: application/json" \
-d '{"domainId":"clx..."}' \
"https://kryptascope.com/api/v1/scan"{
"success": true,
"message": "Scan started for example.com. Results will be available from GET /api/v1/leaks.",
"domainId": "clx...",
"domain": "example.com"
}