HaveIBeenPwned · Schema

PwnedPasswordsRangeResult

Parsed structure of a single entry returned by the Pwned Passwords range endpoint.

SecurityBreach NotificationCredential StuffingStealer LogsK-AnonymityPrivacyIdentity

Properties

Name Type Description
hashSuffix string Remaining 35 characters of the SHA-1 hash.
count integer Number of times the password has been observed in breaches.
View JSON Schema on GitHub

JSON Schema

pwned-passwords-range-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.pwnedpasswords.com/schemas/range-result.json",
  "title": "PwnedPasswordsRangeResult",
  "description": "Parsed structure of a single entry returned by the Pwned Passwords range endpoint.",
  "type": "object",
  "required": ["hashSuffix", "count"],
  "properties": {
    "hashSuffix": { "type": "string", "pattern": "^[A-F0-9]{35}$", "description": "Remaining 35 characters of the SHA-1 hash." },
    "count": { "type": "integer", "minimum": 0, "description": "Number of times the password has been observed in breaches." }
  }
}