How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Have I Been Pwned Domain Search API

Verify and search domains you control.

Have I Been Pwned Domain Search API is one of 22 APIs that Have I Been Pwned publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Domain Search. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 5 operations across 5 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 3.0.0.

Requests are made against a single base URL, https://haveibeenpwned.com/api/v3.

5 operations 5 paths 4 schemas 2 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.0.0
Base URL
https://haveibeenpwned.com/api/v3
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Have I Been Pwned Domain Search API declares 1 security scheme for authenticating requests. An API key is passed in the header as hibp-api-key (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — 32-character hexadecimal API key issued at https://haveibeenpwned.com/API/Key. Required for all account, paste, stealer log, domain search, and subscription en…

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 2 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Domain Search 5

Verify and search domains you control.

GET
/breacheddomain/{domain}
Get Breached Email Addresses For A Domain
getBreachedDomain 1 param → 200401403404
GET
/subscribeddomains
List Subscribed Domains
listSubscribedDomains → 200401
POST
/domainverification/generateDnsToken
Generate A DNS Verification Token
generateDnsToken body → 200
POST
/domainverification/verifyDnsToken
Verify A DNS Verification Token
verifyDnsToken body → 200
POST
/domainverification/sendEmail
Send A Domain Verification Email
sendDomainVerificationEmail body → 200

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are SubscribedDomain (5 properties), DomainEmailVerificationRequest (2 properties), Error (2 properties), DomainVerificationRequest (1 property). Each schema is shown below with its type and property counts.

Error
object
Standard HIBP error payload.
2 properties 2 required
DomainVerificationRequest
object
1 property 1 required
DomainEmailVerificationRequest
object
2 properties 2 required
SubscribedDomain
object
A domain monitored by the calling subscription.
5 properties 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

have-i-been-pwned-domain-search-api-openapi.yml Raw ↑

Other APIs Have I Been Pwned publishes across the network.

Have I Been Pwned API v3
Pwned Passwords API
Have I Been Pwned Breach API
Have I Been Pwned Breachedaccount API
Have I Been Pwned Breacheddomain API
Have I Been Pwned Breaches API
Have I Been Pwned Dataclasses API
Have I Been Pwned Domainverification API
Have I Been Pwned Latestbreach API
Have I Been Pwned Pasteaccount API
Have I Been Pwned Range API
Have I Been Pwned Stealerlogsbyemail API
Where this information came from

This is an independent, third-party profile of Have I Been Pwned Domain Search API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.