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

# Get all breaches for an account

`GET /breachedaccount/{account}`

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 (precision to the minute) the breach was added to the system in ISO 8601 format.
    - `ModifiedDate` string, date-time, required — The date and time (precision to the minute) the breach was modified in ISO 8601 format. This will only differ from the AddedDate attribute if other attributes represented here are changed or data in the breach itself is changed (i.e. additional data is identified and loaded). It is always either equal to or greater then the AddedDate attribute, never less than.
    - `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 — Indicates that the breach is considered unverified. An unverified breach may not have been hacked from the indicated website. An unverified breach is still loaded into HIBP when there's sufficient confidence that a significant portion of the data is legitimate.
    - `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 if the breach is considered sensitive. The public API will not return any addresses for a breach flagged as sensitive.
    - `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.

## 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` — Not found — the account could not be found and has therefore not been pwned
- `429` — Too many requests — the rate limit has been exceeded
- `503` — Service unavailable — usually returned by Cloudflare if the underlying service is not available

---

[API](https://skmtc.net/haveibeenpwned/apis/have-i-been-pwned-api-v3.md) · [All operations](https://skmtc.net/haveibeenpwned/apis/have-i-been-pwned-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/haveibeenpwned/have-i-been-pwned-api-v3/revisions/b6c35caec844/schema)
