Skip to main content
POST
/
api
/
breaches
Check Breaches
curl --request POST \
  --url https://encrata.com/api/breaches \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>"
}
'
{
  "email": "<string>",
  "breaches": 123,
  "services": [
    "<string>"
  ],
  "exposed_data": [
    "<string>"
  ],
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.encrata.com/llms.txt

Use this file to discover all available pages before exploring further.

Authentication

Requires an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY

Request

email
string
required
The email address to check for data breaches.

Example request

curl -X POST "https://encrata.com/api/agent/breaches" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "test@example.com"}'

Response

email
string
The email address that was checked.
breaches
number
Number of known data breaches the email appears in.
services
string[]
Names of breached services (e.g. ["LinkedIn", "Adobe"]). Only present when breaches > 0.
exposed_data
string[]
Types of data exposed (e.g. ["Passwords", "Email addresses"]). Only present when breaches > 0.
message
string
Human-readable summary.

Example responses

No breaches
{
  "email": "safe@example.com",
  "breaches": 0,
  "message": "No known data breaches found for this email."
}
Breaches found
{
  "email": "user@example.com",
  "breaches": 3,
  "services": ["LinkedIn", "Adobe", "Dropbox"],
  "exposed_data": ["Email addresses", "Passwords", "Usernames"],
  "message": "Found in 3 data breach(es)."
}

Notes

  • This endpoint is free — no credits are deducted.
  • Data sourced from Have I Been Pwned.
  • Rate limited to 60 requests per minute.