---
title: "Validate an email address"
method: POST
path: "/emails/validate"
tags: ["Email Validation"]
---

# Validate an email address

`POST /emails/validate`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/emails/validate`
- Auth: HTTP bearer

## Request body

- ValidateEmailRequest: Request body for validating an email address
  - `email` string, required: Email address to validate

## Response `200`

Email validation result

- ValidateEmailResponse: Complete email validation response
  - `email` string, required: The email address that was validated
  - `is_reachable` 'safe' | 'risky' | 'invalid' | 'unknown', required: Overall reachability status: safe, risky, invalid, or unknown
  - `misc` MiscResult, required: Miscellaneous validation result
    - `gravatar_url` string, nullable: Gravatar URL if available
    - `is_b2c` boolean, required: Whether the email provider is a B2C (consumer) email provider
    - `is_disposable` boolean, required: Whether the email is from a disposable email provider
    - `is_role_account` boolean, required: Whether the email is a role-based account (e.g., admin@, info@)
  - `mx` MxResult, required: MX record validation result
    - `accepts_mail` boolean, required: Whether the domain accepts mail
    - `error` string, nullable: Error message if MX lookup failed
    - `records` string[], required: List of MX records for the domain
  - `smtp` SmtpResult, required: SMTP validation result
    - `can_connect_smtp` boolean, required: Whether we could connect to the SMTP server
    - `error` string, nullable: Error message if SMTP check failed
    - `has_full_inbox` boolean, required: Whether the mailbox appears to have a full inbox
    - `is_catch_all` boolean, required: Whether this is a catch-all domain
    - `is_deliverable` boolean, required: Whether the email is deliverable
    - `is_disabled` boolean, required: Whether the mailbox is disabled
  - `syntax` SyntaxResult, required: Syntax validation result
    - `domain` string, nullable: The domain part of the email
    - `is_valid_syntax` boolean, required: Whether the email syntax is valid
    - `suggestion` string, nullable: Suggested email correction if available
    - `username` string, nullable: The username part of the email

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-08-04** `c647b6ab1d2c`: 1 warning
  - removed the request property `proxy`
- **2026-01-11** `50604ba8d4a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/emails/validate/post.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
