Loading…
API Documentation
Integrate our robust email validation service into your applications with our simple, fast, and reliable REST API. Get started in minutes with comprehensive documentation.
Validate emails in under 100ms with our optimized infrastructure
Industry-leading accuracy with advanced validation algorithms
Support for international domains and email providers worldwide
Simple REST API with comprehensive documentation and SDKs
Get up and running with our API in just a few simple steps
Sign up for a free account and generate your API key from the dashboard.
Create AccountIntegrate into your application and scale to millions of validations.
API ReferenceSee how easy it is to integrate our API into your favorite programming language
Validate a single email address
curl -X POST "https://clearmiq.com/api/validate" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"email": "test@example.com"
}'Validate multiple emails at once
curl -X POST "https://clearmiq.com/api/validate/bulk" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"emails": [
"user1@example.com",
"user2@test.com",
"user3@domain.org"
]
}'Using fetch API in JavaScript
// Using fetch API
const validateEmail = async (email) => {
try {
const response = await fetch('https://clearmiq.com/api/validate', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY'
},
body: JSON.stringify({ email })
});
const result = await response.json();
console.log('Validation result:', result);
return result;
} catch (error) {
console.error('Validation error:', error);
}
};Using requests library in Python
import requests
import json
def validate_email(email, api_key):
url = "https://clearmiq.com/api/validate"
headers = {
"Content-Type": "application/json",
"Authorization": f"Bearer {api_key}"
}
data = {"email": email}
response = requests.post(url, headers=headers, json=data)
return response.json()Complete reference for all available API endpoints
Validate a single email address
{
"email": "test@example.com"
}{
"success": true,
"data": {
"email": "test@example.com",
"isValid": true,
"confidence": 0.95,
"provider": "example.com",
"type": "personal",
"disposable": false,
"role": false
}
}Validate multiple email addresses
{
"emails": [
"user1@example.com",
"user2@test.com",
"user3@domain.org"
]
}{
"success": true,
"data": {
"results": [
{
"email": "user1@example.com",
"isValid": true,
"confidence": 0.95
},
{
"email": "user2@test.com",
"isValid": false,
"confidence": 0.12
}
],
"summary": {
"total": 3,
"valid": 2,
"invalid": 1
}
}
}Secure your API requests with bearer token authentication
All API requests must include your API key in the Authorization header using Bearer token format.
Authorization: Bearer YOUR_API_KEYJoin thousands of developers who trust our platform for their email validation needs. Get your API key and start validating emails in minutes.