---
title: "Get all breached email addresses for a domain"
method: GET
path: "/breacheddomain/{domain}"
tags: ["Domain searches"]
---

# Get all breached email addresses for a domain

`GET /breacheddomain/{domain}`

## Request

- Base URL: `https://haveibeenpwned.com/api/v3`
- URL: `https://haveibeenpwned.com/api/v3/breacheddomain/{domain}`
- Auth: API key in header `hibp-api-key`

Available on Core and Pro subscriptions. Returns all breached email aliases on a verified domain and the breach names they have appeared in. The domain must already have been added to the domain search dashboard and successfully verified. Sensitive breaches are returned because this API is only available after domain control has been demonstrated. If the domain exceeds the subscription size or monitored-domain allowance, results can be limited to subscription-free breaches. If none are available, the API returns 403. The hibp-integration-tests.com domain can be searched with a test API key.

## Path parameters

- `domain` string, required

## Headers

- `user-agent` string, required

## Response `200`

Mapping of email aliases to breach names. For each breached email address on the domain, only the alias is returned along with each breach it has appeared in. Only the name attribute of the breach is returned.

- object

## Other responses

- `400`: Invalid domain format, or no domains have been registered for the account.
- `401`: Unauthorized - the hibp-api-key header was missing, malformed, or invalid.
- `403`: Forbidden - no user agent has been specified in the request, the domain has not been verified in the domain search dashboard, or the current subscription is out of scope for the domain size or monitored-domain count.
- `404`: Not found - the domain does not have any email addresses in any breaches
- `429`: Too many requests - the rate limit has been exceeded. Typically, there is no need to query a domain unless a new breach has been added since the last query.
- `503`: Service unavailable or an edge challenge. The response may be HTML or plain text; do not assume a JSON error body.

## Changes

- **2026-11-16** `7bd47da8c4f3`: 11 breaking, 1 info
  - added `#/components/schemas/Error, subschema #2` to the response body `oneOf` list for the response status `403`
  - the response's body type changed from `object` to no type for status `403`
  - the response's body type changed from `object` to `string` for status `400`
  - the response's body type changed from `object` to `string` for status `404`
  - …8 more
- **2026-09-11** `1bb60b713979`: 2 info
  - api operation id `getDomainBreaches` was added
  - api tag `Domain searches` added

[Operation history](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/changes/breacheddomain/:domain/get.md)

---

[API](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3.md) - [All operations](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/revisions/52f578954670?raw)
