Domain searches

Get all subscribed domains for API key

Changed on

Available on Core and Pro subscriptions. Returns the domains associated with the supplied hibp-api-key after they have been added to the domain search dashboard and verified.

get/subscribeddomains

Request

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

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

List of subscribed domains

DomainNamestring required

The full domain name that has been successfully verified.

PwnCountinteger nullable

The total number of breached email addresses found on the domain at last search (will be null if no searches yet performed).

PwnCountExcludingSpamListsinteger nullable

The number of breached email addresses found on the domain at last search, excluding any breaches flagged as a spam list (will be null if no searches yet performed).

PwnCountExcludingSpamListsAtLastSubscriptionRenewalinteger nullable

The total number of breached email addresses found on the domain when the current subscription was taken out (will be null if no searches yet performed). This number ensures the domain remains searchable throughout the subscription period even if the volume of breached addresses grows beyond the subscription's scope.

NextSubscriptionRenewalstring date-time nullable

The date and time the current subscription ends in ISO 8601 format. The PwnCountExcludingSpamListsAtLastSubscriptionRenewal value is locked in until this time (will be null if there have been no subscriptions).

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

      removed the required property message from the response with the status

    1 more change in this revision