Have I been pwned
By troyhunt
Updated 4 days ago

Have I been pwned API Documentation

The "Have I been pwned?" service allows you to search for accounts (usernames and email addresses) that have appeared in data breaches that the attackers have made public.

Learn more about this API
GETGet breached sites for account
GETGet breached sites for account

The most common use of the API is to return a list of all breaches a particular account has been involved in. The API takes a single parameter which is the account to be searched for. The account is not case sensitive and will be trimmed of leading or trailing white spaces. The account should always be URL encoded.

Header Parameters
Required Parameters
REQUIREDThe username or email to be tested
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication