Verify an email

Checks one email address and returns the verdict.

POST /api/v1/verifications

Request#

Headers#

Header Required Value
Authorization Yes Bearer YOUR_API_KEY (or send the key in X-API-Key)
Content-Type Yes application/json

Body#

Field Type Required Description
email string Yes The address to verify, up to 254 characters. Spaces around it are ignored.

Query parameters#

Parameter Description
include=evidence Optional. Adds the detailed evidence trail to the response, for debugging. Its structure may change, so don't build logic on it.

Example request#

curl -X POST https://thenotifier.io/api/v1/verifications \
  -H "Authorization: Bearer $VERIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"someone@example.com"}'

Example response#

A successful verification returns HTTP 200:

{
  "data": {
    "id": "req_8f2c1a9b7d3e4f5a6b7c8d9e",
    "email": "jane@example.com",
    "domain": "example.com",
    "status": "valid",
    "result": "valid",
    "reason": "MAILBOX_ACCEPTED",
    "description": "The mail server accepted the mailbox and rejects addresses that do not exist.",
    "score": 96.0,
    "confidence": 96,
    "confidence_level": "very_high",
    "retryable": false,
    "retry_after": null,
    "provider": "google",
    "mx": "gmail-smtp-in.l.google.com",
    "flags": {
      "disposable": false,
      "role_based": false,
      "free_provider": true,
      "catch_all": false,
      "smtputf8": false
    },
    "checks": { "syntax": "pass", "dns": "ok", "smtp": "accepted" },
    "notes": [],
    "duration_ms": 812,
    "checked_at": "2026-11-27T10:00:00Z"
  },
  "meta": {
    "request_id": "req_8f2c1a9b7d3e4f5a6b7c8d9e",
    "tokens_charged": 1,
    "tokens_remaining": 4999
  }
}

Every field is explained in Response fields.

Response headers#

Header Description
X-Request-Id The id of this request. It is also in the body as meta.request_id (or error.request_id).
X-RateLimit-Limit Requests allowed per minute on your plan. Not sent on 400, 401 or 403 errors, which happen before the rate limit is checked.
X-RateLimit-Remaining Requests left in the current minute.
X-RateLimit-Reset Seconds until the current window resets.
Retry-After Only on 429: seconds to wait before retrying.

Errors#

When a request fails, the body has one error object instead of data:

{
  "error": {
    "code": "invalid_api_key",
    "message": "A valid API key is required.",
    "request_id": "req_8f2c1a9b7d3e4f5a6b7c8d9e"
  }
}

Branch on error.code, never on the message. See Errors and status codes for the full list.

How a valid result is decided#

A valid answer always means the mail server accepted the mailbox and refused a random address that cannot exist. Domains and providers that accept every address (catch-all domains, and some large providers) are reported as risky with the result catch_all, never as valid.

Note

Every request is charged on its own. Sending the same address twice uses two verifications. There is no Idempotency-Key support. An address checked in the last 30 days is answered from the stored result instead of a new check. See Checking the same address again.