/haveibeenpwned/passwords

POST /api/haveibeenpwned/passwords

Price: 5 credits

Check whether a password has appeared in known data breaches (Pwned Passwords)

How to use it

Check a password against the Pwned Passwords corpus of previously breached passwords. Provide either a plaintext password or a pre-computed SHA-1 / NTLM hash, plus the hashing mode. Returns the full hash, whether it was found in a breach, and how many times it has been seen. The plaintext password is never transmitted upstream — only a short hash prefix is sent (k-anonymity).

Parameters

Request body

Response

Errors

Response headers