- Takes: Email
- Takes: Name
- Takes: Phone number
- Takes: IP address
- Passive: the target is not contacted
Returns one object per breach that contains the value. Send either value or hash (SHA256 of the value, UTF-8) for extra privacy. Phone numbers are in E.164 format. Email scans use the email quota; other fields use the person quota.
Request body (JSON) · 3ShowHide
field
One of email, full_name, phone, ip, vehicle_plate, gov_id, driver_id, vehicle_vin
value
The value to search for
hash
SHA256 hash (UTF-8) of the value, instead of value
Response fields · 13ShowHide
id
Breach identifier
name
Company or breach name
breach_date
Date of the breach
upload_date
Date the data was added
country
Impacted company's country code, null when unavailable
website
Company website as stored, null when unavailable
rows
Number of records in the breach
summary
Breach description
hibp_id
Have I Been Pwned identifier
field
Type of data matched, such as email or pass
label
Display label
value
The matched value; may be omitted for some items such as passwords
sensitive
Whether the item is sensitive
curl -X POST 'https://apiv2.databreach.com/v3/scan' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"field":"email","value":"jane@example.com"}'[
{
"id": "example.com-2021",
"found": [
{
"value": "jane@example.com",
"field": "email",
"label": "Email",
"sensitive": true
},
{
"field": "pass",
"label": "Password",
"sensitive": true
}
],
"breach_date": "2021-01-01",
"upload_date": "2024-12-01",
"name": "Example",
"country": "US",
"website": "example.com",
"rows": 1000000,
"summary": "Example description of a breach.",
"hibp_id": "Example"
}
]