EmailZeno provides a RESTful API for real-time and batch email verification.
Authentication
All requests require an API key via Authorization header:
Authorization: Bearer YOUR_API_KEY
Real-Time Verification
Verify a single email address — ideal for signup forms and checkout validation.
POST /api/verify/single Content-Type: application/json Authorization: Bearer YOUR_API_KEY
{ "email": "[email protected]" }
Response
{ "email": "[email protected]", "status": "deliverable", "score": 0.98, "details": { "syntax": true, "domain": true, "mx": true, "smtp": true, "disposable": false, "role_based": false }, "duration_ms": 245 }
Python Example
import requests url = "https://app.emailzeno.com/api/verify/single" response = requests.post(url, json={"email": "[email protected]"}, headers={"Authorization": "Bearer YOUR_KEY"}) data = response.json() print(f"Status: {data['status']}")
PHP Example
$ch = curl_init("https://app.emailzeno.com/api/verify/single"); curl_setopt_array($ch, [ CURLOPT_POST => true, CURLOPT_HTTPHEADER => ["Authorization: Bearer YOUR_KEY", "Content-Type: application/json"], CURLOPT_POSTFIELDS => json_encode(["email" => "[email protected]"]), CURLOPT_RETURNTRANSFER => true, ]); $response = curl_exec($ch); $data = json_decode($response, true);
cURL Example
curl -X POST https://app.emailzeno.com/api/verify/single
-H "Authorization: Bearer YOUR_KEY"
-H "Content-Type: application/json"
-d '{"email": "[email protected]"}'
Bulk Verification
POST /api/verify/bulk
{ "emails": ["[email protected]", "[email protected]"], "callback_url": "https://your-app.com/webhooks" }
Returns job_id immediately. Results delivered via webhook.
Best Practices
- Verify at signup
- Use callbacks for bulk
- Handle rate limits with exponential backoff
Conclusion
EmailZeno API-first design makes verification integration straightforward for any workflow.