Skip to content
OSINTtools.io

DataBreach.com API

Breach-record search by email, name or phone, with a running list of newly added breaches and paid API plans.

Base URL
https://apiv2.databreach.com
Sign-in
API key
Pricing
Subscription
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from databreach.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The DataBreach.com API searches an indexed set of breach records. A scan returns, for each breach that contains the value, the breach name, dates, record count, country and website, and which kinds of data were found (for example email or password).

Calls go to https://apiv2.databreach.com with an API key in the x-api-key header. A scan is a POST with a JSON body naming a field and a value, or a SHA256 hash of the value. Email scans use the monthly email quota; other fields use the monthly person-search quota.

The pricing page lists four monthly tiers with different quotas and requests per minute. Keys and subscription changes can take up to a minute to apply. Custom plans are offered on request.

Quick start

  1. Get a key

    Create an account with DataBreach.com and copy your api key. Where to get it

  2. Make your first request

    List metadata for every breach currently indexed.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://apiv2.databreach.com/v3/all-breaches' \
      -H 'x-api-key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "breaches": [
        {
          "id": "example.com-2021",
          "country": "US",
          "website": "example.com"
        }
      ]
    }

Authentication

Send your API key in the x-api-key header of every request.

The /health endpoint needs no key.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Per plan, from the pricing page: 30 requests per minute (Tier 1), 150 (Tier 2), 700 (Tier 3), 3,500 (Tier 4). Monthly email and person search quotas also apply.

Pricing: subscription.

Errors

StatusMeaning
429Rate limit exceeded or monthly quota used up; rate-limit responses carry a Retry-After header

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) · 3Show

fieldstringalways present

One of email, full_name, phone, ip, vehicle_plate, gov_id, driver_id, vehicle_vin

valuestring

The value to search for

hashstring

SHA256 hash (UTF-8) of the value, instead of value

Response fields · 13Show

idstring

Breach identifier

namestring

Company or breach name

breach_datestring

Date of the breach

upload_datestring

Date the data was added

countrystring

Impacted company's country code, null when unavailable

websitestring

Company website as stored, null when unavailable

rowsinteger

Number of records in the breach

summarystring

Breach description

hibp_idstring

Have I Been Pwned identifier

fieldstring

Type of data matched, such as email or pass

labelstring

Display label

valuestring

The matched value; may be omitted for some items such as passwords

sensitiveboolean

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"}'
Replace YOUR_API_KEY with your key
Response
[
  {
    "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"
  }
]

Breaches

  • Passive: the target is not contacted

Returns the id, country and website of each indexed breach.

Response fields · 3Show

idstring

Breach identifier

countrystring

Country code

websitestring

Company website

curl 'https://apiv2.databreach.com/v3/all-breaches' \
  -H 'x-api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "breaches": [
    {
      "id": "example.com-2021",
      "country": "US",
      "website": "example.com"
    }
  ]
}

Service

  • Passive: the target is not contacted

Returns 200 with the text OK.

curl 'https://apiv2.databreach.com/health' \
  -H 'x-api-key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
OK