Domain searches

Get all breached email addresses for a domain

Changed on

Available on Core and Pro subscriptions. Returns all breached email aliases on a verified domain and the breach names they have appeared in. The domain must already have been added to the domain search dashboard and successfully verified. Sensitive breaches are returned because this API is only available after domain control has been demonstrated. If the domain exceeds the subscription size or monitored-domain allowance, results can be limited to subscription-free breaches. If none are available, the API returns 403. The hibp-integration-tests.com domain can be searched with a test API key.

get/breacheddomain/{domain}

Request

  • Base URL
    https://haveibeenpwned.com/api/v3
  • Auth
    API key in header hibp-api-key

Path parameters

domainstring required

The domain to be searched for. Must be a verified domain in the domain search dashboard.

Headers

user-agentstring required

User agent identifying the consuming application. Required for authenticated APIs. Use your application name and optionally its version. Browsers may supply their own User-Agent instead of a custom value.

Response

Mapping of email aliases to breach names. For each breached email address on the domain, only the alias is returned along with each breach it has appeared in. Only the name attribute of the breach is returned.

object required

Changes

    • breaking

      added subschema #2 to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the response's body type changed from object to string for status

    9 more changes in this revision