Have I Been Pwned
communityData breach notification service checking if email or password has appeared in known breaches.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
GET
https://haveibeenpwned.com/api/v3/breachedaccount/{account}Check if email is in breaches
Parameters
accountemail address (stringrequiredtruncateResponseminimal response (booleanoptionalincludeUnverifiedinclude unverified (booleanoptionalReturns
breaches[] with Name, Title, Domain, BreachDate, PwnCount, DataClasses[], IsVerifiedGET
https://haveibeenpwned.com/api/v3/breach/{name}Get breach details
Parameters
namebreach name (stringrequiredReturns
Name, Title, Domain, BreachDate, AddedDate, ModifiedDate, PwnCount, Description, DataClasses[], IsVerified, IsSensitiveGET
https://api.pwnedpasswords.com/range/{prefix}Check if password is in breaches (k-anonymity)
Parameters
prefixfirst 5 chars of SHA-1 hash (stringrequiredReturns
text lines with hash_suffix:count pairs to check locally