# Breach Database

Every known data breach — when, where, how many accounts, and exactly what leaked, biggest first.

- Method: `GET`
- Path: `/v1/security/breaches`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `domain` | string | optional | Only breaches at this domain, e.g. `adobe.com`. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/security/breaches \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "total": 1029,
    "breaches": [
      {
        "name": "Adobe",
        "title": "Adobe",
        "domain": "adobe.com",
        "breachDate": "2013-10-04",
        "addedDate": "2013-12-04",
        "pwnCount": 152445165,
        "dataClasses": ["Email addresses", "Password hints", "Passwords", "Usernames"],
        "verified": true,
        "sensitive": false,
        "url": "https://haveibeenpwned.com/breach/Adobe"
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-22T04:05:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-23T04:05:00.000Z"
  }
}
```