---
title: "Verify a home page meta tag"
method: POST
path: "/domainverification/verifymetatag"
tags: ["Domain verification"]
---

# Verify a home page meta tag

`POST /domainverification/verifymetatag`

## Request

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

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.

## Headers

- `user-agent` string, required

## Request body

- DomainVerificationRequest
  - `DomainName` string, required: Domain name to generate or verify a domain-verification token for.

## Response `200`

The domain has been verified.

## Other responses

- `400`: Bad request - the request body was invalid, the domain was invalid, or the domain cannot be verified.
- `401`: Unauthorized - the hibp-api-key header was missing, malformed, or invalid.
- `403`: Forbidden - no user agent has been specified in the request, or the current subscription does not include permission to add domains via the API.
- `404`: Home page unavailable or verification tag not found.

## Changes

- **2026-11-19** `52f578954670`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/changes/domainverification/verifymetatag/post.md)

---

[API](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3.md) - [All operations](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/haveibeenpwned/apis/have-i-been-pwned-api-v3/revisions/52f578954670?raw)
