---
title: "Get all breaches for an account"
method: GET
path: "/breachedaccount/{account}"
tags: ["Account breaches"]
---

# Get all breaches for an account

`GET /breachedaccount/{account}`

## Request

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

Available on Core, Pro, and High RPM subscriptions. Returns the breaches for the supplied account (email address, username, or phone number). The account is not case-sensitive and is trimmed of leading or trailing whitespace. The account should always be URL encoded. This is an authenticated API requiring both the hibp-api-key and user-agent headers. Test API keys can be used to query test addresses on the hibp-integration-tests.com domain.

## Path parameters

- `account` string, required

## Query parameters

- `truncateResponse` boolean
- `domain` string
- `includeUnverified` boolean

## Headers

- `user-agent` string, required

## Response `200`

A list of breaches for the account. By default the response is truncated to only the breach name. Set truncateResponse=false to receive the full breach model. Sensitive and retired breaches are not returned by the public API.

- union
  - TruncatedBreach[]
    - `Name` string, required: The stable Pascal-cased breach name. This is the value returned by default from /breachedaccount and can be used to look up the full breach model via /breach/{name}.
  - Breach[]
    - `Name` string, required: A Pascal-cased name representing the breach which is unique across all other breaches. This value never changes and may be used to name dependent assets (such as images) but should not be shown directly to end users (see the 'Title' attribute instead).
    - `Title` string, required: A descriptive title for the breach suitable for displaying to end users. It's unique across all breaches but individual values may change in the future (i.e. if another breach occurs against an organisation already in the system).
    - `Domain` string, required: The domain of the primary website the breach occurred on. This may be used for identifying other assets external systems may have for the site.
    - `BreachDate` string, date, required: The date (with no time) the breach originally occurred on in ISO 8601 format. This is not always accurate - frequently breaches are discovered and reported long after the original incident. Use this attribute as a guide only.
    - `AddedDate` string, date-time, required: The date and time the breach was added to the system in ISO 8601 format, including seconds.
    - `ModifiedDate` string, date-time, required: The date and time the breach was last modified in ISO 8601 format, including seconds. This is equal to or later than AddedDate.
    - `PwnCount` integer, required: The total number of addresses loaded into the system. This is usually less than the total number reported by the media due to duplication or other data integrity issues in the source data.
    - `Description` string, required: Contains an overview of the breach represented in HTML markup. The description may include markup such as emphasis and strong tags as well as hyperlinks.
    - `DataClasses` string[], required: This attribute describes the nature of the data compromised in the breach and contains an alphabetically ordered string array of impacted data classes.
    - `IsVerified` boolean, required: True when the breach is considered verified. False indicates an unverified breach, which may not have originated from the indicated website but contains sufficient legitimate data to be included in HIBP.
    - `IsFabricated` boolean, required: Indicates that the breach is considered fabricated. A fabricated breach is unlikely to have been hacked from the indicated website and usually contains a large amount of manufactured data. However, it still contains legitimate email addresses and asserts that the account owners were compromised in the alleged breach.
    - `IsSensitive` boolean, required: Indicates a sensitive breach. Public account and hash-range searches exclude these breaches; verified-domain searches can return them.
    - `IsRetired` boolean, required: Indicates if the breach has been retired. This data has been permanently removed and will not be returned by the API.
    - `IsSpamList` boolean, required: Indicates if the breach is considered a spam list. This flag has no impact on any other attributes but it means that the data has not come as a result of a security compromise.
    - `IsMalware` boolean, required: Indicates if the breach is sourced from malware. This flag has no impact on any other attributes, it merely flags that the data was sourced from a malware campaign rather than a security compromise of an online service.
    - `IsSubscriptionFree` boolean, required: Indicates if the breach is subscription-free. This flag has no impact on any other attributes, it is only used when running a domain search where a sufficiently sized subscription isn't present.
    - `IsStealerLog` boolean, required: Indicates if the breach is sourced from stealer logs. A breach with this flag also has the domains that appear in the logs loaded against each email address. This data can be accessed via the stealer logs API.
    - `LogoPath` string, uri, required: A URI that specifies where a logo for the breached service can be found. Logos are always in PNG format.
    - `Attribution` string, nullable: Sometimes requested by the party that provides the data to HIBP.
    - `DisclosureUrl` string, uri, nullable: Link to additional information about the breach disclosure, or null when no link is available.

## Other responses

- `400`: Bad request - the account does not comply with an acceptable format (i.e. it's an empty string)
- `401`: Unauthorized - the API key provided was not valid
- `403`: Forbidden - no user agent has been specified in the request.
- `404`: No publicly disclosable breaches matched the account and filters. Also returned for opted-out accounts and accounts found only in excluded breaches. The response body is empty.
- `429`: Too many requests - the rate limit has been exceeded
- `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`: 6 breaking, 3 info
  - the response's body type changed from `object` to `string` for status `400`
  - removed the media type `application/json` for the response with the status `403`
  - removed the media type `application/json` for the response with the status `404`
  - removed the media type `application/json` for the response with the status `503`
  - …5 more
- **2026-09-11** `1bb60b713979`: 4 info
  - api operation id `getAccountBreaches` was added
  - api tag `Account breaches` added
  - added `subschema #1, subschema #2` to the response body `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the response body `oneOf` list for the response status `200`
- **2026-07-13** `88f801b9a10d`: 2 breaking
  - added `subschema #1, subschema #2` to the response body `oneOf` list for the response status `200`
  - the response's body type changed from `array` to no type for status `200`
- **2026-03-24** `129587cd1899`: 2 breaking, 1 info
  - for the `query` request parameter `includeUnverified`, default value `true` was added
  - for the `query` request parameter `truncateResponse`, default value `true` was added
  - added the optional property `items/Attribution` to the response with the `200` status

[Operation history](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/changes/breachedaccount/:account/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)
