Have I been pwned

FREE
By troyhunt
Updated 7 months ago
Other
6.1/10
Popularity Score
346ms
Latency
-
Success Rate

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.

View API Details
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
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accountSTRING
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