Skip to content
Maua.Culturewire

Have I Been Pwned

Data breaches that include email accounts or domains

SecurityCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API key (32 hexadecimal characters)SecretRequired

    Where to find them

    1. The API is paid.
    2. Get a subscription at haveibeenpwned.com/API/Key (Core, Pro…).
    3. Copy the key from the dashboard of your account (haveibeenpwned.com/Dashboard). The plan sets the requests per minute (if exceeded, it responds 429); to search by domain you must verify it first in the dashboard, and “stealer logs” require the Pro plan.

    Get credentials (opens in a new tab)

Tools (2)

  • Have I Been Pwned API requestHAVEIBEENPWNED_SEND_REQUEST

    Authenticated call to the Have I Been Pwned API (https://haveibeenpwned.com/api/v3). Any endpoint of the API is allowed. Examples: GET /breachedaccount/{email}?truncateResponse=false, GET /pasteaccount/{email}, GET /breacheddomain/{verified domain}, GET /subscribeddomains, GET /stealerlogsbyemail/{email} (Pro), GET /breaches?Domain=adobe.com, GET /breach/{Name}, GET /latestbreach, GET /dataclasses. A 404 means there are no results.

    Required scopes

    No scopes required

    Input

    Have I Been Pwned API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Breaches of an accountHAVEIBEENPWNED_LIST_ACCOUNT_BREACHES

    Public breaches that include an email address: name, domain, date, affected accounts and types of exposed data (passwords, phone numbers…). It counts toward the plan's requests-per-minute limit.

    Required scopes

    No scopes required

    Input

    Breaches of an account input
    NameTypeDescription
    emailrequiredstringEmail address
    include_unverifiedbooleanInclude unverified breachesDefault: true