LeakData JSON
genericDefault signed JSON payload. All event fields stay in the LeakData schema.
- Target
- Custom webhook receivers, SOAR playbooks
- Header
X-LeakData-Payload-Preset
Check breach exposure, protect users, and receive security alerts through the LeakData API.
The LeakData.io API lets you add breach checks and security monitoring to your own workflows through a REST interface.
https://leakdata.io/api/v1API requests use an API key. You can create and manage keys from the dashboard.
Authorization: Bearer YOUR_API_KEY
Content-Type: application/jsonAPI access is currently packaged for enterprise integrations. Self-serve plans do not include public API quota.
| Plan | Per minute | Daily | Monthly |
|---|---|---|---|
| Free | — | — | Not included |
| Pro / Elite | — | — | Not included |
| Enterprise | Contract | Contract | Contract |
Check whether an email address appears in breach data.
/search{
"type": "email",
"query": "user@example.com"
}{
"success": true,
"found": true,
"query": "user@example.com",
"type": "email",
"breaches": 3,
"data": []
}Check exposure signals related to a company domain.
/search{
"type": "domain",
"query": "example.com"
}{
"success": true,
"query": "example.com",
"type": "domain",
"found": true,
"breaches": 23,
"data": []
}Retrieve details for a specific breach record.
/breaches/:id{
"success": true,
"breach": {
"id": "breach-123",
"name": "Example Breach",
"description": "Detailed description...",
"date": "2023-05-15",
"recordCount": 5000000,
"dataClasses": ["Email", "Password", "Name"],
"isVerified": true,
"isSensitive": true
}
}List and manage user alerts.
/alertspage - Page number (default: 1)limit - Records per page (default: 20)status - Status filter (read, unread, resolved)const axios = require('axios');
async function checkEmail(email) {
try {
const response = await axios.post(
'https://leakdata.io/api/v1/search',
{ type: 'email', query: email },
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
console.log(response.data);
} catch (error) {
console.error('Error:', error.response.data);
}
}
checkEmail('user@example.com');| Code | Description |
|---|---|
400 | Bad Request - Invalid request parameters |
401 | Unauthorized - Invalid or missing API key |
403 | Forbidden - Access denied |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Server error |
Receive automatic notifications when new breach signals are detected.
X-Webhook-SignatureX-LeakData-SignatureX-LeakData-Event-IdX-LeakData-Payload-PresetX-Webhook-Attempt{
"id": "evt_9f3a7c2e6b1d4a80",
"type": "domain.alert",
"created": 1770000000000,
"data": {
"domain": "example.com",
"severity": "high",
"breachCount": 2
}
}Enterprise webhooks can be delivered in the format your security stack expects. The selected preset changes the transmitted JSON body and adds compatibility headers.
genericDefault signed JSON payload. All event fields stay in the LeakData schema.
X-LeakData-Payload-Presetsplunk_hecSent with time, source, sourcetype, event and fields for Splunk HTTP Event Collector.
X-Splunk-Request-Channelelastic_ecsUses ECS-like event, observer, threat, rule and leakdata fields for Elastic ingest.
X-Elastic-Event-Datasetmicrosoft_sentinelUses TimeGenerated, EventId, EventType, Severity and RawData for Log Analytics custom tables.
Log-Typecef_syslogCarries a CEF-compatible message inside JSON for syslog or SOAR middleware.
X-CEF-Product{
"time": 1770000000,
"source": "leakdata",
"sourcetype": "leakdata:webhook",
"event": {
"id": "evt_splunk",
"type": "webhook.test",
"created": 1770000000000,
"data": {
"message": "LeakData webhook test bildirimi"
}
},
"fields": {
"leakdata_event_id": "evt_splunk",
"leakdata_event_type": "webhook.test",
"leakdata_preset": "splunk_hec"
}
}{
"TimeGenerated": "2026-02-02T02:40:00.000Z",
"EventId": "evt_sentinel",
"EventType": "webhook.test",
"SourceSystem": "LeakData",
"Severity": 3,
"RawData": {
"id": "evt_sentinel",
"type": "webhook.test",
"created": 1770000000000,
"data": {
"message": "LeakData webhook test bildirimi"
}
}
}Choose one or more event types when creating a webhook. Test deliveries use webhook.test and real deliveries use the selected event names below.
breach.detectedBreach match detectedA monitored identifier appears in breach data.breach.newNew breach recordA new breach is added to the LeakData dataset.domain.alertDomain alertA monitored company domain produces a risk signal.search.foundSearch result foundAn API search or monitoring workflow returns a match.monitoring.alertMonitoring alertEmail, domain or account monitoring produces an alert.account.suspiciousSuspicious account eventAn unusual account security event is detected.api.limit.warningAPI limit warningEnterprise API usage approaches an important threshold.