Domain verification

Verify a home page meta tag

Changed on

Checks the public HTTPS home page for a matching tag in its HTML head. Only one redirect is permitted: HTTP 301 or 302 from the apex domain to the HTTPS root of its www host, without a query string or fragment.

post/domainverification/verifymetatag

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.

Request body

DomainNamestring required

Domain name to generate or verify a domain-verification token for.

Response

The domain has been verified.

Changes