Skip to main content
POST
Email Validation
Validates one email address and returns the result in the response. There is no job or polling.
  • Method: POST
  • Path: /validate-single-email
  • Auth: X-Api-Key header
  • Cost: 1 credit per completed validation. See What you are charged for.

Request

Response

Every successful request (HTTP 200) returns the same eight fields:

Result values

What you are charged for

  • A completed validation costs 1 credit, whatever the result: ok, catch_all_validated, catch_all, invalid or unknown.
  • timeout and error are free. The credit is returned before the response is sent, and credits_consumed is false.
  • Input without an @ is free. It returns error_invalid_syntax and still counts toward your rate limit.
  • Rejected requests are free. A request rejected with a 4xx or 500 error (see Errors) never runs a validation or uses a credit.
  • Each request is charged on its own. Sending the same address again runs and charges a new validation. Retrying a free timeout or error costs nothing until a retry completes.
  • credits_consumed reports what happened to this request. If it’s true on a timeout or error, we couldn’t confirm the refund. Contact support with the X-Request-Id.

Client timeout

Set your HTTP client timeout to at least 90 seconds; most answers return much faster. If your client gives up before we answer, a completed validation is still charged and you never see its result.

Response headers

Errors

Errors return a JSON body of the form {"error": "<message>"}. A 502 or 504 comes from our gateway, not the validation service, so it has no X-Request-Id. Retry it. If you think you were charged, contact support with the time of the request.

Authorizations

X-Api-Key
string
header
required

Body

application/json
email
string<email>
required

The email address to validate.

Response

Validation result. Every 200 returns all eight fields.

email
string<email>
required

The address you sent, lowercased.

valid
boolean
required

true only when result is ok or catch_all_validated. Only send to these.

result
enum<string>
required

The outcome.

Possible values:

  • ok — the mailbox accepts mail. Valid. Charged.
  • catch_all_validated — the domain accepts every address, and we confirmed this mailbox exists. Valid. Charged.
  • catch_all — the domain accepts every address, and we couldn't confirm this mailbox. Not valid. Charged.
  • invalid — the address won't accept mail. Not valid. Charged.
  • unknown — the check finished, but the mail server gave no clear answer. Not valid. Charged.
  • timeout — the check didn't finish in time. Not valid. Free.
  • error — something failed on our side; it says nothing about the address. Not valid. Free.
  • error_invalid_syntax — the value isn't an email address (no @). Not valid. Free.
Available options:
ok,
catch_all_validated,
catch_all,
invalid,
unknown,
timeout,
error,
error_invalid_syntax
mx_domain
string | null
required

The domain that receives mail for your recipient's address.

email_type
enum<string>
required

Email type classification.

Available options:
business,
personal,
unknown
mx_provider
string | null
required

The mail provider used by your recipient's address, such as google or microsoft.

credits_consumed
boolean
required

Whether this request used a credit. false for timeout, error and error_invalid_syntax.

mx_secure_email_gateway
boolean
required

Whether your recipient's email is behind a secure email gateway.