Skip to main content

POST /v1/validate

Validate a single email address through the 4-layer validation pipeline.

Endpoint

Headers

Request Body

Example Request

Response

Success Response (200 OK)

Valid Personal Email

Role-Based Email (FREE)

Catch-All Domain (FREE)

Invalid Email (FREE)

Unknown Verification (FREE)

Response Fields

string
required
The validated email address
string
required
Validation result: valid, valid_role_based, risky, invalid, or unknownSee Result Categories for details
string
Human-readable explanation of the validation result
boolean
required
true if the email is a generic business inbox (info@, support@, etc.)
boolean
true if the domain is a free email provider (Gmail, Yahoo, Outlook, etc.)
boolean
true if the domain accepts all email addresses (can’t verify specific mailbox)
string
Confidence level: high, medium, or low (only present if is_catchall is true)
string
required
B2B outbound value: high (worth using), low (role-based), none (invalid/risky), or unknownSee B2B Quality Scoring for details
integer
required
Number of credits charged: 0 (free) or 1 (charged)Only valid personal emails with b2b_outbound_quality: "high" are charged
string
required
Explanation of why credits were or weren’t charged
string
Category of role-based email (e.g., “information”, “support”, “sales”)Only present if is_role_based is true
string
Layer where validation stopped: syntax, dns, smtp, or catchallUseful for debugging failures
string
Raw SMTP server response (when applicable)Useful for understanding SMTP-level issues

Error Responses

400 Bad Request

Common causes:
  • Missing email field
  • Empty email string
  • Malformed JSON

401 Unauthorized

Common causes:
  • Missing X-API-Key header
  • Invalid or revoked API key
  • Incorrect API key format

429 Too Many Requests

Solution: Wait for the retry_after seconds before making more requests

500 Internal Server Error

Solution: Retry the request or contact support if the issue persists

Performance

  • Cached DNS: ~50ms average
  • Uncached DNS: ~500ms average
  • Full SMTP validation: ~2s average

Best Practices

Error Handling

Always handle all possible result types:

Rate Limiting

For high-volume validation, use the bulk endpoint:

Next Steps

Bulk Validation

Validate up to 100 emails at once

Result Categories

Understand all validation results