apyhub
Back
COMMUNICATIONS · DATA VALIDATION

Email Validation API: Check Domains and Block Disposable Emails

Hosted on ApyHub

What it does

The Email Validation API checks whether an email address is worth accepting. It confirms the address is correctly formatted, that its domain is set up to receive email, and, by default, that it doesn't come from a disposable email service. You get back a single true or false.

Use it on sign-up forms, contact forms, and newsletter subscriptions to stop typos and throwaway addresses before they reach your database, or run it over imported lead lists to remove addresses that would bounce. Set disposable_checks to false if you want to accept temporary addresses.

The check confirms the domain can receive mail, but not that a specific mailbox exists. For a more detailed view of how likely an address is to receive your messages, use the Email Deliverability Score API.

You can start on ApyHub's free tier with no card required.

POST
Verify email validity and deliverability
https://api.eu.apyhub.com/apyhub/verify-email-validity-and-deliverability

QUICKSTART

GUIDE

Quickstart

Verify an email address and check whether it’s deliverable with the minimum required payload.

curl -X POST "https://api.eu.apyhub.com/apyhub/verify-email-validity-and-deliverability" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]"}'

What you'll get back

Returns a JSON object with a data boolean field — true when the email passes verification and deliverability checks, false otherwise.

{
  "data": true
}
TRY ITLIVE · 25 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
When true (default), reject known disposable domains before MX verification.

About this endpoint

What it does

Verifies whether an email address is valid and deliverable. The request sends an email address, and the response returns a JSON object with a data boolean indicating the result.

Request Body

ParameterTypeMandatoryDescription
emailStringYesEmail address to verify. Must be in email format.
disposable_checksBooleanNoWhen true (default), reject known disposable domains before MX verification.

Response

Returns a JSON object with a data boolean field. true means the email passed verification and deliverability checks; false means it did not.

ParameterTypeMandatoryDescription
dataBooleanNoVerification result.

Body

Name
Type
Description
bodyREQUIRED
object
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.