Validate a single email address with strict mode
const url = 'https://smtp-app.kirim.email/api/email/validate/strict';const options = { method: 'POST', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'},};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://smtp-app.kirim.email/api/email/validate/strict \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \Strict email validation including RFC compliance with no warnings, comprehensive DNS checks, and blocklist validation. Results are cached for performance.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Responses
Section titled “Responses”Strict email validation completed successfully
object
Email validation result with comprehensive checks
object
The validated email address
Whether the email passed all validation checks
Error message if validation failed
Array of validation warnings
Whether result was served from cache
ISO timestamp of validation
Whether email is identified as likely spamtrap
Spamtrap probability score (0.0-1.0)
Example
{ "success": true, "data": { "is_valid": true, "error": null, "warnings": [], "cached": false, "validated_at": "2024-01-01T12:00:00Z", "is_spamtrap": false, "spamtrap_score": 0.1 }}Invalid request parameters
object
object
Example
{ "success": false, "message": "The given data was invalid."}Unauthorized - Invalid or missing authentication
object
Example
{ "success": false, "message": "Unauthorized"}Rate limit exceeded
object
Seconds until rate limit resets
Example
{ "success": false, "message": "Rate limit exceeded. Please try again later.", "retry_after": 3600}Headers
Section titled “Headers”Seconds until rate limit resets
Maximum requests per hour
Remaining requests in current window
Internal server error
object
Example
{ "success": false, "message": "Internal server error occurred during email validation"}