Skip to content

Quick Start

Before you begin, you’ll need:

  • A Spamidate account (sign up for free)
  • Your API key (created after you complete your subscription)
  1. Sign up at spamidate.com/signup
  2. Choose your plan and complete payment
  3. Access your dashboard and create an API key
  4. Save both keys immediately:
    • Secret Key (sk_live_...) - For server-side calls (shown ONCE)
    • Publishable Key (pk_live_...) - For client-side use (always visible)

Choose your preferred language:

Validate an email
curl -X POST https://api.spamidate.com/validate \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "user@example.com"}'

A successful validation returns a JSON object with detailed information:

Success Response
{
"isValid": true,
"email": "user@example.com",
"score": 95,
"severity": "valid",
"checks": {
"syntax": {
"passed": true,
"message": "Valid email format"
},
"domain": {
"passed": true,
"message": "Domain exists and has MX records"
},
"disposable": {
"passed": true,
"message": "Not a disposable email"
},
"smtp": {
"passed": true,
"message": "Mailbox exists and can receive email"
}
},
"recommendations": ["Email is valid and safe to use"],
"metadata": {
"processingTime": 45,
"timestamp": "2025-01-15T10:30:00Z"
}
}
  • isValid (boolean): Overall validation result
  • score (number 0-100): Deliverability confidence score
  • severity (string): Risk level (valid, warning, or invalid)
  • checks (object): Individual validation check results
  • recommendations (array): Actionable advice based on validation